Mean median mode calculator: compute mean, median, mode, and range for any set of numbers instantly and accurately. Free, private, runs in your browser.
Updates automatically as you type.
Calculated in your browser; your inputs are not sent to us. Privacy
Results will appear here.
✓Basic automated checks passed. Formula accuracy is not established by these checks. See check scope and results
Calculation details
Every figure above is calculated locally in your browser from the assumptions shown. No inputs are sent anywhere. See the methodology section below for how this tool works.
Use this resultShare the current inputs, or ask ChatGPT to explain the calculation in context.
Ask an AI to explain this result
Share this result
Planning estimate only, not financial, tax, or legal advice. Verify assumptions and current rules before making decisions.
This tool runs in your browser. Your calculator inputs and results are never transmitted to us or to ad/affiliate partners. Ads and sponsored links may set third-party cookies to serve and measure them, but they never receive your calculation values. If you explicitly save a scenario, its permitted fields stay in local browser storage until you clear them. See our Privacy Policy.
Use this result
Share the current inputs or ask ChatGPT to explain the calculation in context.
Mean median mode calculator: compute mean, median, mode, and range for any set of numbers instantly and accurately. Free, private, runs in your browser.
BoringToolsKit. “Mean Median Mode Calculator.” boringtoolskit.com/mean-median-mode-calculator/. Free to reference in articles, syllabi, and answer posts with a link.
Privacy: Inputs and results stay in this browser. Any future sponsored recommendation or advertisement will be clearly labeled and kept separate from the calculation.
Worked example: five test scores, step by step
Enter 3, 7, 7, 12, 21. The calculator sorts them to 3, 7, 7, 12, 21, then sums: 3+7=10, 10+7=17, 17+12=29, 29+21=50. With count = 5, the mean is 50/5 = 10.
The median is the middle of the sorted list. With 5 values, the middle index is 5 >> 1 = 2 (zero-based), which is 7. Because the count is odd, no averaging step is needed; with an even count like 4, 8, 10, 30 it would return (8+10)/2 = 9.
The mode comes from a frequency table: 3 appears once, 7 appears twice, 12 once, 21 once. The maximum count is 2, and only 7 reaches it, so the mode is 7. The range is max minus min: 21-3 = 18. The final output reads: Count 5, Sum 50, Mean 10, Median 7, Mode 7, Range 18, Min 3, Max 21. Notice the mean (10) sits well above the median (7) because the 21 pulls the average upward, which is exactly why the calculator shows both.
Where the single-mode rule breaks down
The mode logic reports the single most common value (or values) and says 'none' when every count equals 1. That is fine for small lists, but it hides two classic traps. First, with 2, 2, 5, 8, 8 the maximum count is 2 and both 2 and 8 tie, so the tool returns '2, 8' rather than picking one; a lesson plan expecting exactly one mode will need to handle that answer. Second, mode is nearly useless on continuous data: ten heights like 170.2, 170.4, 171.0 cm will almost never repeat, so you get 'none' even though the data is tightly clustered.
Precision is the other edge case. Values are rounded to at most 4 decimal places, so 1/3 averages print as 0.3333 rather than repeating forever. Very large or tiny entries (above about 1e308 or below 1e-308) are dropped as non-finite rather than inflating the sum, and blank or non-numeric tokens are silently skipped, so '12, , abc, 14' computes over just 12 and 14. For heavy-tailed money or income data, the median is usually the honest headline; for symmetric data the mean and median converge and either works.