Methodology

Every result on this site can be traced from what you typed to what is displayed. This page explains the input formats, the exact arithmetic, the rounding rule and the limits of the date model.

Input formats

HH:MM means hours and minutes. MM:SS means minutes and seconds. HH:MM:SS allows up to three fractional digits on seconds. Leading hours can exceed 24 and leading minutes in MM:SS can exceed 59, but minutes and seconds inside a larger unit must be 0 to 59. A value that does not fit the selected format is flagged instead of being reinterpreted.

Exact arithmetic

Duration inputs are stored as whole milliseconds. Averages, medians, decimal conversions and playback times are kept as exact fractions. The denominator of an average is the number of accepted rows, including any zero durations you enter. Blank rows are counted separately and never change the result.

Display and rounding

The default duration display is HH:MM:SS at whole seconds. Values are rounded half up, and the rounding carries into the next minute or hour when needed, so 00:00:59.999 displays as 00:01:00. Changing display precision leaves the underlying calculation intact. For example, an exact average of 0.5 ms displays as 0.001 seconds at three places.

Exact values

Select Show exact values under a result to list an exact value such as 3600000/1 ms for each figure. It is a fraction in milliseconds: 3,600,000 ms is exactly one hour. A value such as 1/2 ms means half a millisecond, which no rounded display can show precisely.

Dated intervals

Gregorian dates are validated in the range 1900 to 2100, so 2023-02-29 is rejected. Both endpoints use the same fixed UTC offset, so the offset cancels in the subtraction. Named time zones and daylight-saving changes are not modelled: noon to noon on consecutive days is always 24 hours.

Clock-time averages

In Clock times mode each entry is a time of day from 00:00 to 23:59:59. The calculator cuts the 24-hour circle at the widest gap between neighbouring times and averages along the shortest span that holds every time, so 23:15, 23:45 and 00:30 average to 23:50:00. When two gaps tie for widest, as with 06:00 and 18:00, there is no single answer and the entries are flagged.

Shared links

Share link copies a link that stores the entries and settings in the part of the address after #calc=. Browsers do not send that part to the server. Opening the link checks every field, rebuilds the entries and recalculates them with the current version, so a result can change if a later version corrects a calculation.

Checking a result

Use the row breakdown to confirm which entries were accepted and compare rounded values with exact ones. Review CSV column mappings and fix or remove flagged rows before calculating. Copy, CSV and print output all come from the same result, including its format, precision and assumptions.

Frequently asked questions

Why can rounded rows add up to a different number than the total?

Each row is rounded for display, but the total is calculated from the exact values. Three 20-minute rows show as 0.33 hours each at two decimal places, which adds to 0.99, while the exact total is 1.00 hours.

What rounding rule do the calculators use?

Half up, applied only when a value is displayed or exported. A value exactly halfway between two displayed steps rounds to the larger one, and the rounding carries across seconds, minutes and hours.

Does changing the precision setting change my result?

No. Precision only changes how many digits are shown. The stored result is the same exact fraction, so you can switch precision without recalculating.

Do the calculators account for daylight saving time?

No. Dated intervals use one fixed UTC offset for both the start and the end. If the clocks changed between your two local times, adjust the result yourself by the amount of the change.

What does an exact value such as 59999/1 ms mean?

It is the unrounded result written as a fraction of milliseconds. 59999/1 ms is 59.999 seconds, which displays as 00:01:00 at whole seconds.