Parses once, sorts a copy for median and range, counts frequencies for mode.
This mean median mode range calculator reads a comma separated list and reports mean, median, mode, and range. The primary engine result is the mean; the other three appear in the detail list.
Formulas
Mean = sum / count. Median = middle sorted value, or average of two middle values when count is even. Mode = highest frequency value(s). Range = max minus min.
Worked example
List 1,2,2,3,4,7,9. Count 7, sum 28, mean 4. Median 3. Mode 2. Range 8.
When each measure helps
Mean reacts to outliers. Median is steadier for skewed lists. Mode highlights repeats. Range only states end to end spread.