Calculator Tools

Hours Calculator

Use this free Hours Calculator to find the duration between two clock times, such as a work shift from 9:00 AM to 5:30 PM. It handles overnight spans that cross midnight, deducts break time, and shows the result in hours and minutes or as decimal hours for payroll. No sign-up required.

Across Midnight Break Deduction 100% Free

Start Time

End Time

Why You Are Here

You are working out a shift. You have a start and end time and want the hours worked, perhaps to fill a timesheet or check your pay.

Your shift crosses midnight. You started in the evening and finished after midnight, and simple subtraction gives a negative or wrong answer.

You need to subtract a break. You want the paid hours after taking off an unpaid lunch or breaks from the total span.

What This Tool Does

The Hours Calculator finds the elapsed time between two clock times and shows it in hours and minutes and as decimal hours. It handles shifts that run past midnight and lets you deduct break time, so you get the actual hours between a start and an end.

Everything runs in your browser. Nothing you enter is uploaded or stored.

Crossing Midnight

The one case that breaks naive time subtraction is an overnight shift, and it is worth understanding why.

When the end is earlier than the start

A shift from 10:00 PM to 6:00 AM looks like it goes backwards, and subtracting gives a negative sixteen hours. The fix is to recognise the end is on the next day and add twenty-four hours, giving the correct eight hours.

The calculator assumes the next day

When you enter an end time earlier than the start, this tool treats it as the following day, so an overnight span comes out right. If you ever need a same-day span longer than that, enter the times with their dates.

Hours and Minutes Versus Decimal Hours

This is the honest core of the page, and the confusion that costs people money on timesheets. Eight hours thirty minutes is not eight point three zero.

Minutes are out of sixty, not a hundred

Eight hours and thirty minutes is 8.5 decimal hours, because thirty minutes is half an hour. Writing it as 8.30 and treating that as decimal hours undercounts your time. The decimal part is minutes divided by sixty.

Payroll usually wants decimal hours

Timesheets and payroll systems often expect decimal hours, because pay is hours times a rate. So 8:30 is entered as 8.5, and 8:15 as 8.25. The calculator shows both forms so you copy the right one.

Common conversions

Fifteen minutes is 0.25, twenty minutes is about 0.33, forty-five minutes is 0.75. When in doubt, divide the minutes by sixty, and never read the minute figure straight after a decimal point.

Deducting Breaks

Subtract unpaid time from the span

If your shift is 9:00 to 17:30, that is 8.5 hours, but a 30-minute unpaid lunch makes the paid time 8.0 hours. Enter the break so the result reflects paid hours, not just the clock span.

Know which breaks are paid

Whether a break is deducted depends on your workplace and local rules; some short breaks are paid and some are not. Deduct only the unpaid ones, and check your own policy for which is which.

Common Mistakes to Avoid

Reading 8:30 as 8.30 Decimal Hours

Eight hours thirty minutes is 8.5 decimal hours, not 8.30, because minutes are out of sixty. Entering 8.30 into a payroll system undercounts the time. Use the decimal-hours figure the calculator shows, or divide the minutes by sixty yourself.
Subtracting Times Directly Across Midnight

A shift that ends earlier than it starts runs past midnight, and plain subtraction gives a negative or wrong result. The end time is on the next day, so twenty-four hours must be added. Let the calculator handle the overnight span rather than subtracting by hand.
Forgetting to Deduct the Unpaid Break

The clock span from start to end includes any lunch or breaks, so paid hours can be less than the total. Deduct the unpaid break time to get the hours you are actually paid for, and check which breaks your workplace treats as unpaid.

Quick Reference

Item

Detail

Finds

Duration between two clock times

Across midnight

End earlier than start adds 24h

Output

Hours and minutes, and decimal hours

8h 30m

8.5 decimal hours

15 minutes

0.25 hours

45 minutes

0.75 hours

Breaks

Deduct unpaid time

Decimal rule

Minutes divided by 60

For durations

Use the Time Calculator

Runs

100% in the browser, nothing stored

Frequently Asked Questions

What is an hours calculator?

An hours calculator is a free online tool that finds the duration between two clock times, such as a work shift from 9:00 AM to 5:30 PM. This hours calculator handles overnight shifts that cross midnight, lets you deduct breaks, and shows the result in hours and minutes and as decimal hours for payroll.

How do I calculate hours worked across midnight?

When a shift ends earlier than it starts, it has crossed midnight, so the end time is on the next day. Add twenty-four hours to the end before subtracting, which turns 10:00 PM to 6:00 AM into a correct eight hours. The calculator does this automatically when the end is earlier than the start.

Why is 8 hours 30 minutes 8.5 and not 8.30?

Because minutes are out of sixty, not a hundred. Thirty minutes is half an hour, so eight hours thirty minutes is 8.5 decimal hours. Writing it as 8.30 treats the minutes as hundredths and undercounts the time, which matters when payroll multiplies hours by a rate.

How do I convert minutes to decimal hours?

Divide the minutes by sixty. So fifteen minutes is 0.25, thirty is 0.5, forty-five is 0.75, and twenty is about 0.33. The calculator shows the decimal-hours figure alongside hours and minutes, so you can copy the form your timesheet needs.

Can I subtract a lunch break?

Yes. Enter the break time and it is deducted from the total span, so a 9:00 to 17:30 shift with a 30-minute unpaid lunch comes out as 8.0 paid hours rather than 8.5. Deduct only unpaid breaks, since whether a break is paid depends on your workplace.

What is the difference between this and the Time Calculator?

This Hours Calculator finds the span between two clock times, like 9:00 to 17:30. The Time Calculator adds and subtracts durations, like 8h30m plus 1h15m. Use this page for time-of-day spans and the Time Calculator for arithmetic on durations.

Is my data private when I use this tool?

Yes. The calculation runs entirely in your browser, so the times you enter are not uploaded to a server or stored, and there is no account. Your figures stay on your device.

When should I use this hours calculator?

Reach for this hours calculator when you need the hours between a start and end time, such as filling a timesheet, checking your pay, or totalling a shift that runs past midnight. Deduct unpaid breaks, and copy the decimal-hours figure when your payroll system expects it.

Comments

Login to leave a comment

No comments yet. Be the first to comment!