ZU CALCULATOR
Free calculators for everyday decisions ❤️ fast, clear and no sign-up required. Free calculators for everyday decisions ❤️ fast, clear and no sign-up required. Free calculators for everyday decisions ❤️ fast, clear and no sign-up required.
Free calculators for everyday decisions ❤️ fast, clear and no sign-up required. Free calculators for everyday decisions ❤️ fast, clear and no sign-up required. Free calculators for everyday decisions ❤️ fast, clear and no sign-up required.
Home / Math & General / Average Calculator
Math & General

Average Calculator

Calculate the arithmetic mean (average), median, count (N), sum (Σx), minimum, maximum, and range from any comma- or space-separated dataset.

Developed and maintained by Muhammad Zakria • Verified Formula & Worked Examples • Editorial Policy • Disclaimer

Average Calculator

Enter values Calculate
Result

|

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.

Frequently asked questions

How is the Median calculated when there is an even number of values?
When the count N is even, there is no single middle number. The calculator sorts all numbers from lowest to highest and takes the arithmetic mean of the two middle numbers. For example, in [10, 20, 30, 50], the two middle numbers are 20 and 30, so the median is (20 + 30) ÷ 2 = 25.
Can I include negative numbers and zeroes in the dataset?
Yes. Both negative numbers (such as −5.5) and zeroes (0) are valid real numbers and are included in the sum, count, mean, median, and range. Entering 0 increases the count N by 1 without changing the sum, which lowers the average of positive numbers.
How do I find a missing number needed to reach a target average?
Multiply your desired target average by the new total count (N + 1) to find the required new sum, then subtract your current Sum (Σx). For example, if 4 numbers sum to 320 (average 80) and you want an average of 85 across 5 numbers, you need 85 × 5 − 320 = 105 on the 5th value.
What is the difference between Arithmetic Mean and Weighted Average?
The arithmetic mean gives every number in your list an equal weight of 1/N. A weighted average multiplies each value by a specific importance weight (such as credit hours in a GPA or syllabus weights in a course grade) before dividing by the total weight.
Developed and maintained by Muhammad Zakria. Calculations are informational estimates based on standard formulas. Creator Profile • Editorial Policy • Disclaimer • Report an Issue