MADE FOR EVERYDAY MATH · FREE TO USE
← Back to calculators
Everyday Calc Lab / Free Tool

Time Duration Calculator – Calculate Hours & Minutes

Time Duration Calculator – Calculate Hours & Minutes


Trying to figure out how many hours passed between two times? Whether you're tracking a shift, a study session, or time spent on a project, this free time duration calculator makes it easy. Enter the start and end times, subtract any break, and get the answer in hours, minutes, and decimal hours.

Free everyday math calculator

Time Duration Calculator

Use familiar AM/PM times. Choose the next day for overnight hours, and subtract breaks if needed.

Start time

Example: 9:00 AM

End time

For a shift ending the following morning, choose Next day.

Enter 0 if you did not take a break. The break is subtracted from the time between start and end.

This calculator runs in your browser. Your times are not sent to Everyday Calc Lab.

How to use the time duration calculator

  1. Enter the start time. Choose the hour, minute, and AM or PM.
  2. Enter the end time. Use the same 12-hour format.
  3. Choose Same day or Next day. Select Next day if the end time occurs tomorrow, such as a shift from 10:00 PM to 6:00 AM.
  4. Subtract breaks. Enter the total number of break minutes, or 0 if you took no break.
  5. Click Calculate duration. See hours and minutes, total minutes, and decimal hours.

Want to see how an overnight shift works? Select Try overnight example to load a sample shift that crosses midnight. Use Reset example to return to the 9:00 AM to 5:30 PM sample.

How do you calculate hours between two times?

First, find the time between the start and end. Then subtract any break time. If the end occurs the next day, count the hours across midnight. This calculator uses minutes for the math, so it does not lose time when the hours and minutes differ.

Time after breaks = Time between start and end - Break minutes

To convert the result to decimal hours, divide the total minutes by 60. For example, 7 hours and 30 minutes equals 7.50 decimal hours, not 7.30 hours.

Example: From 9:00 AM to 5:30 PM

Imagine starting at 9:00 AM and finishing at 5:30 PM, with a 30-minute lunch break. The total elapsed time is 8 hours and 30 minutes. After subtracting the break, the result is 8 hours, 0 minutes, or 8.00 decimal hours.

Step Time
Start9:00 AM
End5:30 PM, same day
Elapsed time8 hr 30 min
Break30 min
Time after break8 hr 0 min (8.00 hours)

Example: An overnight shift

Suppose you start at 10:00 PM and finish at 6:00 AM the next day. Choose Next day for the end time. That's 8 hours before breaks. With a 30-minute break, the result is 7 hours and 30 minutes, or 7.50 decimal hours.

Hours and minutes vs. decimal hours

Hours-and-minutes notation and decimal hours are not the same thing. When you see 8:45 on a clock, the 45 means 45 minutes. To express that duration in decimal hours, divide 45 by 60.

Hours and minutes Decimal hours
1 hr 15 min1.25
2 hr 30 min2.50
7 hr 20 min7.33 (rounded)
8 hr 45 min8.75

Decimal hours can be helpful when recording project time or reviewing work hours. For payroll, always follow the timekeeping and rounding rules that apply to your workplace.

Frequently asked questions

How many hours is 9:00 AM to 5:30 PM?

That's 8 hours and 30 minutes without a break. Subtract a 30-minute break and you get 8 hours.

Can this calculator handle an overnight shift?

Yes. Set the end day to Next day. For example, 11:45 PM to 12:15 AM the next day is 30 minutes before breaks.

Does it subtract lunch or other breaks?

Yes. Add up your break minutes and enter the total. If you took two 15-minute breaks, enter 30. The calculator subtracts that amount once.

What is 8 hours and 45 minutes in decimal hours?

8.75 hours. Divide 45 minutes by 60 to get 0.75, then add 8.

Is 12:00 AM midnight or noon?

12:00 AM is midnight. 12:00 PM is noon. Choose AM or PM carefully when entering a time near midday or midnight.

Does the calculator handle daylight saving time or time zones?

No. It subtracts the clock times you enter, using Same day or Next day. It does not adjust for clock changes or time zones. If your period crosses a daylight saving time change, the actual elapsed time may differ.

Spend less time figuring out the time

Whether you're checking a work shift, a long drive, or a project you finished late at night, a quick calculation can save some head-scratching. Enter your times, subtract your break, and get back to the rest of your day.

Results are intended for everyday time calculations. The calculator does not determine pay rates, overtime eligibility, or legal requirements for breaks.

Just a little heads-up

Our calculators are here to make everyday math easier. For important decisions, check the relevant official details, too.