MATH & EVERYDAY TOOLS

Mean & Median Calculator

Paste numbers to calculate the mean, median, sum, count, minimum and maximum with an explanation.

Enter your values

Use 1000.5, not 1,000.5. Commas separate numbers.

Calculation steps

Sorted values

Mean versus median

The arithmetic mean is the sum divided by the count. To find the median, sort the numbers. With an odd count, choose the middle value. With an even count, average the two middle values.

Worked example

For 2, 4, 6 and 100, the sum is 112 and the mean is 28. The median is (4 + 6)/2 = 5. The large value 100 raises the mean much more than the median; this is why the measures answer different questions.

Input format

Separate values with commas, spaces, semicolons or line breaks. Use a dot as the decimal separator and omit thousands separators: enter 1000.5, not 1,000.5. Negative numbers and scientific notation such as 1e3 are accepted. Up to 10,000 values, each between −1 trillion and +1 trillion, are supported.

Are repeated values counted?

Yes. Each occurrence is an observation. This is an unweighted mean, not a weighted average. Results use floating-point arithmetic and are rounded for display. The sorted preview displays only the first 100 values, but every valid input is included in the calculation.

Updated 25 October 2026. Calculations run in your browser; inputs are not submitted to our server. Save result optionally stores an input and result snapshot on your device.

Methods and validation scope

Choose a useful summary for your list

See how one large value changes the mean

Suppose five checkout waits are 4, 5, 5, 6 and 30 minutes. The total is 50 minutes, so the mean is 10 minutes. The middle value in order is 5 minutes, the median. The 30-minute wait raises the mean; neither summary explains the cause of that wait.

Even-sized lists have two middle values

For 12, 8, 10 and 6, the sorted list is 6, 8, 10, 12. Both the mean and median are 9; the median is (8 + 10) ÷ 2. Repeated values are counted each time: 5, 5, 5, 9 has a mean of 6 and a median of 5.

Keep the unit and observation definition consistent

Enter one observation per item, using commas, spaces, semicolons or line breaks. Write 1000.5 without a thousands separator: “1,000.5” is parsed as two observations. Blank gaps are ignored, so enter 0 explicitly when zero is a real observation. Do not combine dollar values with percentages in one list.

Averages of averages can be misleading

A group of 2 people with mean 10 and a group of 8 with mean 20 have a combined mean of (2 × 10 + 8 × 20) ÷ 10 = 18. Entering just 10 and 20 here gives 15 because this tool is unweighted. Enter the raw observations or calculate the weighted total separately. The tool does not remove outliers automatically.

Continue with a related tool

Examples and input scope reviewed 25 October 2026. Calculation methods and verification scope

Continue with a related calculation

Unexpected result? Tell us the inputs and what you expected.