Trying to work out how much time passed between two clock times sounds simple, until the minutes don't line up neatly or the end time falls after midnight.

If something starts at 9:15 AM and ends at 5:45 PM, how long did it last? You can count it out manually, but a time duration calculator gives you the answer immediately:

8 hours 30 minutes

The same calculation can also be shown as 8.5 decimal hours or 510 minutes, depending on what you need the result for.

That's really the purpose of this calculator. Enter when something started, enter when it ended, and get the elapsed time without having to convert hours and minutes yourself.

Fast & Deterministic

Time Duration Calculator: Easily Find the Time Between Two Times

Calculate the precise hours, minutes, and seconds between any two timestamps with instant decimal conversion, swap functionality, and overnight detection.

โšก Quick Presets:
START
:
09:15 AM (Civilian)
END
:
05:45 PM (17:45 Military)
โ˜• Deduct Unpaid Break: mins
DURATION
8 hours 30 minutes
8.50 hrs Decimal Hours
510 mins Total Minutes
30,600 secs Total Seconds
00:00 (12 AM) 35.4% of 24h Day 24:00 (Midnight)

What Is a Time Duration Calculator?

A time duration calculator finds the amount of time between a starting time and an ending time.

For example:

Start: 10:20 AM

End: 2:50 PM

Duration: 4 hours 30 minutes

You might use this when checking how long you worked, studied, exercised, traveled, attended a meeting, or spent on a particular task.

The result can be useful in several formats:

  • Hours and minutes
  • Decimal hours
  • Total minutes
  • Total seconds

So a duration of 2 hours 30 minutes can also be written as 2.5 hours, 150 minutes, or 9,000 seconds.

How to Use the Time Duration Calculator

You don't need to know any formulas to use the calculator.

Enter your start time, followed by your end time, and calculate the difference.

Step-by-Step Guide

How to Use This Calculator

STEP 1
01 / 04

Enter Your Start Time

Select or type your beginning clock time in either 12-hour (AM/PM) or 24-hour military format.

STEP 2
02 / 04

Enter Your End Time

Enter your finish time. If your activity crosses midnight into the next day, the calculator detects it automatically.

STEP 3
03 / 04

Optional Break Deduction

If you took an unpaid lunch or break, enter the duration in minutes to subtract it from your gross elapsed time.

STEP 4
04 / 04

View Instant Results

Get your exact duration in Hours and Minutes, Decimal Hours, Total Minutes, and Total Seconds with one-click copy and PDF export.

For example, suppose you started studying at 6:40 PM and stopped at 9:25 PM.

Your result would be:

2 hours 45 minutes

That's also 2.75 decimal hours or 165 minutes.

If you're using a 12-hour clock, make sure AM and PM are correct. That small detail makes a big difference, especially when the calculation passes through noon or midnight.

How Is Time Duration Calculated?

The basic idea is:

End Time โˆ’ Start Time = Duration

The easiest way to understand the calculation is often to convert each clock time into minutes.

Let's say you want to find the duration from 9:30 AM to 2:15 PM.

Step 1: 9:30 AM in minutes from midnight is: 9 ร— 60 + 30 = 570 minutes

Step 2: 2:15 PM is 14:15 in 24-hour military time: 14 ร— 60 + 15 = 855 minutes

Step 3: Now subtract the start time from the end time: 855 โˆ’ 570 = 285 minutes

Step 4: Convert back to hours and minutes (divide by 60): 285 รท 60 = 4 hours with 45 minutes remaining

Final Duration: 4 hours 45 minutes

You normally won't need to do any of this yourself. The calculator handles it automatically, but knowing the method is useful if you ever want to check a result.

A Few Quick Examples

Here are some everyday time differences:

