About this calculator
The Hours Calculator converts start and end times into total elapsed hours and minutes. It is useful for timesheets, invoices, rota checks, study logs, shift records, and any situation where a time range needs to become a decimal hour or hour-minute total. Use it when you want to check a single work period, combine multiple periods, or avoid manual mistakes around AM/PM times, breaks, and overnight shifts.
Hours calculation method
The calculator converts each time into minutes from midnight, adjusts overnight end times where needed, subtracts unpaid break minutes, then converts the remaining minutes back into hours.
- elapsed minutes = end time - start time
- paid minutes = elapsed minutes - break minutes
- decimal hours = paid minutes / 60
How to use the hours calculator
- Enter the start time for the work period or activity.
- Enter the end time, using the correct AM or PM setting where shown.
- Enter unpaid break time if any break should be removed from the total.
- Review the result in hours and minutes and as decimal hours.
- Use decimal hours for payroll, invoicing, or spreadsheet records.
Worked examples
Standard work shift
Input: Start 9:00 AM, end 5:30 PM, break 30 minutes
Calculation: 8 hours 30 minutes elapsed - 30 minutes break
Result: 8 hours, or 8.00 decimal hours
Short task
Input: Start 1:15 PM, end 3:45 PM, no break
Calculation: 150 minutes / 60
Result: 2 hours 30 minutes, or 2.50 decimal hours
Overnight shift
Input: Start 10:00 PM, end 6:00 AM, break 45 minutes
Calculation: 8 hours elapsed - 45 minutes break
Result: 7 hours 15 minutes, or 7.25 decimal hours
What the hours calculator is for
An hours calculator turns clock times into elapsed time. That sounds simple, but manual time arithmetic is easy to get wrong when shifts cross midnight, unpaid breaks are involved, or totals need to be converted into decimal hours for payroll or invoices.
The calculator is useful for employees checking timesheets, freelancers billing clients, managers reviewing rota hours, students tracking study blocks, and anyone who needs a clean total from start and end times.
Hours, minutes, and decimal hours
Many payroll systems use decimal hours rather than hours and minutes. For example, 7 hours 30 minutes is 7.5 hours, not 7.30 hours. This distinction matters because entering 7.30 as a decimal undercounts the actual time worked.
- Clock format
- Clock format expresses time as hours and minutes, such as 8 hours 45 minutes.
- Decimal format
- Decimal format expresses minutes as a fraction of an hour. Fifteen minutes is 0.25 hours, thirty minutes is 0.5 hours, and forty-five minutes is 0.75 hours.
- Break deductions
- If a shift includes unpaid breaks, subtract the break time from the elapsed time before using the result for pay or billing.
Common uses for calculated hours
Calculated hours are used for pay, overtime, client invoices, project costing, productivity tracking, and compliance records. When money or employment records depend on the result, keep the original start time, finish time, and break record alongside the calculated total.
Time card and payroll components
A reliable time record normally has more than one number. It should show the start time, finish time, unpaid break, paid break if relevant, total elapsed time, and final payable hours. This makes it easier to audit the result later if a payslip, invoice, or client record is questioned.
- Start and finish time
- These are the raw clock times. Keep them in the same format throughout the calculation, especially when converting between 12-hour and 24-hour time.
- Elapsed time
- Elapsed time is the full time between start and finish before breaks are removed. For overnight shifts, the finish time is treated as occurring on the following day.
- Unpaid break
- Unpaid breaks should be deducted from elapsed time. Paid breaks are normally left in the total, but workplace policies vary.
- Payable hours
- Payable hours are the final hours used for pay, invoices, or records. This is usually the figure that should be converted to decimal hours.
Rounding hours for payroll
Some employers round time entries to the nearest 5, 6, 10, or 15 minutes. Others pay exact minutes. Rounding can change pay over a week or month, so it is better to calculate exact time first and apply any official rounding rule at the end.
If you are adding several shifts, avoid rounding each shift too early. Add the exact minutes first, then round the final total only if your payroll or invoice rules require it.
Overnight shifts and split shifts
Overnight shifts are a common source of mistakes because the end time is earlier on the clock than the start time. A shift from 10:00 PM to 6:00 AM is not negative time; it is eight elapsed hours before breaks. Split shifts should normally be entered as separate time blocks and added together.
Common mistakes and edge cases
- Forgetting to subtract unpaid breaks.
- Entering 12 AM or 12 PM incorrectly.
- Treating overnight shifts as negative time instead of carrying into the next day.
- Rounding decimal hours too early before payroll totals are added.
- Mixing paid break and unpaid break policies.
Limitations
This calculator provides an arithmetic time total only. It does not decide employment rights, overtime entitlement, holiday pay, or payroll compliance.
- Check your employer policy for paid and unpaid breaks.
- Use official payroll records for formal pay disputes.
- Employment rights questions may need ACAS or legal guidance.
Frequently asked questions
What are decimal hours?
Decimal hours express minutes as a fraction of an hour. For example, 30 minutes is 0.50 hours and 15 minutes is 0.25 hours.
Can this calculate overnight shifts?
Yes, if the end time is earlier than the start time, the calculator can treat the end time as occurring on the next day.
Should breaks be included?
Only include breaks that should be paid. Unpaid breaks should normally be subtracted from the total.
Why does payroll use decimal hours?
Decimal hours make multiplication by an hourly rate easier, especially when totals are exported to payroll software or spreadsheets.
Does this calculate overtime pay?
No. It calculates time worked. Use an overtime calculator or payroll policy to work out overtime pay.
Related calculators
- Weekly Hours Calculator
- Hours and Minutes Calculator
- Overtime Pay Calculator
- Time Units Converter