Home/Calculator Tools/Hours Calculator
🕐

Hours Calculator

FREE

Hours worked from clock-in, clock-out and breaks, including overnight shifts

Free · No sign-up required
Loading...

What the hours calculator does

Enter a start time, an end time and any unpaid break, and the calculator returns the hours worked — as hours and minutes and as decimal hours for a timesheet or invoice. It handles shifts that cross midnight, so a 22:00 to 06:00 night shift gives 8 hours, not −16. It is the quickest way to check a payslip, fill in a timesheet, or total a freelance day without arithmetic mistakes.

The calculation

Hours worked = (end − start) − break If end is earlier than start, add 24 hours (overnight shift). Start 08:30, end 17:15, break 45 min: 17:15 − 08:30 = 8 h 45 min − 45 min = 8 h 00 min = 8.00 hours Start 22:00, end 06:30, break 30 min: 06:30 + 24 h − 22:00 = 8 h 30 min − 30 min = 8 h 00 min

Decimal hours for payroll

Hours : minutesDecimalHours : minutesDecimal
7:157.258:208.33
7:307.508:408.67
7:457.759:109.17
8:068.109:509.83

Decimal hours are minutes ÷ 60, so 8:06 is 8.10 and 8:30 is 8.50. Many payroll systems round to the nearest quarter hour (0.25) or tenth (0.10); the calculator shows two decimals and lets you apply your employer's rounding rule.

Breaks and what counts as work

  • Unpaid meal breaks — typically 30–60 minutes — are deducted. Enter the total break minutes for the shift.
  • Paid rest breaks (short 10–15 minute breaks) are usually counted as work and should not be entered.
  • Rules vary. In the US, breaks under 20 minutes are generally paid under federal law; in the UK, workers get a 20-minute unpaid break after 6 hours; many EU countries mandate longer. Check your contract and local law.
  • Auto-deducted breaks on some payroll systems remove 30 minutes whether or not you took them — worth checking against your own record.

Weekly totals and overtime

Run the calculator once per shift and add the decimal results. Overtime rules are usually weekly: in the US, hours over 40 in a week are paid at 1.5× for non-exempt employees; some states (California, for example) also apply daily overtime after 8 hours. The UK has no statutory overtime rate but a 48-hour average weekly limit unless opted out. For the pay itself, multiply decimal hours by your hourly rate — or use the Salary Calculator to convert between hourly, monthly and annual figures.

Common uses

  • Filling in a weekly timesheet from clock-in and clock-out times.
  • Checking that a payslip matches the hours actually worked.
  • Freelancers and contractors totalling billable time for an invoice.
  • Managers checking rota hours against contracted hours.
  • Students and volunteers logging placement hours.

Frequently asked questions

How do I enter times — 12-hour or 24-hour?

Use 24-hour format (17:15 for 5:15 pm) to avoid am/pm confusion. The overnight logic assumes the end time is on the same or the following day.

My shift has two breaks. What do I enter?

Add them together: a 30-minute lunch and a 15-minute unpaid break is 45 minutes.

Why does my timesheet software give a different total?

Most likely rounding — many systems round each clock-in and clock-out to the nearest 5, 6 or 15 minutes — or an automatic break deduction. Compare the unrounded figures.

How do I calculate pay from the result?

Multiply the decimal hours by your hourly rate. 8.25 hours × $18 = $148.50. Apply overtime multipliers to any hours above the threshold.

Can it total a whole week?

Calculate each day and add the decimal hours. A five-day week of 7.75, 8.00, 8.25, 7.50 and 8.00 is 39.50 hours.

Is my data saved?

No. The times you enter stay in your browser and are cleared when you close the page.

More tools in this category

🎂
Age Calculator
Calculate exact age from a date of birth
📆
Date Calculator
Count the days, weeks and months between two dates
Time Calculator
Add or subtract hours, minutes and seconds; get decimal hours
🏠
Mortgage Calculator
Calculate monthly mortgage payments and amortization
🏦
Loan Calculator
Calculate monthly loan payments and total interest
🚗
Auto Loan Calculator
Calculate monthly car loan payments with down payment