Start Time End Time Duration
8:00 AM 9:00 AM 1 hour
9:15 AM 10:45 AM 1 hour 30 minutes
8:30 AM 12:00 PM 3 hours 30 minutes
9:00 AM 5:00 PM 8 hours
10:20 AM 2:50 PM 4 hours 30 minutes
1:45 PM 6:15 PM 4 hours 30 minutes
7:30 PM 10:15 PM 2 hours 45 minutes

These examples are straightforward because the start and end times are on the same day. Things get a little more interesting when midnight is involved.

What If the Time Goes Past Midnight?

Imagine you start something at 10:30 PM and finish at 2:15 AM the next morning.

Looking only at the clock can make this confusing because 2:15 appears to be "earlier" than 10:30.

The easiest way to think about it is in two parts:

From 10:30 PM to midnight: 1 hour 30 minutes

From midnight to 2:15 AM: 2 hours 15 minutes

Put them together: 1h 30m + 2h 15m = 3 hours 45 minutes

10:30 PM โ†’ 2:15 AM next day = 3 hours 45 minutes

This is especially useful for night shifts, late-night travel, events, gaming sessions, studying, or anything else that continues into the following day.

AM, PM, and the 24-Hour Clock

One of the most common sources of mistakes in time calculations is mixing up AM and PM.

The important rule to remember is:

12:00 AM = Midnight (00:00, beginning of the day)

12:00 PM = Noon (12:00, middle of the day)

In 24-hour time, you don't need AM or PM.

12-Hour Time 24-Hour Time
12:00 AM 00:00
6:00 AM 06:00
12:00 PM 12:00
1:00 PM 13:00
5:30 PM 17:30
11:00 PM 23:00

For example, 5:30 PM becomes 17:30. If you frequently convert between formats, our Military Time Converter provides instant two-way translations.

Both formats describe exactly the same time. They're simply different ways of writing it.

Hours and Minutes vs. Decimal Hours

Sometimes you need a duration written as hours and minutes. Other times, a decimal number is more useful.

7 hours 30 minutes = 7.5 hours

Why? Because 30 minutes is half of an hour: 30 รท 60 = 0.5, so 7 + 0.5 = 7.5.

Here are a few useful conversions:

Time (Hours & Minutes) Decimal Hours
1 hour 15 minutes 1.25
1 hour 30 minutes 1.50
1 hour 45 minutes 1.75
2 hours 15 minutes 2.25
2 hours 30 minutes 2.50
2 hours 45 minutes 2.75
8 hours 30 minutes 8.50
โš ๏ธ Common Mistake to Avoid: One mistake worth avoiding is treating minutes as though they were already decimals. 1 hour 45 minutes is not 1.45 hours. It is 1.75 hours, because 45 minutes represents three-quarters of an hour.

How Do I Convert Minutes to Decimal Hours?

To convert minutes to decimal hours, divide the minutes by 60.

For 45 minutes:

45 รท 60 = 0.75

That means:

3 hours 45 minutes = 3.75 hours

For 20 minutes:

20 รท 60 = 0.3333...

So:

2 hours 20 minutes โ‰ˆ 2.33 hours

When a result contains a repeating decimal, it may be rounded for payroll or billing purposes. You can also use our dedicated Decimal Hours Calculator or Minutes to Hours Converter.

How Do I Convert Hours and Minutes to Total Minutes?

This conversion is straightforward.

Multiply the hours by 60 and add the remaining minutes.

For 3 hours 25 minutes:

(3 ร— 60) + 25 = 205 minutes

So: 3 hours 25 minutes = 205 minutes

Another example:

8 hours 30 minutes becomes (8 ร— 60) + 30 = 510 minutes

If you need fast bulk conversions, check the Hours to Minutes Converter.

What About Seconds?

The same mathematical principle works when seconds are involved.

Remember:

  • 1 minute = 60 seconds
  • 1 hour = 3,600 seconds

So the general calculation is:

Total Seconds = (Hours ร— 3,600) + (Minutes ร— 60) + Seconds

For example, 1 hour 20 minutes is:

