Skip to content
CalculatorAtlas

Time Until Calculator

Tested

Hours and minutes from the current time until a target clock time (generalizes “how long until 3:58 PM”).

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

Wait = (target − now) mod 24 h. From 14:10 to 15:58 is 1 hour 48 minutes.

Enter the current and target times. The calculator returns the time remaining. Use this time until calculator to check your own figures.

Related tools: Time Duration Calculator: Elapsed time between two clock times, including across midnight. Military Time Converter: Convert between 24-hour (military) time and 12-hour AM/PM time. Time to Decimal Calculator: Convert hours and minutes to decimal hours.

How to use the Time Until Calculator

  1. Type current time, for example HH:MM (24-hour).
  2. Type target time, for example HH:MM (24-hour).
  3. Press Calculate to see the result, and use Reset to start again.
Inputs of the Time Until Calculator
InputWhat to enterAllowed values
Current timeText, such as HH:MM (24-hour)—
Target timeText, such as HH:MM (24-hour)—

Formula and method

Formula

wait = (target − now) mod 24 h

Exact integer day arithmetic in UTC; no daylight-saving or time-zone effects.

If the target is earlier than now, it refers to the next day.

Worked examples

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

Example 1

Inputs: Current time = 14:10; Target time = 15:58.

Results of example 1
ResultValue
Time remaining1 h 48 min

Example 2

Inputs: Current time = 23:30; Target time = 00:15.

Results of example 2
ResultValue
Time remaining0 h 45 min

Example 3

Inputs: Current time = 08:00; Target time = 08:00.

Results of example 3
ResultValue
Time remaining0 h 0 min

The first line is the headline result (time remaining). Exact integer day arithmetic in UTC; no daylight-saving or time-zone effects.

Next day

If the target is earlier, it is tomorrow: 14:10 to 08:00 is 17 hours 50 minutes. Equal times mean 0 minutes.

Use

Handy for countdowns to a meeting or departure. Enter times in 24-hour format.

When the target is earlier than now

14:10 to 15:58 is 1 h 48 min. If the target time is earlier than the current time, it is taken as the next day: from 14:10 to 09:00 is 18 h 50 min.

Equal times return 0, not 24 hours. The result uses clock time only and does not account for a clock change.

What happens with invalid input

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

  • Target time: entering "xx" shows "Enter a time as HH:MM." beside that field and no result.

Choosing between the Time Until 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 Time Until Calculator and similar calculators
CalculatorYou enterIt returns
[Time Duration Calculator](/time/time-duration-calculator/)start time and end timeDuration
[Military Time Converter](/time/military-time/)convert and time12-hour time
[Time to Decimal Calculator](/time/time-to-decimal-calculator/)hours and minutesDecimal hours
[Hours Calculator](/time/hours-calculator/)start time and end timeHours worked
[Time Card Calculator](/time/time-card-calculator/)start times, end times and unpaid break per dayTotal time

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 mean 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 target time to confirm this.

Frequently asked questions

14:00 to 14:00?

From 14:00 to 14:00 is 0 minutes: equal times mean no wait.

Does it use dates?

No. It compares clock times only, treating a target earlier than now as the next day.

How do I count days?

To count calendar days between dates, use the Days Until calculator.

What if the target time has already passed today?

It is treated as tomorrow, so the remaining time wraps past midnight.

Does it handle daylight saving?

No. It works on the clock times you enter.

What does the Time Until Calculator calculate?

Hours and minutes from the current time until a target clock time (generalizes “how long until 3:58 PM”). It returns Time remaining.

What formula does the Time Until Calculator use?

wait = (target − now) mod 24 h. If the target is earlier than now, it refers to the next day.

What do I need to enter in the time Until Calculator?

You enter Current time and Target time.

How is the result rounded or limited?

Exact integer day arithmetic in UTC; no daylight-saving or time-zone effects. Equal times mean 0 minutes.

What is an example of a time Until result?

With current time 14:10 and target time 15:58, the time remaining is 1 h 48 min.

Sources

  • ISO 8601-1: Date and time, representations for information interchange (calendar dates, ordinal dates and week dates)
  • Gregorian calendar reform, papal bull Inter gravissimas (1582): the leap-year rule used for all dates

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