CalcyHQ Logo CalcyHQ
Statistical Analytics

Mean vs Median Comparison.

Learn how statistics define center values. Discover why the mean represents the mathematical average, while the median isolates the true midpoint.

Strategic Comparison Table

Understand how the two most common measures of central tendency behave across different datasets.

Feature Arithmetic Mean Median
Calculation Basis Sum of all values divided by count of values. The physical middle value when values are sorted.
Formula x̄ = Σx_i / N Middle index: (N + 1) / 2
Outlier Sensitivity Highly sensitive (extreme values distort the result). Resistant to outliers (completely ignores extreme scale).
Mathematical Properties Can be used for further algebraic analysis. Difficult to manipulate algebraically in multi-sample sets.

Advantages: Includes every single data point in calculation. Essential for probability modeling and standard deviations.

Disadvantages: Easily skewed by a single massive or tiny outlier, misrepresenting typical values.

Median Characteristics

Advantages: Highly robust. Provides the true midpoint for skewed metrics like household incomes or house pricing.

Disadvantages: Ignores the actual numeric scale of extreme values, as it only checks order and index position.

Worked Scenario: Analyzing Salary Outliers

Consider a small company with 5 employees earning the following annual salaries: $40,000, $45,000, $50,000, $55,000, and $250,000 (CEO) Let's compare the mean and median representations of this dataset:

Arithmetic Mean

Sum of all salaries divided by 5:

Calculated as: ($440,000) / 5 = $88,000

* Highly skewed. Nobody actually earns around $88k.

Median Midpoint

Sort list and identify the middle value (3rd item):

Median Salary: $50,000

Position: index 3 in [$40k, $45k, $50k, $55k, $250k]

* Realistic. Accurately represents the typical employee salary.

The Strategy Recommendation

Use the mean when analyzing symmetric physical dimensions or measurements. Use the median when presenting economic demographics or financial distributions subject to high extremes.

Calcy AI Contextual Assistant