PublicSoftTools

Hours Calculator — Calculate Work Hours Instantly

Enter your start time, end time, and break duration to calculate total hours worked and decimal hours for payroll. Add up to 4 shifts for a full day total. No signup, runs entirely in your browser.

⏱ 7 min read · Complete guide below

Enter start and end times above to calculate

How the Work Hours Calculator Works

  1. 1Use a quick-fill preset (8am–5pm, 9am–5pm, etc.) or pick your own start and end times using the time inputs.
  2. 2Enter your break duration in minutes — this is subtracted from the gross shift time to give net hours worked.
  3. 3Click + Add another shift for split shifts or multi-period days. Each shift shows its individual duration alongside the running total.
  4. 4Read the total hours in hh:mm format and as decimal hours for direct use in payroll or invoice calculations.

Hours to Decimal Conversion

Payroll software and invoicing platforms almost always use decimal hours. Minutes convert to decimals by dividing by 60: 15 min = 0.25, 30 min = 0.50, 45 min = 0.75. So 8h 45m = 8.75 decimal hours. Multiply by your hourly rate to get earnings directly. The calculator shows both formats simultaneously so you never need to convert manually.

Tips for Accurate Timesheet Tracking

Log times immediately

The most common timesheet error is reconstructing hours from memory at the end of the week. Note start, end, and break times at the time they happen — even a note on your phone is enough.

Separate paid and unpaid breaks

Only subtract unpaid breaks from your total. Short paid breaks (like a 10-minute coffee break) should not be entered in the break field — only unpaid lunch periods or similar.

Use decimal hours for invoices

When billing a client, use the decimal hours figure directly. 6h 20m on an invoice is awkward; 6.33 hours × your rate gives an exact total that payroll or accounting software can process.

Track split shifts separately

If you work two periods in a day (e.g. 8am–12pm and 2pm–6pm), use the "+ Add another shift" button to record each period separately. The tool sums them correctly rather than counting the gap as worked time.

Round to the nearest quarter-hour if required

Some employers round time to the nearest 15 minutes. 7h 22m rounds to 7h 30m (7.50 decimal hours). Check your employment contract — rounding rules vary by jurisdiction and employer policy.

Weekly totals in 5 clicks

For a standard 5-day week, add 5 identical shifts using the same start/end/break times. The calculator sums them in real time — no spreadsheet needed for a quick weekly total.

Why Time Math Is Trickier Than It Looks

Calculating hours worked seems like simple subtraction, but time trips people up because it runs on base 60, not the base 10 we use for ordinary numbers. You cannot just subtract “5:15 minus 1:45” the way you would subtract 515 minus 145, because there are 60 minutes in an hour, not 100. Getting from 9:45 to 5:15 requires borrowing an hour as 60 minutes, which is exactly the kind of mental arithmetic that produces errors on a hand-written timesheet.

Two more wrinkles catch people out. Overnight shifts, where the end time is earlier than the start (say 10 PM to 6 AM), break naive subtraction entirely — you have to recognise the shift crossed midnight and add 24 hours. And on the two days a year that clocks change for daylight saving, a shift is actually an hour longer or shorter than the clock suggests. A calculator handles all of this correctly — borrowing minutes properly, detecting the midnight crossover — which is precisely why using one is more reliable than doing time math in your head at the end of a long week.

Decimal Hours and Payroll Rounding

Payroll and invoicing systems almost universally use decimal hours rather than hours and minutes, for a simple reason: you cannot multiply “7 hours 45 minutes” by an hourly rate directly, but you can multiply 7.75. The conversion is dividing minutes by 60 — 15 minutes is 0.25, 30 is 0.50, 45 is 0.75 — and a common mistake is to write the minutes straight after the decimal point (7.45 instead of 7.75), which quietly underpays or overpays. Showing both formats side by side, as this tool does, removes that error entirely.

