Skip to content
DeviceCheckHub

Time Calculator

Find the hours between two times, add and subtract hours and minutes, work out the time some hours from now, and convert to decimal hours.

Hours between two times

Time between

8 hours and 30 minutes
Hours and minutes
8:30:00
Decimal hours
8.5
Total minutes
510
Total seconds
30,600
Days
0.3542
Both times are on the same day.

Add and subtract time

One time per row: 1h 30m, 1:30, 1:30:15, 2.5 hours, or a plain number of minutes. Enter adds a row.

Total

Type a time in the first row, such as 1h 30m, 1:30 or 90 (minutes).

Time from now, or from any time

A plain number counts as hours here.

It will be

–

Choose a date and a time to start from.

Decimal hours and hours:minutes

Type decimal hours, such as 7.75, or hours and minutes, such as 7:45.

How to use the time calculator

This page holds four calculators, each for one common question about time. They work as you type, keep working offline once the page has loaded, and keep every value in the page address, so a bookmark or a copied link brings back the same calculation.

Working out the time between two times

To find the time between two clock times by hand, write both in 24-hour time, take the start from the end, and borrow 60 minutes when the minutes come out negative. For 8:45 AM to 5:15 PM: 17:15 minus 8:45 is 8 hours 30 minutes. If the end is earlier than the start, the time runs past midnight, so add 24 hours to the end first: 22:00 to 06:00 is 30:00 minus 22:00, which is 8 hours.

The calculator does the same, and also shows the answer as decimal hours (8.5), minutes (510) and seconds (30,600). The same time on both sides counts as zero, not a full day; for 24 hours or more, tick On different dates. With dates, the calculator measures the real time between the two moments on your device’s clock, so a span across a change to or from daylight saving time comes out an hour shorter or longer than the clock faces suggest, and the page tells you when that happens. In the United States the clocks go forward on the second Sunday in March and back on the first Sunday in November, as set out by NIST’s daylight saving time page.

Adding and subtracting hours and minutes

Time is counted in sixties, so ordinary addition needs a carry: 1:45 plus 0:30 is 1:75, which is 2:15, because 60 of the 75 minutes make another hour. Subtraction borrows the same way. The calculator does this for any number of rows, and it reads times the way people write them:

Use the × box to repeat a row: 7:30 × 5 is a week of seven-and-a-half-hour days, 37 hours 30 minutes. Splitting the total into equal parts answers the opposite question, such as how long each of three speakers gets in a 1:45 session (35 minutes each).

Decimal hours

Payroll and invoicing software usually wants hours as decimals, while clocks show hours and minutes. To convert minutes to a decimal, divide by 60; to go back, multiply the decimal part by 60. So 7 hours 45 minutes is 7 + 45 ÷ 60 = 7.75 hours, and 6.2 hours is 6 hours and 0.2 × 60 = 12 minutes. A common mistake is reading 7.30 as seven and a half hours: 7.30 decimal hours is 7 hours 18 minutes.

Minutes as decimal hours
MinutesHoursMinutesHours
50.083300.5
60.1360.6
100.167400.667
120.2450.75
150.25480.8
180.3500.833
200.333540.9
240.4601

Time from now, and time ago

The third calculator starts at the current time and keeps up with the clock until you change the start. Tap a quick amount or type your own, such as 36 (hours), 90 min or 10 days, and it shows the time and the full date, with the weekday and whether it is the same day, the next day or some days later. Choose Subtract to look back: 12 hours before 3:00 PM is 3:00 AM the same day.

The answer is real elapsed time. If the clocks change in between, “24 hours from 9 PM Saturday” on the night the clocks go back is 8 PM Sunday, not 9 PM, and the page points this out. Uses include medicine doses every so many hours, when a 48-hour return window closes, when a slow cooker or a long download will be done, and when a fast or a timed challenge ends. For live countdowns, the countdown to a date and the online timer are better fits.

12-hour and 24-hour times

Time boxes follow your device’s setting, so you may see 5:30 PM or 17:30. In 12-hour time, 12:00 AM is midnight at the start of the day and 12:00 PM is noon. Results here use the 12-hour clock with AM and PM, as most people in the US read it; the totals use hours and minutes, because a total of 26 hours isn’t a time of day.

For a week of shifts with overtime and pay, use the time card calculator; for days between dates and business days, the date calculator; and for clock times in other cities, the time zone converter.

Privacy

All the arithmetic runs in your browser. What you type stays on your device and in the page address; nothing is sent to this website, and there is no sign-up.

Frequently asked questions

How do I calculate the hours between two times?

Enter the start time and the end time in the first calculator. It shows the time in hours and minutes, in decimal hours, in minutes and in seconds. For 9:00 AM to 5:30 PM it shows 8 hours 30 minutes, which is 8.5 decimal hours. Enter a break in minutes to take it off the total.

What if the end time is after midnight?

When the end time is earlier than the start time, the calculator assumes the time runs past midnight into the next day, as a night shift does: 10:00 PM to 6:00 AM is 8 hours. For longer spans, tick “On different dates” and choose both dates.

How do I add hours and minutes together?

Use the second calculator. Type each time on its own row, as 1h 30m, 1:30 or 90 (a plain number counts as minutes), and press Enter for a new row. Switch a row to Subtract to take it away. The total shows as hours and minutes and as decimal hours. The × box repeats a row, for example five equal shifts.

What time will it be in 8 hours?

In the third calculator, leave the start at now and tap 8 hours, or type any amount such as 8h 30m or 3 days. It shows the time and the date, and says if that is the next day. Choose Subtract to find what time it was some hours ago.

How do I convert minutes to decimal hours?

Divide the minutes by 60: 45 minutes is 45 ÷ 60 = 0.75 hours, so 7 hours 45 minutes is 7.75 hours. The last calculator converts both ways, and the table on this page lists common values. Payroll systems usually want decimal hours.

Does the calculator handle daylight saving time?

Yes, when dates are involved. Across the night the clocks change, the real time between two moments is one hour more or less than the clock faces show, and the calculator counts the real time and says so. It uses the time zone set on your device.

Why does my total show more than 24 hours instead of days?

Totals of time worked or time spent are usually written in hours, so 26:15 means 26 hours and 15 minutes, as spreadsheets show it. The table under the total also shows the same time in days.

Can I share or save a calculation?

Yes. Everything you type is kept in the page address, so a bookmark brings it back, and Copy link gives you a link that opens the same calculation for someone else. Nothing is sent to this website.

Last updated · About DeviceCheckHub