跳转到主要内容
所有计算器

均值、中位数、众数计算器

求任何数据的均值、中位数、众数和极差

最后验证: 精度已验证
在您的浏览器中计算 — 我们从不存储您的数据
10 numbers entered
Try:
Mean (Average)
0.00
Median (Middle)
0.00
Mode (Most Frequent)
15
Frequency Distribution
1
12
3
15
2
18
1
19
1
21
1
22
1
24
Mean Calculation
(12 + 15 + 18 + 15 + 22 + ...) ÷ 10 = 179 ÷ 10 = 17.9000
Median Calculation
Sorted: 12, 15, 15, 15, 18, 18, 19, 21, ...
Middle values: 18 and 18 → (18 + 18) ÷ 2 = 18
Mode Analysis
15 calculators.mean-median-mode.appearsXTimes
Sum
179
Range
12
Min
12
Max
24

When to Use Each Measure

calculators.mean-median-mode.meanLabel
calculators.mean-median-mode.meanDesc
calculators.mean-median-mode.medianLabel
calculators.mean-median-mode.medianDesc
calculators.mean-median-mode.modeLabel
calculators.mean-median-mode.modeDesc

Formulas

Mean
x̄ = Σx / n
Sum of values ÷ count
Median (odd n)
x[(n+1)/2]
Middle value when sorted
Median (even n)
(x[n/2] + x[n/2+1]) / 2
Average of two middle values
Range
max - min
Spread of data
来源与方法
公式: Mean = Σx/n; Median = middle value; Mode = most frequent

Measures of central tendency

来源: Descriptive statistics fundamentals

How to Use the Mean Median Mode Calculator

The mean, median, mode calculator analyzes any dataset to find all measures of central tendency at once. Enter your numbers and instantly see the mean, median, mode, range, standard deviation, and more with a visual distribution.

Measures of Central Tendency

These statistics describe the "center" or typical value of a dataset:

Mean (Average)

The sum of all values divided by the count:

Mean = Sum of values / Number of values

Example: Mean of 2, 4, 6, 8 = (2+4+6+8)/4 = 5

Median (Middle Value)

The middle value when data is sorted:

  • Odd count: The exact middle number
  • Even count: Average of the two middle numbers

The median is useful when data has outliers.

Mode (Most Frequent)

The value that appears most often:

  • A dataset can have no mode (all unique values)
  • One mode (unimodal)
  • Multiple modes (bimodal, multimodal)

Range

The difference between the maximum and minimum values:

Range = Maximum - Minimum

When to Use Each Measure

  • Mean: Best for symmetric data without outliers
  • Median: Best for skewed data or data with outliers
  • Mode: Best for categorical data or finding the most common value

Related Calculators

For variance and standard deviation, use our standard deviation calculator. For statistical significance, try our p-value calculator.

常见问题

Use mean for symmetric data without outliers. Use median when data is skewed or has outliers. Example: salaries at a company where most earn $50K but the CEO earns $10M - the median better represents typical salary. Mean would be misleadingly high.

保持更新

将新计算器和提示发送到您的收件箱。