Median Calculator
Find the middle value of a list in your browser. The page sorts numerically; an even count averages the middle two. Nothing is uploaded.
What this median calculator does
The page sorts the pasted values numerically and reads the middle one, which is the median: the point half the values sit above and half below. An even count has no single middle, so the page averages the middle two — one, two, three, four reports two point five. Sorting is numeric, not alphabetical, so ten correctly outranks nine. Bad tokens are refused by name and an empty box is refused rather than centred on nothing.
How to use it
Median Calculator: paste the values to order into the box above, and press Run to get the median below.
Worked example
Input:
1, 2, 3, 4
Output:
Median = 2.5
Why it runs in your browser
The conversion happens on this page with JavaScript. Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere. The page reads values to order and returns median; reloading the page discards both.
The page sorts the pasted values numerically and reads the middle one, which is the median: the point half the values sit above and half below. An even count has no single middle, so the page averages the middle two — one, two, three, four reports two point five. Sorting is numeric, not alphabetical, so ten correctly outranks nine. Bad tokens are refused by name and an empty box is refused rather than centred on nothing.
Find the middle value of a list in your browser. The page sorts numerically; an even count averages the middle two. Nothing is uploaded.
How to use it
Median Calculator: paste the values to order into the box above, and press Run to get the median below.
Why it runs in your browser
The conversion happens on this page with JavaScript. Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere. The page reads values to order and returns median; reloading the page discards both.
What to Expect
Best for
- Converting values to order to median when the data is already on screen.
What this tool keeps
- Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere.
Sample input
1, 2, 3, 4
Sample output
Median = 2.5
Frequently asked questions
How do I use the median calculator?
Median Calculator: paste the values to order into the box above, and press Run to get the median below.
Is my input uploaded?
No. The text is parsed on this page with JavaScript and is never posted to a server.
Is there a size limit?
Yes: 5 MB per run. Larger input is refused with a message rather than freezing the tab.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.