3,600 + 1,200 = 4,800 seconds

You probably won't need seconds for an ordinary work shift or meeting, but they are useful for athletics, audio/video editing, and precise scientific timing.

Time of Day and Time Duration Aren't the Same Thing

It's easy to use these terms interchangeably, but they describe fundamentally different concepts:

  • 8:30 AM is a time of day (a specific point on the clock).
  • 1 hour 30 minutes is a duration (the quantity of elapsed time).

Suppose a meeting starts at 8:30 AM and finishes at 10:00 AM.

The two clock times are 8:30 AM and 10:00 AM. The duration between them is:

1 hour 30 minutes

That's what a time duration calculator measures.

Is Duration the Same as Elapsed Time?

In most everyday situations, they are closely related.

If a movie starts at 7:15 PM and ends at 9:30 PM, the elapsed time is:

2 hours 15 minutes

You could also say that the movie lasted for a duration of 2 hours and 15 minutes.

Different tools and websites may use terms such as Time Between Two Times, elapsed time, time difference, or time duration. In a basic clock calculation, they are describing the same underlying idea.

When Is a Time Duration Calculator Useful?

There isn't one specific reason to calculate elapsed time. It comes up in everyday life surprisingly often:

Checking Work Hours

If you clock in at 8:30 AM and clock out at 5:00 PM, the elapsed time is 8 hours 30 minutes. If you took a 30-minute unpaid break, however, your actual working time would be 8 hours. That's an important distinction. A basic duration calculator measures the time between two clock times. A dedicated Work Hours Calculator can also account for breaks and multiple work periods.

Tracking Study Time

Started studying at 6:20 PM and finished at 8:05 PM? That's 1 hour 45 minutes. Knowing the actual duration can be more useful than estimating how long you studied.

Meetings and Appointments

If a meeting starts at 2:15 PM and ends at 3:40 PM, it lasted 1 hour 25 minutes. The same approach works for classes, interviews, appointments, presentations, and events.

Exercise

You can calculate the length of a walk, gym session, run, cycling session, or other activity from its start and finish times.

Travel

A duration calculator can help with departure and arrival times when both times use the same time zone. If your journey crosses time zones, however, you'll also need to account for the time-zone difference.

Projects and Everyday Tasks

Cooking, reading, gaming, freelance work, practice sessions, maintenance, and other activities can all be measured using the same start-to-finish calculation.

How Do You Calculate Work Time With a Break?

Suppose you work from:

8:30 AM to 5:00 PM

The total elapsed time is 8 hours 30 minutes.

Now suppose you took a 45-minute unpaid break.

Subtract the break:

8 hours 30 minutes โˆ’ 45 minutes = 7 hours 45 minutes

Your elapsed time and actual working time are therefore different.

For more complicated schedules involving several clock-in and clock-out periods, a Work Hours Calculator or Time Card Calculator is usually more convenient.

What Happens If the Start and End Times Are Identical?

Suppose you enter:

Start: 8:00 AM

End: 8:00 AM

There are two possible interpretations.

If both times refer to the same moment, the duration is 0 hours.

But if the second 8:00 AM means 8:00 AM the following day, the duration is 24 hours.

This is why the date or "next day" setting matters when calculating overnight periods.

What If the End Time Looks Earlier Than the Start Time?

That often means the calculation crosses midnight.

For example:

Start: 11:00 PM

End: 1:00 AM

If 1:00 AM is on the following day, the duration is 2 hours.

A calculator that supports overnight periods can handle this without requiring you to split the calculation manually.

Can I Calculate a Duration Longer Than 24 Hours?

Yes, but once a duration spans multiple days, including the dates makes the calculation much clearer.

For example:

Monday at 8:00 AM โ†’ Tuesday at 10:00 AM = 26 hours

For periods like this, a Date and Time Calculator is more appropriate than a simple same-day clock calculator.

Useful Time Conversions

These basic relationships are worth knowing:

