Everyday · FREE ONLINE TOOL

Hours Calculator

Calculate hours between start and end times, subtract unpaid breaks and convert to decimal hours. Supports same-day shifts and shifts crossing midnight.

What would you like to calculate?

Your inputs

How it works

Time between clock times

Elapsed clock time = end−start−break; an earlier end time is treated as the following day.

This mode covers one shift of up to 24 hours and does not account for a timezone transition.

Calculations run in your browser. No account needed.

EXAMPLE RESULTCalculated locally
Elapsed time
08:00:00
Decimal hours
8
Clear inputs. Transparent methods.
My workspace

Calculate with your inputs to save a result or compare scenarios.

How it works

Illustration for Hours Calculator: a wristwatch; a calendar and clock.
Time between clock timesElapsed clock time = end−start−break; an earlier end time is treated as the following day.
A useful distinction

Decimal hours are not minutes

Seven hours and 45 minutes equals 7.75 decimal hours, not 7.45. Use the decimal result when multiplying by an hourly rate; interpreting minute digits as decimals would undercount this shift by 18 minutes.

Turn a quarter hour into payroll time

Decimal hours. A (7:15) → 7.25 h. B (7:45) → 7.75 h.
Turn a quarter hour into payroll time
Clock durationCalculationDecimal hours
A 7:157 + 15 ÷ 607.25 h
B 7:457 + 45 ÷ 607.75 h

Turn a shift into net hours

Enter the start and end clock times and the break to subtract in minutes. The calculation finds the clock-time difference and subtracts that break once. To include the whole interval, set the break to zero. An end earlier than the start is treated as the following day.

For a shift of 09:00–17:30 with a 30-minute excluded break, the gross interval is 8 hours 30 minutes and the result is 8 hours. Decide which breaks should be excluded under your own records; the calculator does not decide whether a break is paid.

Compare breaks and overnight shifts

The same clock interval can have different net hours when you change the excluded break. In the example below, the overnight interval is interpreted as ending the next morning.

Net hours under explicit break assumptions
StartEndExcluded breakNet timeDecimal hours
09:0017:3030 minutes08:00:008
09:0017:300 minutes08:30:008.5
22:1506:45 next day45 minutes07:45:007.75

Convert minutes to decimal hours before multiplying by a rate

A duration of 7 hours 45 minutes is 7 + 45/60 = 7.75 hours. Writing 7.45 as a decimal means 7 hours 27 minutes. Multiply the decimal-hour value, not the hour:minute text, when estimating a cost.

At an illustrative rate of 20 per hour, 7.75 hours produces 155 before any additional pay rules or deductions. For several shifts and an explicit overtime assumption, use the Time Card Calculator.

Use calendar dates for exactly 24 hours or longer

Matching clock times give zero in the clock-only mode, not one full day. For 09:00 on 1 June to 09:00 on 2 June 2026, select Between two dates and times. A multi-day interval cannot be reconstructed reliably from clock times alone.

The dated method does not have the clock-mode break field. Measure the whole dated interval there and account for any excluded periods separately; do not assume a break entered in another mode is carried across.

Separate civil hours from time-zone transitions

These modes treat each civil day as 24 hours. They do not automatically shorten a spring-forward night or lengthen a fall-back night. For elapsed time across such a transition, resolve both local timestamps to UTC with the Time Zone Calculator and compare those UTC dates and times.

Time between clock times: formula and assumptions

Elapsed clock time = end−start−break; an earlier end time is treated as the following day.

This mode covers one shift of up to 24 hours and does not account for a timezone transition.

Use Time between clock times

Between two dates and times: formula and assumptions

Elapsed duration = end date/time − start date/time.

This civil-time mode treats days as 24 hours; it does not apply daylight-saving transitions. Use time-zone conversion to compare zoned instants.

Use Between two dates and times

Worked example

Using the Time between clock times example:

Inputs
Start time
09:00
End time
17:30
Unpaid break (minutes)
30
Method

Elapsed clock time = end−start−break; an earlier end time is treated as the following day.

Result

Example result

Elapsed time: 08:00:00

Decimal hours: 8

These are illustrative inputs. Change the values to explore a different scenario.

Formula references

References explain the underlying methods; they do not imply endorsement or individual professional review of Finflo.

Common questions

How do I subtract lunch?

Enter the excluded lunch duration in Break to subtract, in minutes. Subtract it once and follow your own paid-break rules.

Can I calculate an overnight shift?

Yes. In clock mode an earlier end is the next day. Use dates when a shift lasts a full day or more.

Is 8 hours 30 minutes the same as 8.30 hours?

No. It equals 8.5 decimal hours. Decimal fractions of an hour must be multiplied by 60 to obtain minutes.

Why do equal start and end times give zero?

Without dates, the tool cannot distinguish the same instant from the next day. Use the dated mode for 24 hours.

Does this apply overtime or payroll rounding?

No. It measures the entered duration. Use Time Card for its explicit rounding and overtime options; those settings still do not establish a legal payroll policy.

Will it handle daylight saving automatically?

No. Convert zoned endpoints to UTC first when you need physical elapsed hours across an offset change.

See our methodology and editorial policy.