Calculate statistics

Summarize a numeric list with mean, median, mode, and range.

freeworks offlinenothing uploaded
ToolStatistics Calculator
Input
Output
Put this on your own site

The frame below runs the same code as this page, in the reader's own browser. Nothing is sent to us, and nothing is sent to you.

Pick a dark background and the text and panels follow it, so the frame stays readable on a dark page.

Preview

How it works

The list is sorted for median and range, summed for mean, and counted for modes. The median is the centre or average of the middle pair; modes tie at the greatest frequency.

  • The list is treated descriptively without a distribution assumption.
  • A value occurring once is not treated as a meaningful mode.

Worked example

Dataset Summary
Calculate statistics for a dataset of sales figures
Input
											120, 150, 130, 150, 180, 110, 145
										
Output
												Count: 7
Sum: 985
Mean: 140.71428571428572
Median: 145
Mode: 150
Min: 110
Max: 180
Range: 70
											

When to use this

Classroom datasets summarize centre, surveys identify common responses, and quality reports compare median with mean under skew.

Edge cases

  • An outlier can move mean more than median.
  • Several values can tie as modes.
  • An empty or nonnumeric list cannot produce statistics.

References