How the calculation works
Mean = sum of values ÷ N. Median is the middle ordered value, or the mean of the two middle values. Range = maximum − minimum. Population variance divides the sum of squared deviations by N; sample variance divides by N − 1. Standard deviation is the square root of variance. Weighted mean = Σ(value × weight) ÷ Σweight. Grouped mean uses interval midpoints; grouped median estimates L + width × (N/2 − cumulative frequency before the median bin) ÷ median-bin frequency. Percentages count matching observations out of N.
A worked example
For 18, 21, 21, 30 and 40, the mean is 26, median 21, repeated mode 21 and range 22. Population variance is 65.2; sample variance is 81.5. In grouped mode, intervals [10,20), [20,30), [30,40) with counts 2, 6, 2 give midpoint mean and interpolated median estimates of 25.
Before you use the result
Use one measurement and one unit throughout. Enter ordinary decimals with at most 6 decimal places, from −1000000000 to 1000000000. Raw mode accepts up to 1000 values; exact-frequency and weighted modes up to 500 rows; grouped mode up to 20 intervals. Counts are whole numbers from 0 to 1000000000, with a positive total no larger than 1000000000. Zero counts do not contribute. Relative weights are nonnegative, at most 1000000000 each, and at least one must be positive; they do not automatically mean repeated observations. Negative income weights and survey-design inference are outside this tool. Decimal results are rounded to 6 places, with halfway cases rounded away from zero. Every tied most-frequent value is a mode; at most the first 10 are listed, and the total number of ties is shown. If every value occurs once, there is no repeated mode. Sample spread needs at least two observations. Grouped mode requires consecutive equal-width intervals with explicit lower-inclusive, upper-exclusive boundaries, including zero-count bins. Do not enter inclusive integer labels such as 10–19 without first deciding their actual continuous boundaries; no correction is inferred. Midpoint means and uniformly interpolated grouped medians are estimates, not recovered raw observations. At a cumulative midpoint followed by empty bins, the median convention uses the next occupied bin’s lower boundary. The displayed bin percentages use only the entered total. Percentile-rank mode shows four named tie conventions; it does not find an inverse percentile cutoff or compare with national reference data. For ages, first use one common reference date and a consistent completed-age or elapsed-duration definition. Dates of birth are not accepted here. Mean or median age at death describes the supplied records, not life expectancy. A mean or standard deviation alone cannot determine an individual age or the original range. This tool does not infer population ageing trends, clinical measures, confidence intervals or software-specific formulas.