Date & time

Time Duration Calculator: Same Day or Overnight

Calculate the exact time between two clock times. Overnight shifts and plans are included when you need them.

✓ Clear timeline✓ Overnight option✓ No sign-up

Find elapsed hours and minutes between two clock times. Choose the following-day option when the end belongs to tomorrow, even if its clock time is later.

Formula: Elapsed minutes = end minutes − start minutes + 1,440 when the interval crosses to the following day.

Example: 22:15 to 06:45 is 8 h 30 min: (405 − 1,335) + 1,440 = 510 minutes.

Clock times alone cannot model dates, time zones or daylight-saving changes. Identical times mean zero hours, or 24 hours with the following-day option.

Go to calculator

Enter two times

Find the duration for a shift, study session, event or everyday plan.

When the activity begins
When the activity finishes

Your values stay in this browser. Nothing is uploaded or saved.

How it works

A clear way to work out the time between two points in a day.

  1. 1

    Choose the start

    Enter the time your activity, journey or shift begins.

  2. 2

    Choose the end

    Add the finish time and mark it as overnight when needed.

  3. 3

    Read the duration

    Get a result in hours and minutes right away.

How to use this calculator

Enter a start time and an end time, then select Calculate duration. If the activity crosses midnight, tick the overnight option. The result shows the duration in hours and minutes, plus the total number of minutes.

Formula and method

Time duration = end time − start time. If the end time is earlier than the start time, the tool treats it as the following day. For example, 10:00 PM to 2:00 AM is four hours. The calculation takes place locally in your browser.

Use the result carefully

This calculator is helpful for planning, studying and informal time tracking. It does not replace an employer’s timekeeping rules, payroll policies, break requirements or local legal advice.

Frequently asked questions

Does it work for overnight periods?

Yes. Tick the option when the end time occurs on the following day. An earlier end time is also interpreted as overnight unless you select otherwise.

Are my times stored?

No. The values you enter are not sent to EasyToolsCalc or saved by this calculator.

Is the tool free?

Yes. It is free to use on phones, tablets and desktop computers, with no account required.

Read the related guide → · See our calculator methodology

Method, examples and limits

Same day and following day are different

09:00 to 17:30 on the same day is 8 hours 30 minutes. If the end is 17:30 tomorrow, select the following-day option: the result is 32 hours 30 minutes. An end time earlier than the start automatically belongs to the next day; the option does not add a second extra day.

Convert the answer to decimal hours

Divide total minutes by 60. For 510 minutes, 510 ÷ 60 = 8.5 hours. Do not write 8.30 as the decimal equivalent of 8 h 30 min: 0.30 hour is only 18 minutes. Keep the hours-and-minutes result for schedules and use decimal hours only where a timesheet requires them.

Breaks and paid time

The result is elapsed clock time, not automatically paid working time. A 09:00–17:30 interval is 510 minutes. If a workplace excludes a 30-minute break, subtract it separately: 480 minutes, or eight hours. Contracts, overtime rules and rounding policies can change payable time; this tool does not apply them.

Dates and daylight-saving limits

A clock-only interval assumes every day has 1,440 minutes. On a daylight-saving transition, actual elapsed time can differ by one hour. For travel across time zones or intervals longer than the following day, use dated timestamps with an explicit time zone rather than interpreting this answer as an exact elapsed duration.

Check common edge cases

00:00 to 00:01 is one minute. 23:59 to 00:01 is two minutes overnight. The same start and end give zero by default and 24 hours with the next-day option. Choose both times; incomplete entries should not be treated as midnight.

Maintained by: Muhammad Bhutto · Updated: 2026-10-16. Checking methodology · Report an error