Hours between two times

Measure the elapsed duration between a start and an end.

Calculate hours between two times

Enter complete start and end timestamps to calculate decimal hours and total minutes while following this guide.

Enter or select values to calculate a result.

The calculation runs in your browser. Values entered here are not submitted to this site.

What it means

Measure the elapsed duration between a start and an end.

How to calculate or use it

Subtract the start timestamp from the end and divide milliseconds by 3,600,000.

Important details

Use explicit dates when the interval crosses midnight.

A reliable method

Measure the elapsed duration between a start and an end. A dependable answer starts by defining the reference and convention before doing the arithmetic.

  1. Define the reference

    Use a starting timestamp and a later ending timestamp. Write it down when another person must be able to reproduce the answer.

  2. Check the inputs

    Enter complete dates and times, then decide whether breaks should be included or deducted separately.

  3. Apply the calculation

    Subtract start from end in a consistent time basis and convert milliseconds to minutes or decimal hours.

  4. Label the result

    Keep decimal hours separate from hours-and-minutes notation: 7.5 hours means 7 hours 30 minutes, not 7 hours 50 minutes.

Worked example

From 9:15 AM to 5:45 PM is 8 hours 30 minutes, or 8.5 decimal hours. Deducting a 30-minute unpaid break leaves 8.0 working hours.

How to interpret the answer

For hours between two times, the useful answer includes its assumptions. Keep decimal hours separate from hours-and-minutes notation: 7.5 hours means 7 hours 30 minutes, not 7 hours 50 minutes.

Accuracy checklist

  • Use a complete date whenever the result can cross midnight or a calendar boundary.
  • State the time zone or local-time basis instead of leaving it implied.
  • Label inclusive, exclusive, elapsed-time or calendar-based counting.
  • Recheck future results when civil-time or organizational rules may change.

Common mistakes

  • Using a familiar shortcut without checking whether it matches the guide's calendar convention.
  • Overnight work, unpaid breaks, rounding policies and daylight-saving changes can all alter payroll or billing totals.
  • Sharing only the final number without the reference date, zone, unit or rounding rule.

Frequently asked questions

What is the quickest practical way to use hours between two times?

Start with a starting timestamp and a later ending timestamp. Use the interactive tool on this page, then check the result against the method and limitations below.

What can make a elapsed hours result inaccurate?

Overnight work, unpaid breaks, rounding policies and daylight-saving changes can all alter payroll or billing totals.

Does the calculator send my entries to the server?

No. The interactive calculation runs in the browser. For a result you plan to share, record the relevant date, time zone and counting convention alongside it.

Related elapsed hours guides