Duration Normalizer
Carry excess seconds and minutes into larger units.
How Duration Normalizer Works?
The Duration Normalizer works by carrying every 60 seconds into 1 minute and every 60 minutes into 1 hour until no unit exceeds its limit.
-
1. Enter the raw duration
Start with an unnormalized value, such as 2 h 95 m 130 s.
-
2. Carry the seconds
130 s = 2 m 10 s, which gives 2 h 97 m 10 s.
-
3. Carry the minutes
97 m = 1 h 37 m, which gives 3 h 37 m 10 s.
-
4. Verify with the widget
Enter the total seconds (13,030) with Seconds selected. The Hours card shows 3.6194 h, which matches 3 h 37 m 10 s.
Duration Normalizer Formula
The Duration Normalizer formula is T = H × 3,600 + M × 60 + S, then H′ = ⌊T ÷ 3,600⌋, M′ = ⌊(T mod 3,600) ÷ 60⌋, S′ = T mod 60.
- Total seconds T = H × 3,600 + M × 60 + S
- H′ = ⌊T ÷ 3,600⌋
- M′ = ⌊(T mod 3,600) ÷ 60⌋
- S′ = T mod 60
Example: 2 h 95 m 130 s = 7,200 + 5,700 + 130 = 13,030 seconds, which normalizes to 3 h 37 m 10 s.
Duration Normalizer Conversion Table
The Duration Normalizer conversion table shows raw durations with overflowing units and their normalized form.
| Raw Input | Total Seconds | Normalized |
|---|---|---|
| 0 h 75 m 0 s | 4,500 | 1 h 15 m 0 s |
| 0 h 0 m 150 s | 150 | 0 h 2 m 30 s |
| 1 h 59 m 75 s | 7,215 | 2 h 0 m 15 s |
| 2 h 95 m 130 s | 13,030 | 3 h 37 m 10 s |
| 5 h 180 m 0 s | 28,800 | 8 h 0 m 0 s |
| 0 h 125 m 125 s | 7,625 | 2 h 7 m 5 s |
| 10 h 600 m 600 s | 72,600 | 20 h 10 m 0 s |
What is Duration Normalizer?
A Duration Normalizer is a tool that rewrites a duration so seconds and minutes stay below 60. 95 minutes becomes 1 hour 35 minutes, and 130 seconds becomes 2 minutes 10 seconds.
Unnormalized durations appear when people add columns separately. Summing 4 entries of 45 minutes gives 180 minutes in the minute column, which normalizes to 3 hours.
Normalized values are easier to compare and store. 3 h 37 m 10 s and 2 h 95 m 130 s are equal, and only the normalized form is readable at a glance.
What are the uses of Duration Normalizer?
There are 5 main uses of the Duration Normalizer, including column-sum cleanup, form input cleanup, and log formatting.
Column-sum cleanup
Timesheet users normalize totals after adding hours and minutes columns separately.
Form input cleanup
Developers normalize entries such as 0:90 into 1:30.
Log formatting
Analysts normalize exported durations before reports.
Recipe totals
Cooks normalize summed prep times such as 0 h 140 m.
Teaching carries
Teachers show students how base-60 carrying works.