Many employers also apply rounding rules to clock times, and it pays to know yours. A widespread convention (the “7-minute rule” in US federal guidance) rounds clock-in and clock-out times to the nearest quarter-hour: 7 minutes or less rounds down, 8 or more rounds up. Rounding is legal in many places only if it is neutral over time — it must not systematically favour the employer — so if your workplace rounds, understand exactly how, and check that it evens out rather than consistently shaving minutes off your pay.

Tracking Hours: For Employees, Freelancers, and Employers

Accurate hour tracking matters differently to different people, but it matters to everyone involved. For employees, it is about being paid correctly for every hour worked, including overtime — in many jurisdictions, hours beyond a weekly threshold (often 40) must be paid at a premium rate, and knowing your true total is how you verify your paycheque is right. For freelancers and contractors, hours are income: billable time tracked accurately, converted to decimal, and multiplied by a rate is the invoice, and under- or over-counting either loses you money or damages client trust.

For employers, accurate records are a legal obligation as much as a payroll convenience — labour laws in most countries require keeping reliable time records, and disputes over unpaid wages frequently hinge on whose records are trusted. Across all three, the single most valuable habit is to log times as they happen rather than reconstructing them from memory days later, when the details are fuzzy and errors creep in. A quick note of each start, end, and break — then run through a calculator that handles the base-60 arithmetic, overnight shifts, and decimal conversion — turns a fiddly, error-prone chore into an exact figure you can rely on for payroll, invoices, or your own records.

Common Timesheet Mistakes

A handful of errors account for most timesheet disputes, and all are avoidable. The biggest is reconstructing hours from memory at the end of a week — details blur, and estimates drift, almost always in a direction that costs someone. The fix is to record each shift as it happens, even just as a note on your phone. A close second is mishandling breaks: subtracting a paid break that should count as worked time, or forgetting to deduct an unpaid lunch, both throw the total off, so be clear which breaks are paid.

The subtler mistakes are arithmetic. Writing minutes as decimals directly (7.30 for 7 hours 30 minutes instead of 7.50) is a frequent and costly slip, since 30 minutes is half an hour, not 0.30 of one. Overnight shifts get miscounted when the clock “goes backwards,” and shifts spanning a daylight saving change are an hour off if you trust the clock face alone. Because these are exactly the cases where mental math fails, running your times through a calculator — then keeping the record — is the simplest safeguard against being underpaid or accidentally over-billing.

Frequently Asked Questions

How do I calculate hours worked between two times?

Subtract the start time from the end time, then subtract any unpaid break. For example, 9:00 AM to 5:30 PM with a 30-minute break = 8.5 hours − 0.5 hours = 8 hours worked. The calculator does this automatically — just pick your times and enter the break duration.

What are decimal hours and why do they matter?

Decimal hours express time as a fraction of an hour. 7h 30m = 7.50 decimal hours; 7h 45m = 7.75 decimal hours. Payroll systems and invoices typically use decimal hours because they can be multiplied directly by an hourly rate. For example, 7.75 hours × $25/hr = $193.75.

Can the calculator handle overnight shifts?

Yes. If the end time is earlier than the start time, the calculator automatically assumes the shift crossed midnight. For example, 10:00 PM to 6:00 AM is calculated as 8 hours.

How do I calculate hours across multiple shifts in a day?

Click "+ Add another shift" to add a second or third row. Enter each shift's start, end, and break separately. The total at the bottom sums all shifts combined.

How is the weekly total calculated?

Add the same shift multiple times — one row per day — and the total updates automatically. For a standard 5-day week of 9am–5pm with a 30-minute break, you would add 5 identical rows to get 37.5 hours.

Does this calculator store my work times or send data anywhere?

No. All calculations run entirely in your browser using JavaScript. Your times are never sent to any server and are cleared when you close or refresh the page.

What does the break field do?

The break field subtracts unpaid break time from the gross shift duration. If you worked 9am–5pm and took a 45-minute unpaid lunch, enter 45 in the break field. The result will show 7h 15m instead of 8h.