Hours Calculator

This hours calculator finds the time between a start and an end time. Choose whether the end falls the same day, the next day or later, take off a break, and repeat the interval if you need a total. You get hours and minutes, decimal hours, minutes and seconds.

Calculation and content reviewed by EZ Calculators Editorial Team on .

Enter values

Define one local clock interval, make the end-day boundary explicit, subtract only the stated break, and compare exact minutes with HH:MM and rounded decimal hours before repeating the result.

Build the scenario below, then calculate for a complete result report.

Runs in your browser
Arithmetic baseExact whole minutes
Day boundaryExplicit and reviewable
Clock contextLocal time, no time zone

Define one clock interval

Equal or earlier end times need a deliberate same-day, next-day, or custom interpretation.

Enter the local clock time when the interval begins.
Enter the local clock time when the interval ends.
Choose an explicit rule when equal clock times or a multi-day interval would otherwise be ambiguous.

State the deduction

Enter complete break hours separately from the remaining 0-59 minutes.

Enter only time that should be deducted from each occurrence.
hours
Use 0 through 59; place complete hours in the Break hours field.
minutes

Build the total

Repeat only when every occurrence uses the same interval and break assumption.

Repeats the same net interval without assuming dates, workweeks, or payroll rules.
occurrences
Controls displayed decimal-hour rounding; minute arithmetic remains exact.
Clock arithmetic boundary

Each selected day equals 1,440 minutes. Use complete date-and-zone-aware timestamps when daylight-saving changes or travel affect actual elapsed time.

How do you calculate hours between two times?

Subtract the start time from the end time. If the end is earlier on the clock, the period crosses midnight, so add 24 hours first. 9:00 AM to 5:30 PM is 8 hours 30 minutes. 10:00 PM to 6:00 AM is 8 hours. To get decimal hours, divide the minutes by 60: 30 minutes is 0.5, so 8 hours 30 minutes is 8.5 hours.

How to use the hours calculator

Enter a start time and an end time. The end-day rule tells the calculator which day the end time belongs to, which is the part people usually get wrong in their heads. Auto works for most cases: a later end time is the same day, and an earlier or equal one is the next day.

Break hours and minutes are subtracted from each interval. The repeat count multiplies the result, which is handy when the same session happens several times. Pick 2, 3 or 4 decimal places for the decimal-hour figure.

  1. Enter the start time and the end time.
  2. Pick an end-day rule: Auto, same day, next day, or a custom number of days later.
  3. Enter any break as hours plus the remaining minutes (0 to 59).
  4. Set the repeat count if the same interval happens more than once.
  5. Read the result in hours and minutes, decimal hours, total minutes and seconds.

Hours and minutes calculator examples

A same-day span from 9:00 AM to 5:30 PM is 510 minutes. Take off a 30-minute break and you have 480 minutes, which is 8 hours. Repeat it five times and the total is 40 hours.

An overnight span from 10:00 PM to 6:00 AM is 480 minutes. With a 45-minute break, that leaves 435 minutes, or 7 hours 15 minutes, which is 7.25 decimal hours.

Worked examples, one occurrence
Times and ruleClock spanBreakResult
9:00 AM to 5:30 PM, same day8 h 30 min30 min8 h (8.00)
10:00 PM to 6:00 AM, Auto8 h45 min7 h 15 min (7.25)
9:00 AM to 9:00 AM, same day0 h0 min0 h (0.00)
9:00 AM to 9:00 AM, Auto24 h0 min24 h (24.00)

Picking the right end-day rule

The same two clock times can mean very different durations. Auto treats an end time that's earlier than or equal to the start as the next day. Same day treats equal times as zero. Next day always moves the end to tomorrow, so 9:00 AM to 5:30 PM becomes 32 hours 30 minutes. Custom adds as many whole days as you enter.

The same clock times under each rule
Rule9:00 to 17:3022:00 to 06:0009:00 to 09:00
Auto8 h 30 min8 h24 h
Same day8 h 30 minNot valid (negative)0 h
Next day32 h 30 min8 h24 h
Custom: 2 days56 h 30 min32 h48 h

Hours calculator formula

Working in minutes avoids the base-60 borrowing that trips people up. Each time becomes minutes after midnight, whole days are added as 1,440 minutes each, and the break comes off before any repeat.

Formula guide
  • Clock minutes = hours x 60 + minutes
  • Span = end minutes + days later x 1,440 - start minutes
  • Net minutes = span - break minutes
  • Total minutes = net minutes x repeat count
  • Decimal hours = minutes / 60

Minutes to hours and decimal hours

To turn minutes into hours, divide by 60. 135 minutes is 2.25 hours, or 2 hours 15 minutes. Clock time and decimal time look alike but aren't the same: 7:30 on a clock means 7 hours 30 minutes, which is 7.50 decimal hours. 7 hours 45 minutes is 7.75, not 7.45.

The calculator shows all three forms side by side, and the minute total stays exact no matter how many decimal places you choose.

Minutes, hours and minutes, and decimal hours
MinutesHours and minutesDecimal hours
450 h 45 min0.75
901 h 30 min1.50
1352 h 15 min2.25
2003 h 20 min3.33
4357 h 15 min7.25
4657 h 45 min7.75

Adding hours for repeated sessions

To add up the same duration several times, use the repeat count. Four sessions of 7 hours 45 minutes come to 31 hours. The break is subtracted from each session before they're added together.

The repeat count only multiplies one identical interval. Different durations, such as 2 hours 45 minutes plus 3 hours 30 minutes, need a separate run each. Add the minute totals afterwards, or use the method in our guide to adding hours and minutes. For a full week of different shifts, the work hours calculator takes a separate row for each day.

When to double-check the result

The calculator counts every day as exactly 24 hours and doesn't know dates or time zones. On the night clocks change for daylight saving time, a shift can really be an hour shorter or longer than the clock times suggest. The same goes for flights across time zones.

If the hours affect pay, the arithmetic is only part of the answer. Whether a break is paid, how time is rounded and what counts as overtime all depend on your employer's policy and the rules where you work.

Sources

FAQ

How many hours is 8 AM to 5 PM?

It's 9 hours. If you take a one-hour unpaid lunch, that leaves 8 hours, and with a 30-minute lunch it's 8 hours 30 minutes.

How many hours is 10:30 PM to 6:15 AM?

It's 7 hours 45 minutes, or 7.75 decimal hours. The shift crosses midnight, so the calculator's Auto rule counts the end time as the next morning.

How do I convert 90 minutes to hours?

Divide by 60. 90 minutes is 1.5 hours, which is 1 hour 30 minutes. Likewise, 200 minutes is 3 hours 20 minutes, or about 3.33 hours.

What if my start and end times are the same?

Pick the rule that matches what happened. Same day gives zero, while Auto and Next day give 24 hours. Custom adds the number of whole days you enter.

How do I enter a break of 1 hour 15 minutes?

Put 1 in Break hours and 15 in Break minutes. Don't type 1.15 hours, because that's 1 hour 9 minutes in decimal terms.

Can I work out time across several days?

Yes. Choose Custom and enter how many days after the start the end time falls. 9:00 AM to 5:30 PM two days later is 56 hours 30 minutes.

Does the hours calculator handle daylight saving time?

No. It treats every day as 1,440 minutes. If a span crosses a clock change or a time zone, use full dates and times with the UTC offset.