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
- Type current time, for example HH:MM (24-hour).
- Type target time, for example HH:MM (24-hour).
- Press Calculate to see the result, and use Reset to start again.
| Input | What to enter | Allowed values |
|---|---|---|
| Current time | Text, such as HH:MM (24-hour) | — |
| Target time | Text, 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.
| Result | Value |
|---|---|
| Time remaining | 1 h 48 min |
Example 2
Inputs: Current time = 23:30; Target time = 00:15.
| Result | Value |
|---|---|
| Time remaining | 0 h 45 min |
Example 3
Inputs: Current time = 08:00; Target time = 08:00.
| Result | Value |
|---|---|
| Time remaining | 0 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.
| Calculator | You enter | It returns |
|---|---|---|
| [Time Duration Calculator](/time/time-duration-calculator/) | start time and end time | Duration |
| [Military Time Converter](/time/military-time/) | convert and time | 12-hour time |
| [Time to Decimal Calculator](/time/time-to-decimal-calculator/) | hours and minutes | Decimal hours |
| [Hours Calculator](/time/hours-calculator/) | start time and end time | Hours worked |
| [Time Card Calculator](/time/time-card-calculator/) | start times, end times and unpaid break per day | Total 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.
Related calculators
- 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.
- Hours Calculator — Hours worked between a start and end time, minus breaks.
- Time Card Calculator — Total hours, overtime and gross pay from daily start and end times.
- Time From Now Calculator — Clock time after adding or subtracting minutes.
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.