This mean and stdev calculator works out the mean, median, mode, range and standard deviation of any data set. Paste your numbers to get the mean, median and mode together — a free standard deviation calculator using the mean, with sorted data and full working shown.
Mean Median Mode Range Calculator
Paste a data set and get the mean, median, mode and range in one run — with the sorted data and every step shown.
Enter your values
Fill in the fields below — the result appears with every step shown.
Your result will appear here
Enter your values above, then press Calculate — or press Enter in any field.TinyExe · Mean Median Mode Range Result
Calculated locally in your browser
—
Name
—
Data set (comma or space separated)
—
Input 2
—
Result
—
How this was calculated
What to do next
TinyExe PDF & PNG exports carry the TinyExe logo and tinyexe.com header & footer.
Runs 100% in your browser — your numbers never leave this tab; nothing is uploaded or stored.
The short answer
To find the mean, add all values and divide by the count; the median is the middle sorted value, the mode is the most frequent value, and the range is the maximum minus the minimum. For 4, 8, 6, 8, 10, 8: mean 7.33, median 8, mode 8, range 6.
- Mean = sum / count
- Median resists outliers; the mean does not
- Range = maximum - minimum
Which statistic to report
Reference values for this calculator.
| Statistic | What it shows | Sensitive to outliers? |
|---|---|---|
| Mean | Balanced centre | Yes |
| Median | Middle value | No |
| Mode | Most common value | No |
| Range | Total spread | Yes, very |
The formula
The exact formula this calculator uses — every variable in it is explained in the card below.
The formula
Ideas enhancement: reports all four headline statistics together plus sorted data in the steps, so skew is visible at a glance instead of returning a single average.
Worked examples
Worked examples with the full working shown — try them in the calculator to check.
Example 1
Six test scores
Data 4, 8, 6, 8, 10, 8
| Calculation | Steps |
|---|---|
| Sorted data: 4, 6, 8, 8, 8, 10. Mean = sum 44 / count 6 = 7.3333. Median = middle sorted value = 8. Range = max 10 - min 4 = 6. | Result: 7.3333 (mean). Median 8, mode 8, range 6. |
Result
Example 2
Three values, no mode
Data 1, 2, 9
| Calculation | Steps |
|---|---|
| Sorted data: 1, 2, 9. Mean = sum 12 / count 3 = 4. Median = middle sorted value = 2. Range = max 9 - min 1 = 8. | Result: 4 (mean). |
Result
Example 3
Negatives and decimals set
Data -5, 0, 5, 10
| Calculation | Steps |
|---|---|
| Sorted data: -5, 0, 5, 10. Mean = sum 10 / count 4 = 2.5. Median = middle sorted value = 2.5. Range = max 10 - min -5 = 15. | Result: 2.5 (mean). |
Result
How to use this calculator
Step 1
Type or paste the data set, separated by commas or spaces.
Step 2
Read the headline mean first.
Step 3
Compare it with the median: a large gap signals skew or outliers.
Step 4
Check the mode for the most common value, if one exists.
Step 5
Use the range to see the full spread from smallest to largest.
Frequently asked questions
How do you find the mean?
Add every value together and divide by how many values there are. For 4, 8, 6, 8, 10 and 8 the sum is 44 and the count is 6, so the mean is 44 / 6 = 7.33.
What is the median of an even number of values?
Sort the data and average the two middle values. With six values the median is the average of the 3rd and 4th sorted values.
Can a data set have no mode or several modes?
Yes. If every value appears once there is no mode; if two values tie for most frequent the set is bimodal, and this calculator lists every tied mode.
Mean or median: which is better?
The median is usually better for skewed data such as incomes, because one very large value can drag the mean upward while the median stays at the middle person.
What does the range tell you?
The range is the maximum minus the minimum. It describes total spread in one number but is driven entirely by the two extreme values.
About this calculator
A mean median mode range calculator summarises a list of numbers with the four starter statistics: the mean (ordinary average), the median (middle value), the mode (most frequent value) and the range (spread from smallest to largest). The headline result is the mean, with the other three shown alongside.
The mean balances every value equally, which makes it natural for roughly symmetric data but vulnerable to outliers: one salary of a million in a list of ten wages pulls the mean far above what most people earn. The median avoids that trap by taking the middle sorted value, so comparing mean and median is the fastest skew check there is.
The mode answers a different question — what occurs most often — which is why it is the only one of the four that works for non-numeric categories like shoe sizes sold. The range is the crudest spread measure, set entirely by the two extremes, so it should always be read next to the median rather than alone.
Use it for class test scores, survey ratings, daily temperatures, sales figures or any short list of numbers where you need a quick centre-and-spread summary before doing deeper statistics.
How to calculate it yourself
Step 1
Write the data set out and count how many values it contains.
Step 2
Add all values for the sum, then divide by the count for the mean.
Step 3
Sort the values; take the middle one (or average the middle pair) for the median.
Step 4
Count repetitions of each value; the most frequent is the mode.
Step 5
Subtract the smallest sorted value from the largest for the range.
Real-life examples
Class quiz results
A teacher records six quiz scores of 4, 8, 6, 8, 10 and 8 and wants the class average plus the most common score for her report.
Sorted data: 4, 6, 8, 8, 8, 10. Mean = sum 44 / count 6 = 7.3333. Median = middle sorted value = 8. Range = max 10 - min 4 = 6.
Result: 7.3333 (mean). She reports a mean of 7.33 and a mode of 8.
Daily step counts
A walker logs -5 is impossible, so instead she logs four days of net elevation gain in hundreds of metres: -5, 0, 5 and 10 (negative means a descent day).
Sorted data: -5, 0, 5, 10. Mean = sum 10 / count 4 = 2.5. Median = middle sorted value = 2.5. Range = max 10 - min -5 = 15.
Result: 2.5 (mean). Mean gain is 2.5 hundred metres per day.
Ideas & use cases
- Compare mean and median on wage or house-price data to expose skew before quoting an average.
- Run the calculator before and after removing a suspected outlier to see how much it moved the mean.
- Use the mode on product data — most-sold size, most common rating — where an average would be meaningless.
Limitations & sources
- Summarises one data set with unweighted values only; it does not compute weighted means, quartiles, standard deviation or grouped-frequency estimates.
Sources: Standard descriptive statistics definitions: NIST/SEMATECH e-Handbook of Statistical Methods, Section 1.3.5
