FREE TOOLS. ZERO LIMITS.
No Signup RequiredNo Watermarks
ToolzNova ยท Math calculators

Hours Calculator Online

Work out hours between two times for timesheets, shifts and freelance billing. Get total hours in decimal form, ready to multiply by an hourly rate.

Hours Calculator

Free hours calculator that runs in your browser. Nothing is uploaded.

Decimal hours

Breaks arenโ€™t subtracted automatically. Take unpaid break minutes off the total yourself.

How to calculate hours worked

1Enter clock-in

The date and time you started.

2Enter clock-out

The date and time you finished; use the next day for night shifts.

3Subtract breaks

Take unpaid break time off the total hours shown.

Shift hours and pay examples

Pay = decimal hours ร— hourly rate. Convert minutes to decimals by dividing by 60.

The rate below is only an example; use your own.

ShiftUnpaid breakPaid hoursAt 12.50 per hour
09:00 to 17:3030 min8.00100.00
07:15 to 15:4545 min7.7596.88
22:00 to 06:0030 min7.5093.75
12:00 to 20:2020 min8.00100.00

Timesheets made easy

This short guide explains what the hours calculator does, how to get the best result and when another tool is a better fit.

Decimal hours for pay

Payroll and invoices work in decimal hours, not hours and minutes. Seven hours 45 minutes is 7.75 hours, because 45 รท 60 = 0.75. The calculator shows total hours with two decimals, so you can multiply straight by an hourly rate. Common conversions are 15 minutes = 0.25, 30 = 0.5, 45 = 0.75 and 20 = 0.33.

Hours Calculator โ€“ Clock in to Hours
How the hours calculator works: Clock in in, Hours out.

Writing 7.45 for 7 hours 45 minutes is a frequent payroll mistake that underpays by 18 minutes.

Subtracting breaks

The tool measures time from clock-in to clock-out, so unpaid breaks need taking off afterwards. For a 09:00 to 17:30 shift with a 30-minute lunch, the total is 8.5 hours, minus 0.5 hours, giving 8 paid hours. Paid breaks, such as short rest breaks in some workplaces, stay in the total.

Check your contract or local rules for which breaks are paid.

A worked example

A freelancer works 07:15 to 15:45 with a 45-minute lunch and charges 12.50 an hour. The calculator shows 8.50 hours; minus 0.75 for the break gives 7.75 billable hours, worth 96.88. For a night shift from 22:00 to 06:00 with a 30-minute break, set the end date to the next day: 8 hours minus 0.5 gives 7.5 paid hours.

Adding each dayโ€™s decimal hours gives the weekly total for the timesheet.

Weekly totals and overtime

Add each shiftโ€™s paid hours for the week, then compare with your contracted hours to see any overtime. A 37.5-hour contract with 41 hours worked means 3.5 hours of overtime, which may be paid at a higher rate depending on your employer and country.

Keep a simple log of clock-in, clock-out and break times; it makes disputes easy to resolve.

Related tools

For durations longer than a shift, such as projects or trips, use the Time Duration Calculator. To turn an hourly rate into an annual salary, use the Hourly to Salary Calculator.

  • Divide minutes by 60 for decimal hours
  • Subtract unpaid breaks
  • Use the next day for night shifts

Further reading: Background on timesheets. It explains the format behind this hours calculator in more detail.

Where it helps

Timesheets

Daily paid hours.

Freelancing

Billable hours for invoices.

Shift work

Night shifts across midnight.

Overtime

Hours beyond contract.

Quick fixes

Night shift shows an error

Set the clock-out date to the next day.

Breaks included

Subtract unpaid breaks from the total yourself.

Pay looks short

Use decimal hours, e.g. 7.75, not 7.45 for 7 h 45 min.

One hour off

A clock change happened during the shift; the result is real elapsed time.

Frequently asked questions

How do I calculate hours worked?

Clock-out minus clock-in, minus unpaid breaks.

What is 7 h 45 min in decimal?

7.75 hours.

Does it subtract breaks?

No, take unpaid breaks off the total.

How do I handle night shifts?

Set the end date to the next day.

How do I work out pay?

Decimal hours ร— hourly rate.

Is my data uploaded?

No. The hours calculator works entirely in your browser, so your file stays on your device.

What is 20 minutes in decimal?

About 0.33 hours.

Can I total a week?

Add each dayโ€™s paid hours.

What about overtime?

Compare weekly hours with your contract.

How do I get an annual salary?

Use the Hourly to Salary Calculator.