Calculadora de Mediana
Encuentra el valor central de una lista de números — la mediana, no afectada por valores atípicos.
What is a Calculadora de Mediana?
The median — the true middle value once a list is sorted — resists being dragged around by one extreme outlier the way a mean does, which is why household income or home price statistics are usually reported as a median, not an average.
How to use the Calculadora de Mediana
- Paste a list of numbers, separated by commas or one per line
- Press Calculate
- The numbers are sorted and the middle value returned instantly, on your device
Formula
Median = middle value of the sorted list (or the average of the two middle values if the count is even)
The list is sorted first — the order you type numbers in doesn't affect which one ends up in the middle.
Example
Seven house prices — $310k, $340k, $290k, $1.2M, $355k, $305k, $330k — average out to over $447k because of the one $1.2M outlier, but the median is $330k, a far more representative "typical" price for the other six.
Common mistakes
- Reading off the middle value of the list as typed, before it's sorted — the median only makes sense after sorting.
- Forgetting an even-count list averages its two middle values rather than picking either one alone.
- Assuming median and mean will land close together — they can differ sharply once outliers are involved.
Frequently asked questions
Why use median instead of average?
Median resists distortion from outliers. A single unusually large or small value can drag a mean far from what's actually typical, while the median — the middle value — barely moves. That's why home prices and household income are usually reported as medians.
How is the median calculated when there's an even number of values?
Sort the values, then average the two middle numbers. For 1, 2, 3, 4, the two middle values are 2 and 3, so the median is 2.5.
Does the order I enter numbers in matter?
No — the list is sorted automatically before the median is found, so entering numbers in any order gives the same result.
Can the median be a value that isn't in the original list?
Yes, when there's an even count of values — the median is the average of the two middle numbers, which can land between them rather than matching either one exactly.
Is my numbers uploaded anywhere?
No — Calculadora de Mediana runs entirely in your browser using JavaScript/WebAssembly. Your numbers is never sent to a server.