How it works
This calculator evaluates the displayed equation variants locally in your browser. Enter the known values; results are shown for equations whose required inputs are available.
Check units, assumptions and professional guidance before using results for medical, financial, legal, engineering or safety-critical decisions.
Formulas used by this calculator
The Clock Duration Calculator works with 15 quantities and 10 relations between them. Enter the values you know, leave the one you want to find blank, and press Calculate. Blank fields are never treated as zero. Each formula below is solved for one quantity.
- End time 24 (
end_time_24) = hour_end + min_end + sec_end
- Hour end (
hour_end) = end_time_24 - min_end - sec_end
- Min end (
min_end) = end_time_24 - hour_end - sec_end
- Sec end (
sec_end) = end_time_24 - hour_end - min_end
- Start time 24 (
start_time_24) = hour_start + min_start + sec_start
- Hour start (
hour_start) = -min_start - sec_start + start_time_24
- Sec start (
sec_start) = -hour_start - min_start + start_time_24
- Min start (
min_start) = -hour_start - sec_start + start_time_24
2 further rearrangements of the same relations let you solve for other quantities.
Inputs
| Field | Name in formulas | Can be solved for |
| Min end | min_end | Yes |
| Sec end | sec_end | Yes |
| Hour end | hour_end | Yes |
| Min start | min_start | Yes |
| Sec start | sec_start | Yes |
| Hour start | hour_start | Yes |
| End time 12 | end_time_12 | Input only |
| End time 24 | end_time_24 | Yes |
| Am or pm end | am_or_pm_end | Input only |
| Clock format | clock_format | Input only |
| Start time 12 | start_time_12 | Input only |
| Start time 24 | start_time_24 | Yes |
| Am or pm start | am_or_pm_start | Input only |
| Clock duration 12 | clock_duration_12 | Yes |
| Clock duration 24 | clock_duration_24 | Yes |
Limitation: 4 of the 14 underlying relations rely on lookup tables or helper routines that run only on the original source calculator, so this page skips them. Quantities that depend on those relations are not solved here.