Elapsed Time Calculator – Find Time Between Two Times Free

⭐ Popular
date

Free elapsed time calculator — enter a start time and end time to instantly find the hours, minutes, and seconds between them. Works across midnight too

Elapsed Time Calculator – Find Time Between Two Times Free

This elapsed time calculator finds the exact amount of time between any two clock times — whether you’re calculating hours worked during a shift, timing how long a meeting or task actually took, measuring a sports or cooking session, or working out billable hours as a freelancer. It works across midnight too, so night shifts running from something like 10 PM to 6 AM calculate correctly without giving you a negative or broken result. Both 12-hour (AM/PM) and 24-hour (military time) formats are supported, and there’s an optional payroll helper built in — just add your hourly rate and the calculator turns your elapsed time straight into a gross pay estimate. Enter your start and end time below to get your answer instantly.

Elapsed Time Calculator
Time format:
Quick shift presets:
9 AM – 5 PM
8 AM – 4 PM
7 AM – 3 PM
10 PM – 6 AM
Noon – Midnight
Include seconds in calculation?
Adds a seconds field to both times — useful for sports or lab timing
Does this span midnight? (e.g. night shift)
Adds 24 hours to the end time before calculating
It looks like your end time is before your start time. Does this span midnight?
Please enter a valid time.
Your start and end time are the same — elapsed time is 0 hours 0 minutes.

Elapsed Time

0 hours 0 minutes 0 seconds
0.0Decimal Hours
0Total Minutes
0Total Seconds
00:00:00HH:MM:SS

Results are estimates for general use. For official payroll, timesheets, or legal time records, always verify with your employer or a professional.

How to use the elapsed time calculator

  1. Choose your time format. Use 12-hour AM/PM if that’s how you normally speak about time in everyday US or UK life. Switch to 24-hour military time if you work in healthcare, the military, transport, or an international workplace that uses the 00:00–23:59 format.
  2. Enter your start time. This is whatever point you’re measuring from — a clock-in time, when a meeting began, or when a timer started. For example, enter 9:00 AM for a standard morning shift start.
  3. Enter your end time. This field defaults to the current time so you can instantly see elapsed time right now, but you can change it to any past or future time you need.
  4. Enable midnight crossing if needed. Turn on the “Does this span midnight?” toggle for night shifts or overnight events. If you forget, the calculator automatically detects that your end time is earlier than your start time and prompts you to confirm whether it spans midnight.
  5. Read your results. The large hours/minutes/seconds result is your main answer. Decimal hours (like 8.5) are what most payroll systems use. Total minutes and total seconds give you a raw count, and HH:MM:SS is a compact, universal format useful for logs and spreadsheets.
  6. Use the pay calculator. Click “Calculate pay?” to reveal an hourly rate field — enter your rate and the calculator instantly multiplies it by your elapsed time to give you a gross pay estimate.

Use the preset shift buttons above the inputs to instantly fill in common work schedules like 9 AM–5 PM or a 10 PM–6 AM night shift, without typing anything manually.

What can you use this elapsed time calculator for?

This tool solves a lot more than a simple time-math question — here’s where it gets used every day.

Shift work clock-in/clock-out

Enter your clock-in and clock-out times to instantly see exactly how many hours you worked — ready to drop straight into a timesheet or payroll submission without any manual math.

Freelancer billable hours

Measure the precise elapsed time of a work session down to the minute, then use the decimal hours output to bill a client accurately for exactly the time you worked.

Meetings and appointments

Find out exactly how long a meeting, call, doctor’s appointment, or class actually ran by entering when it started and when it ended.

Sports and fitness timing

Calculate elapsed time for a race, workout session, swim, or cycling ride from the moment you started to the moment you finished — turn on seconds for extra precision.

Cooking and kitchen timing

Find the exact elapsed time between putting something in the oven and taking it out, or between prep steps, so nothing gets over- or under-cooked.

Night shift and overnight work

Use the midnight crossing feature to accurately calculate hours worked on overnight shifts — a 10 PM to 6 AM shift correctly comes out to 8 hours, not a negative number.

Elapsed time calculation examples

Example 1 — Standard workday shift

Start time8:45 AM
End time5:15 PM
Midnight crossingNo
Result8h 30m (8.5 decimal hours)
At $22/hour$187.00
Decimal hours matter here because payroll systems multiply hourly rate by decimal time, not by hours and minutes separately — 8.5 × $22 gives a clean $187.00.

Example 2 — Night shift crossing midnight

