Date & time

Time Duration Calculator

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

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

Same-day and overnight intervals

Method and inputs

Choose a start and end clock time. An earlier end time is interpreted as the following day. Select the overnight option when the end belongs to the next day even if its clock time is later than the start.

Worked example

From 22:15 to 06:45, the interval is 8 hours 30 minutes. From 09:00 to 17:30 on the same day, it is also 8 hours 30 minutes. Subtract breaks separately if calculating paid work.

Limits and common mistakes

An identical start and end represents zero on the same day or 24 hours with overnight selected. Clock subtraction assumes ordinary 24-hour days and does not model daylight-saving transitions.

Can I calculate several days?

Use a date-and-time method for longer intervals. This tool distinguishes the same day and the following day only; it does not accept a date range.

Content updated: 2026-10-03.