Skip to content
CalculatorAtlas

Minutes Between Two Times Calculator

Tested

Minutes between two clock times, wrapping past midnight.

Tested, not yet published. The formula for this calculator is implemented and passes its automated checks. This page stays non-indexable until it is reviewed and published.

Results

Enter your values and press Calculate. Results appear here.

  • • Result

Quick answer

Minutes between = (end − start) mod 24 h. From 09:00 to 17:30 is 510 minutes, 8:30 or 8.5 decimal hours.

Enter start and end times in 24-hour format. The calculator returns minutes, hours and decimal hours. Use this minutes between two times calculator to check your own figures.

Related tools: Time From Now Calculator: Clock time after adding or subtracting minutes. Shift End Time Calculator: End time of a shift of a given length, including an unpaid break. Work Hours Calculator: Hours worked between a start and end time minus breaks.

How to use the Minutes Between Two Times Calculator

  1. Type start time (24-hour), for example 09:00.
  2. Type end time (24-hour), for example 17:30.
  3. Press Calculate to see the result, and use Reset to start again.
Inputs of the Minutes Between Two Times Calculator
InputWhat to enterAllowed values
Start time (24-hour)Text, such as 09:00—
End time (24-hour)Text, such as 17:30—

Formula and method

Formula

minutes = (end − start) mod 24 h

IEEE-754 double precision; shown to the decimals indicated.

If the end time is earlier than the start, the span runs past midnight.

Worked examples

These examples are verified: each one is an automated test case that the live calculator must reproduce exactly.

Example 1

Inputs: Start time (24-hour) = 09:00; End time (24-hour) = 17:30.

Results of example 1
ResultValue
Minutes510
Hours and minutes8:30
Decimal hours8.5

Example 2

Inputs: Start time (24-hour) = 22:00; End time (24-hour) = 06:15.

Results of example 2
ResultValue
Minutes495
Hours and minutes8:15
Decimal hours8.25

Example 3

Inputs: Start time (24-hour) = 08:15; End time (24-hour) = 08:45.

Results of example 3
ResultValue
Minutes30
Hours and minutes0:30
Decimal hours0.5

The first line is the headline result (minutes). Below it the minutes Between Two Times Calculator lists hours and minutes and decimal hours, which describe the same case from other angles. IEEE-754 double precision; shown to the decimals indicated.

Over midnight

The modulo handles overnight spans: 22:00 to 06:00 is 480 minutes. Equal times give 0 minutes.

Use

Useful for timesheets and journeys. Subtract unpaid breaks separately.

Breaks, midnight and daylight saving

From 09:00 to 17:30 is 510 minutes, which is 8.5 hours. Times that cross midnight wrap around, but equal times give 0, so a full 24-hour interval cannot be entered.

The result is the elapsed clock time and does not subtract a break: take off a 30-minute lunch yourself (510 − 30 = 480 minutes) or use the hours worked calculator. It works on clock times only, so it does not adjust for a daylight-saving change.

What happens with invalid input

These messages are produced by the calculator itself, so you know what to fix.

  • Start time (24-hour): entering "25:00" shows "Enter a time like 09:30 (24-hour)." beside that field and no result.
  • End time (24-hour): entering "x" shows "Enter a time like 09:30 (24-hour)." beside that field and no result.

Choosing between the Minutes Between Two Times Calculator and similar calculators

Each row shows what a related calculator on this site asks for and what it returns, so you can pick the one that matches your question.

Choosing between the Minutes Between Two Times Calculator and similar calculators
CalculatorYou enterIt returns
[Time From Now Calculator](/time/minutes-from/)start time and minutes to addResulting time
[Shift End Time Calculator](/time/8-hour-shift/)start time, paid hours and unpaid breakShift ends at
[Work Hours Calculator](/time/work-hours-calculator/)start time, end time and unpaid breakTime worked
[Add Times Calculator](/time/add-times-calculator/)times to addTotal time
[Subtract Times Calculator](/time/subtract-times-calculator/)time and time to subtractDifference

Background: dates and times

Date and time results depend on the conventions a tool uses: whether the end date counts, whether weekends and holidays are skipped, how months of different lengths are handled and whether time zones are applied. This page states its convention, and the worked examples show it.

Dates use the Gregorian calendar and calendar days unless the page says otherwise; check deadlines against the rule in your contract or regulation.

Assumptions and limitations

  • Equal times give 0 minutes

If a required value is empty, not a number, or outside its allowed range, the form marks that field with a message and shows no result instead of a misleading number. The automated checks deliberately try invalid entries for start time (24-hour) and end time (24-hour) to confirm this.

Frequently asked questions

22:00 to 02:00?

From 22:00 to 02:00 is 4 hours across midnight, which is 240 minutes.

How many hours is 510 minutes?

510 minutes ÷ 60 = 8.5 hours, or 8 h 30 min.

Does it handle seconds?

No. It works in whole minutes between two times, so seconds are ignored.

How do I subtract an unpaid lunch break?

Subtract the break from the result. 510 minutes minus a 30-minute break is 480 minutes, or 8 hours.

Does it adjust for daylight saving time?

No. It uses the clock times you enter, so on a night when the clocks change the real elapsed time can differ by an hour.

What does the Minutes Between Two Times Calculator calculate?

Minutes between two clock times, wrapping past midnight. It returns Minutes, Hours and minutes and Decimal hours.

What formula does the Minutes Between Two Times Calculator use?

minutes = (end − start) mod 24 h. If the end time is earlier than the start, the span runs past midnight.

What do I need to enter in the minutes Between Two Times Calculator?

You enter Start time (24-hour) and End time (24-hour).

How is the result rounded or limited?

IEEE-754 double precision; shown to the decimals indicated. Equal times give 0 minutes.

What is an example of a minutes Between Two Times result?

With start time (24-hour) 09:00 and end time (24-hour) 17:30, the minutes is 510.

Sources

  • NIST Special Publication 811, Guide for the Use of the International System of Units (SI): minute, hour and day are non-SI units accepted for use with the SI (60 min = 1 h, 24 h = 1 d)

Content last reviewed 2026-11-04. Formulas and worked examples are checked by automated tests against independently computed values.