calculator.onl
Categories50

Average Time Calculator: Mean, Median & Total Duration

Average elapsed times and find their median, total, minimum and maximum. Enter durations, including milliseconds, to compare typical and overall time.

A worked example

Lengthen the last lap and compare the mean with the median.

Mean duration00:02:00Median duration00:02:00Total duration00:06:00Observation count3
Enter HH:MM:SS or HH:MM:SS.sss; hours can exceed 23. Separate entries with semicolons, spaces or line breaks. Minutes and seconds must be 00–59; use a decimal dot.

Updates as you type

Use valid dates and the stated ranges. Lists use semicolons or line breaks and decimal dots. All monetary inputs must use the selected currency; no conversion occurs.

YOUR RESULT

Mean duration

00:02:00

Calculated from your inputs

Median duration00:02:00
Total duration00:06:00
Shortest duration00:01:30
Longest duration00:02:30
Observation count3
The numbers, at a glance

Calculations run in your browser.
UNDERSTAND THE RESULT

A little context. A clearer answer.

↑ Back to calculator

When this calculator is useful

Find the mean duration, median time, total elapsed time, minimum and maximum of a list of durations. An average time calculator is useful for repeated tasks or recorded event lengths when each entry represents a duration rather than a time of day. The arithmetic mean uses every entry; the median uses the middle of the sorted list. Clock times crossing midnight need to be converted to elapsed durations before entry. For a related calculation, try Work time calculator.

What to enter

InputWhat it meansExample value
Durations · HH:MM:SS.sssEnter HH:MM:SS or HH:MM:SS.sss; hours can exceed 23. Separate entries with semicolons, spaces or line breaks. Minutes and seconds must be 00–59; use a decimal dot.00:01:30; 00:02:00; 00:02:30

How the calculation works

  1. Convert each duration to integer milliseconds.
  2. Divide the total by the number of entries for the mean.
  3. Sort durations for the median; for an even count, average the two central values.
The formulat̄ = Σtᵢ / n; tᵢ = 3600hᵢ + 60mᵢ + sᵢ

A worked example

Our example: 00:01:30; 00:02:00; 00:02:30 gives a mean and median of 00:02:00, total 00:06:00, minimum 00:01:30 and maximum 00:02:30.

Example you can load

What to enter
Result for this example · Mean duration00:02:00

This is a fixed example; changing the form above does not change these numbers.

Assumptions & limits

Durations, not clock times or dates. Accepts 1–1000 unweighted entries, up to 999999 hours each. Displays round to milliseconds; intermediate sums use exact integer milliseconds.

Reference ·

Frequently asked questions

Can I average times across midnight?

No. Convert each event to an elapsed duration first; this tool has no date or midnight rule.

Why can the median differ from the mean?

The mean uses every value; the median uses the middle of the sorted list and is less affected by a long duration.

Can I enter fractions of a second?

Yes, up to three decimal places. A mean or median between milliseconds is rounded only for display.