Time Unit Equivalent
1 minute 60 seconds
1 hour 60 minutes
1 hour 3,600 seconds
1 day 24 hours
1 day 1,440 minutes
1 week 7 days
1 week 168 hours

Most time calculators ultimately rely on these simple relationships.

More Real-World Examples

Morning Appointment

Start: 8:45 AM

End: 10:10 AM

Duration: 1 hour 25 minutes

Afternoon Work Session

Start: 1:20 PM

End: 6:05 PM

Duration: 4 hours 45 minutes

Evening Event

Start: 7:30 PM

End: 10:15 PM

Duration: 2 hours 45 minutes

Overnight Shift

Start: 9:45 PM

End: 1:15 AM next day

Duration: 3 hours 30 minutes

Converting to Decimal Hours

6 hours 15 minutes

15 minutes is: 15 รท 60 = 0.25

So the duration is: 6.25 hours

Why Is Subtracting Time Sometimes Confusing?

The main problem is that time isn't written in ordinary base-10 units.

  • An hour has 60 minutes, not 100.
  • A minute has 60 seconds, not 100.

That's why:

1 hour 30 minutes = 1.5 hours

but:

1 hour 45 minutes = 1.75 hours (not 1.45 hours)

Then you have AM and PM, noon, midnight, and periods that continue into another day. None of these concepts is particularly difficult on its own, but combining them makes manual calculations easier to get wrong.

That's where a calculator becomes useful. You enter the times, while the conversion and subtraction happen in the background.

Frequently Asked Questions

How do I calculate the duration between two times?

Subtract the starting time from the ending time. One reliable manual method is to convert both times into minutes, subtract them, and then convert the result back into hours and minutes.

How many hours are there from 9 AM to 5 PM?

There are 8 hours between 9:00 AM and 5:00 PM on the same day.

How long is 8:30 AM to 5:00 PM?

The elapsed time is 8 hours 30 minutes. If you're calculating working hours, subtract any unpaid breaks separately.

How long is 9:15 AM to 5:45 PM?

The duration is 8 hours 30 minutes, or 8.5 decimal hours.

How long is 10 PM to 2 AM?

If 2:00 AM is on the following day, the duration is 4 hours.

Is 12 AM midnight?

Yes. 12:00 AM is midnight, while 12:00 PM is noon.

What is 15 minutes in decimal hours?

15 minutes is 0.25 hours.

What is 30 minutes in decimal hours?

30 minutes is 0.5 hours.

What is 45 minutes in decimal hours?

45 minutes is 0.75 hours.

How do I calculate an overnight time difference?

Calculate the time from the starting point to midnight, then add the time from midnight to the ending point. A calculator with overnight support can do this automatically.

Can I use a time duration calculator for work hours?

Yes, if you simply need the elapsed time between clock-in and clock-out. If you also need to subtract breaks or calculate several shifts, use a work-hours or time-card calculator.

Other Time Calculations You May Need

A basic time duration calculation won't cover every situation. Depending on what you're trying to work out, you may need a more specialized tool:

The Bottom Line

If all you want to know is "How much time is there between these two times?", you shouldn't need to work through several formulas.

Enter the start time, enter the end time, and calculate the difference.

Behind the scenes, the math still follows a simple principle:

End Time โˆ’ Start Time = Duration

The calculator just takes care of the awkward parts, including minutes, AM and PM, midnight, overnight periods, and useful conversions.

And when your calculation becomes more specific, such as tracking work hours, converting decimal time, adding hours to a clock time, or calculating across multiple dates, you can move to the time tool built specifically for that job.

Mathematical Accuracy & Editorial Review

All calculations on this tool are deterministic and rigorously tested against base-60 modulo arithmetic and US Fair Labor Standards Act (FLSA 29 CFR ยง 785.48) payroll rounding guidelines.

Reviewed by: Time Mathematics & Payroll Editorial Team Last Updated: April 2026