Home / Everyday / Time Calculator

Time Duration Calculator

Calculate elapsed time between start and end clock times, optionally using your current local time and subtracting a break.

Use this free time calculator to find elapsed time between start and end times, including overnight shifts. Select AM or PM, optionally enter seconds, use your device’s current time, and subtract a break when needed.

Before calculating: Review all fields. Any prefilled numbers or default selections are starting examples, not verified personal details; update them to match your situation. Complete any fields left blank.

Start Time

Uses the current local time on this device. The time refreshes when you calculate.

End Time

If the end clock time is earlier than the start time, the calculator automatically treats it as overnight. Check this if the end is tomorrow and later on the clock.
Optional. Turn this on to deduct an unpaid break from the elapsed time.

Choose AM or PM for each clock time. Seconds are optional and default to zero.

READY TO CALCULATE
Elapsed time
Enter start and end times
Choose AM/PM for each time. Seconds are optional.

What this time calculator does

Calculate elapsed time between a start time and an end time using 12-hour clock inputs with AM/PM selectors. Seconds are optional, you can use your device’s current time for the end time, and overnight shifts are supported. An optional break can be deducted from the elapsed result.

How to use the calculator

Enter the start and end hours, minutes, and AM/PM. Add seconds when you need more precision. Select “End time is now” to use your device’s current local time as the end time; the value refreshes when you calculate. If the end time falls on the following day, use the next-day option when needed. Select “Subtract a break” to deduct an unpaid break in minutes.

How the calculation works

Each clock time is converted to seconds after midnight. The calculator subtracts the start time from the end time and adds one day when the interval crosses midnight or the next-day option is selected. The displayed duration is rounded to the nearest whole second.

What the result means

For example, 9:00 AM to 5:30 PM is 8 hours 30 minutes. A shift from 10:00 PM to 6:00 AM is 8 hours, because the end time occurs on the following day.

Important assumptions and limitations

This calculator measures elapsed clock time and subtracts a break only when you select that option. It does not adjust for daylight-saving-time transitions. For payroll, follow your employer’s timekeeping rules and verify official time records.

Frequently asked questions

How do AM and PM work?
Choose AM for midnight through the morning and PM for noon through the evening. 12:00 AM is midnight; 12:00 PM is noon.
Can it calculate an overnight shift?
Yes. If the end time is earlier than the start time, the calculator treats it as the following day. You can also check the next-day option to explicitly add a day when the end clock time is later.
Can I use the current time as the end time?
Yes. Select “End time is now” to use the local time on your phone or computer. The value refreshes when you calculate.
Can I subtract a break?
Yes. Select “Subtract a break” and enter the break duration in minutes. The result will show elapsed time and net time after the break.
Are seconds required?
No. Seconds are optional and blank seconds are treated as zero.
Does it calculate a percentage of a duration?
Use the separate Duration Percentage Calculator to calculate a percentage of any duration.

Related calculators

More time and everyday tools.