INDEPENDENT EXPLAINERS · GLOBAL EDITIONEvidence first. Perspective follows.
All tools

Median of numbers

Processed in this browser. Nothing is uploaded.

Example

Example: 1, 3, 9 → 3

One value per line; use a dot for decimals. Maximum 1,000,000 characters.

How to use this result

Sort the supplied values numerically and return the middle one, or the average of the two middle values for an even-sized list. Use it to describe the center of a list when a few extreme values would distort the mean.

Worked example

text: 1, 3, 9
3

Limits and edge cases

Separate numbers with whitespace, commas or semicolons. Commas are list separators; enter decimals with a point. Repeated values count as separate observations. The median is not the midpoint between the smallest and largest value.