UtilitiesTools

Hours Calculator

Add up the time you actually worked from your clock-in and clock-out times. Enter one or more shifts, deduct unpaid breaks, and instantly get your total in hours and minutes, the same total in decimal hours, and optional pay with overtime. No sign-up — your numbers never leave your browser.

Time format
  • 0:00 Total worked (h:mm)
  • 0.00 Decimal hours
Add pay & overtime (optional)
hours

🔒 Calculated in your browser; nothing is uploaded.

What is the Hours Calculator?

The Hours Calculator is a free online time card that lets you add up the time you actually worked from your clock-in and clock-out times. Instead of counting on your fingers or wrestling with a spreadsheet, you type each shift's start and end time, subtract any unpaid break, and instantly see your total in hours and minutes, the same total in decimal hours, and — if you enter an hourly rate — your gross pay. It is built for hourly workers, freelancers, and shift staff who just need an accurate number for a timesheet, fast.

How to use it

  1. Enter your clock-in and clock-out time for the first shift. You can type 12-hour times like 9:00 AM or 24-hour times like 17:30 — both work.
  2. If you took an unpaid lunch or break, type how many minutes it lasted; that time is removed from the total.
  3. Worked a split day or several shifts? Tap Add shift to insert another row and repeat. Each row is calculated separately and then summed.
  4. Read your total worked time at the top — shown as both h:mm and decimal hours.
  5. (Optional) Enter your hourly rate to see gross pay, and switch on overtime to pay anything above a daily threshold at 1.5x.

There is no Calculate button to wait on. Everything updates the instant you change a value, so you get your answer and close the tab.

The method behind it

For each shift the calculator converts the clock-in and clock-out times into minutes past midnight, then subtracts the start from the end. If the end value is smaller than the start — for example a shift that begins at 22:00 and ends at 06:00 — it adds a full 24 hours (1,440 minutes) to the end so the overnight span comes out positive rather than negative. From that gross figure it subtracts your break minutes to get the net worked minutes for that shift.

All shift totals are added together. The combined minutes are then formatted two ways: as hours and minutes, and as decimal hours (total minutes divided by 60), which is what payroll multiplies by your rate. When a rate is entered, regular hours up to the overtime threshold are paid at the base rate and any hours beyond it at 1.5 times the base, then added together for total pay.

Worked examples

Common use cases

Why use this one

Many hours calculators only accept a single start and end time and quietly break on overnight shifts or hide pay features behind a sign-up. This one lets you add as many shift rows as your day needs, deduct breaks per shift, span midnight automatically, and optionally calculate pay with overtime — all on one page. It is instant, mobile-friendly for single-handed use, and completely private: every calculation runs in your browser, so your hours and pay are never uploaded or stored.

Frequently asked questions

How does the hours calculator handle an overnight shift?

If your clock-out time is earlier than your clock-in time, the tool assumes the shift ran past midnight and adds 24 hours to the end time. A shift from 10:00 PM to 6:00 AM is correctly counted as 8 hours, not a negative number.

How are unpaid breaks deducted?

Each shift row has a break field in minutes. The tool first works out the gross time between clock-in and clock-out, then subtracts the break minutes you enter, so the total reflects only paid working time.

What is the difference between HH:MM and decimal hours?

HH:MM is how a clock reads the time, for example 8:30. Decimal hours express the same span as a single number, 8.5, which is what most payroll systems multiply by an hourly rate. The calculator shows both so you can copy whichever your timesheet needs.

How is overtime pay calculated?

When you turn on overtime, any hours above the daily threshold you set are paid at 1.5 times your hourly rate. Hours up to the threshold are paid at the normal rate, and the two are added together for total pay.

Are my hours and pay sent anywhere?

No. Every calculation runs entirely in your browser using plain JavaScript. Nothing you type is uploaded, stored on a server, or shared, so your timesheet stays private.