Start time11:00 PM
End time7:30 AM
Midnight crossingYes (auto-detected and prompted)
Result8h 30m
Because 7:30 AM is earlier than 11:00 PM on a normal clock, the calculator adds 24 hours to the end time once midnight crossing is confirmed — this is what prevents a negative or broken result.

Example 3 — Freelancer billing a client

Start time2:15 PM
End time5:45 PM
Result3h 30m (3.5 decimal hours)
At $75/hour$262.50
Most invoicing software expects decimal hours rather than hours and minutes, so 3.5 is exactly the number a freelancer would enter directly into an invoice line item.

Scroll back up and try these exact times yourself, or swap in your own shift, meeting, or session times — the result updates instantly as you type.

How is elapsed time calculated?

At its core, elapsed time is found by subtracting the start time from the end time — but both times need to be converted into a common unit, like total seconds, before that subtraction happens.

Simple subtraction can go wrong when minutes are involved. For example, 5:45 PM minus 2:20 PM isn’t simply “3:25” through basic subtraction — you have to borrow 60 minutes properly to land on the correct 3 hours 25 minutes. That’s exactly the kind of mistake this calculator avoids.

To get it right every time, the calculator converts both the start time and end time into total seconds since midnight, subtracts one from the other, and then converts that result back into hours, minutes, and seconds for display. When a calculation spans midnight, it simply adds 24 hours — 86,400 seconds — to the end time before subtracting, which produces the correct positive result instead of a negative one.

Decimal hours are calculated by dividing the total minutes by 60 — so 8 hours 30 minutes (510 minutes) becomes 8.5 decimal hours. All of this happens automatically the moment you enter your times, so you never have to do the conversion math by hand.

Frequently asked questions

How do I calculate elapsed time between two times?
Enter your start time and end time into the calculator above, and it instantly subtracts one from the other to give you the exact hours, minutes, and seconds between them. Behind the scenes, both times are converted into total seconds first, subtracted, then converted back into a readable hours-minutes-seconds format so the borrowing across 60-minute and 60-second units is always handled correctly.
What is elapsed time?
Elapsed time is the total amount of time that has passed between a starting point and an ending point, usually expressed in hours, minutes, and seconds. It’s commonly used to measure how long a shift, meeting, task, race, or cooking process lasted by comparing a start time and an end time on the same day or across midnight.
How do I calculate elapsed time for a night shift that crosses midnight?
Enter your start time (like 10:00 PM) and your end time (like 6:00 AM), then turn on the “Does this span midnight?” toggle. The calculator automatically adds 24 hours to the end time before subtracting, giving you the correct result of 8 hours instead of a negative or incorrect number. If you forget to toggle it, the calculator detects the issue and prompts you automatically.
What is decimal time and how do I use it for payroll?
Decimal time expresses a duration as hours and a fraction of an hour instead of hours and minutes — for example, 8 hours 30 minutes becomes 8.5 decimal hours. Most payroll and invoicing systems use decimal hours to calculate pay, since multiplying 8.5 hours by an hourly rate is simpler than multiplying hours and minutes separately. This calculator shows decimal hours automatically in every result.
Can I calculate elapsed time in seconds?
Yes. Turn on the “Include seconds” toggle to add a seconds field to both the start time and end time inputs. The result will then show precise elapsed time down to the second, along with the total elapsed time expressed purely in seconds — useful for sports timing, lab experiments, or any task where second-level accuracy matters.
What is the difference between elapsed time and time duration?
Elapsed time and time duration both describe the same measurement — the total amount of time between two points — and the terms are generally used interchangeably. “Elapsed time” is more commonly used when referring to two specific clock times on the same day (like a shift or meeting), while “duration” is sometimes used more broadly, including spans of days, weeks, or months.

This is the fastest way to find the time between two clock times — with full support for both 12-hour and 24-hour formats, automatic midnight crossing, decimal hours output, and an optional pay estimate built right in. Pair it with the Date Duration Calculator, the Add & Subtract Time Calculator, or the Timesheet Calculator for even more time-tracking answers.

Use the free Elapsed Time Calculator above — enter your start and end time and get your answer in seconds.

Related Calculators

Quick Facts
8.5 hours = 8 hours 30 minutes
Midnight = 00:00 in 24-hour time
Noon = 12:00 PM = 12:00 in 24-hour time
A full day has 86,400 seconds
Decimal hours = total minutes ÷ 60
This tool never shows a negative result
Popular Searches
9 AM to 5 PM hours
10 PM to 6 AM night shift
8 AM to 4 PM shift
Noon to midnight hours