How to use the mean, median and mode calculator
Compute the mean, median, mode and range of a data set. Enter data values in the field above; the count, mean, median, mode, range are computed instantly and plotted on the chart so you can see how the answer changes.
Formula
Variables
- d β Data values
Worked example
With data values = 4,8,6,5,3,2,8,9,2,5, the calculator gives count β 10; mean β 5.2; median β 5; mode β 8; range β 7.
Frequently asked questions
What is the formula for the mean, median and mode calculation?
Count = len(d). Mean = mean(d). Median = med(d). Mode = mode(d). Range = hi(d)-lo(d). Here d is data values.
What inputs do I need for the mean, median and mode calculator?
You need data values. Each field is pre-filled with a typical example so you can see how the result responds as you edit the numbers.
How do I use this calculator?
Type values into the input fields. Results and the chart update instantly. Use Reset to restore the example values, Copy results to paste them elsewhere, or Share to copy a link that preserves your inputs.
Is the result exact?
Calculations use standard formulas and double-precision arithmetic, then display about seven significant figures. Real-world measurements carry uncertainty, so treat results as estimates unless your inputs are exact.