Math CalculatorsClient-Side Calculation Engine

Median Calculator

Find median, mode, and range of a number set.

Math Calculators

Median Calculator

Find the middle number (median), mode, range, and sorted numerical sequence of any set of data.

Mean (Average)
25.67
Median
25.00
Sum
154
Count / Range
6 N (R: 30)
Mode
No repeated values
Sorted Sequence
12, 15, 22, 28, 35, 42

What is the Median Calculator and How Does It Work?

The Median Calculator finds the middle value of a data set once the numbers are sorted in order. For an odd count of numbers, the median is the single middle value; for an even count, it is the average of the two middle values. It also reports the mode (most frequent value) and range.

Calculation Formula
Median = middle value of sorted data (or average of the two middle values if count is even)

Sort the numbers from smallest to largest, then find the value in the exact middle. If there are two middle values, average them.

Where:
n= The count of numbers in the data set
Middle position= (n + 1) / 2 for odd counts
Worked Calculation Examples
Odd Count of Numbers
Input:3, 7, 9, 15, 22
Output:9

Already sorted; with 5 values, the 3rd value (9) is the middle.

Even Count of Numbers
Input:4, 8, 15, 20
Output:11.5

With 4 values, the two middle values (8 and 15) are averaged: (8+15)/2 = 11.5.

Common Real-World Use Cases

Home & Salary Pricing

Median home prices or median salaries are standard because they resist distortion from a few very high or low outliers.

Data Analysis

Get a robust "typical value" for a data set that includes some extreme highs or lows.

Classroom Statistics

Find the median test score for a class alongside the mean to compare distribution shape.

How to Use the Median Calculator
  1. 1Enter your numbers separated by commas, spaces, or new lines.
  2. 2The calculator automatically sorts the values in ascending order.
  3. 3View the median, mode, sorted sequence, and range.
Pro Tips & Suggestions
  • •Median is more resistant to outliers than the mean - use it when a few extreme values could skew a simple average.
  • •If every value in your set is unique, "mode" will show that there is no repeated value.

Frequently Asked Questions

Explore Category

Math Calculators

Essential mathematical calculators for fractions, algebra, formulas, and general math.

View All Category Tools

Related Calculators & Tools