Average Calculator
Calculate the arithmetic mean (average), median, count (N), sum (Σx), minimum, maximum, and range from any comma- or space-separated dataset.
Average Calculator
Enter values Calculate|
How the Arithmetic Mean (Average), Median & Range Are Calculated
In statistics and everyday data analysis, the word "average" usually refers to the arithmetic mean ($\bar{x}$)—the sum of all observations divided by the total number of observations ($N$). However, because a single extreme outlier can pull the arithmetic mean sharply upward or downward, the Average Calculator computes five descriptive summary statistics simultaneously:
$$\text{Arithmetic Mean } (\bar{x}) = \frac{1}{N}\sum_{i=1}^{N} x_i = \frac{x_1 + x_2 + \dots + x_N}{N}$$
- Median (Middle Value): When the dataset is sorted in ascending order ($x_{(1)} \le x_{(2)} \le \dots \le x_{(N)}$), the median is the exact middle value $x_{((N+1)/2)}$ if $N$ is odd, or the average of the two central values $\frac{x_{(N/2)} + x_{(N/2 + 1)}}{2}$ if $N$ is even.
- Sum ($\sum x$) & Count ($N$): The cumulative total and sample size of valid numeric entries.
- Minimum, Maximum & Range: $\text{Range} = x_{\max} - x_{\min}$, measuring the full span of the dataset.
Worked Example: Dataset of 5 Values (12, 18, 24, 30, 46)
- Count ($N$): $5\text{ values}$.
- Sum ($\sum x$): $12 + 18 + 24 + 30 + 46 = \mathbf{130}$.
- Arithmetic Mean ($\bar{x}$): $130 \div 5 = \mathbf{26.00}$.
- Median (3rd sorted value): $\mathbf{24.00}$.
- Min / Max / Range: $\min = 12$, $\max = 46$, $\text{Range} = 46 - 12 = \mathbf{34}$.
When to Use the Mean vs. the Median
In a symmetric dataset (such as a normal bell curve), the mean and median are identical. In a skewed dataset—such as household incomes, home sale prices, or response latencies—where a few values are much larger than the rest, the mean is pulled toward the long tail ($\text{Mean} > \text{Median}$), making the median a more representative measure of the "typical" observation. To measure how tightly or widely your data points cluster around the mean, run the same dataset in our Standard Deviation Calculator, or use the Average Grade Calculator and Weighted Grade Calculator for academic scores.
When to Use Arithmetic Mean vs. Median for Skewed Data
While the arithmetic mean (sum divided by count) uses every data point in your dataset, that same property makes it highly sensitive to extreme outliers. Consider five neighborhood home sales: $310k, $325k, $340k, $355k, and $1,920k. The arithmetic mean is $650,000—a figure higher than 80% of the homes on the street—whereas the median (middle value) is $340,000, which accurately reflects the typical house. Whenever your Mean and Median diverge sharply, inspect the Range (Max − Min) and measure dispersion using our Standard Deviation Calculator. For credit-weighted academic averages, use our GPA Calculator.