Average Calculator
Calculate mean, median, mode, and weighted mean with clear step-by-step math.
Enter dataset
Use commas, spaces, line breaks, or semicolons as separators.
Results
Primary result: Arithmetic Mean
21.666667
Count
6
Sum
130
Min
10
Max
30
Range
20
Mean
21.666667
Median
22.5
Mode
30
Step-by-Step Calculation
1. Dataset
2. Sorted dataset
3. Mean
4. Median
5. Mode
Value Frequency
What is an average?
In everyday language, "average" usually means one number that summarizes a dataset. In statistics, there are several common measures of central tendency:
- Arithmetic mean: Add all values and divide by the count.
- Median: The middle value after sorting the dataset.
- Mode: The most frequent value(s).
Each measure can be the best choice depending on your data.
Mean, median, and outliers
The arithmetic mean uses every value equally, which makes it useful but also sensitive to outliers. A single extreme value can pull the mean up or down.
The median is more robust because it depends on position, not magnitude. If your data contains extreme values (for example, income data), the median often gives a better sense of the typical value.
Understanding mode
The mode is the most frequent value in a dataset.
- If one value appears most often, the dataset is unimodal.
- If multiple values tie for highest frequency, it is multimodal.
- If all values occur once, there is no mode.
Mode is especially useful for categorical or discrete data, such as the most common shoe size, favorite color, or most selected answer option.
Weighted average
A weighted average assigns different importance to each value. Instead of treating every value equally, each value is multiplied by its weight.
The formula is:
Common use cases include:
- GPA (courses with different credit hours)
- Portfolio returns (assets with different allocations)
- Course grade weighting (exams, homework, projects with different percentages)
How to use this calculator
- Enter your dataset in the values box (comma, space, or newline separated).
- Choose Basic for mean/median/mode, or Weighted to also compute weighted mean.
- If using Weighted mode, enter one zero-or-positive weight per value.
- Click Calculate.
- Review summary stats and the step-by-step formulas to understand how each result was derived.
Do not use grouped-number formatting such as 1,000; enter 1000 instead.
Interpreting results
- Use mean for balanced numeric datasets without extreme outliers.
- Use median when outliers may distort the mean.
- Use mode to identify most common values.
- Use weighted mean when observations should contribute unequally.
Related Tools
Other calculators that pair well with average and statistics practice.
Standard Deviation Calculator
Calculate population or sample standard deviation with step-by-step LaTeX solutions. Understand variance, Bessel's correction, and standard error.
Square Root Calculator
Calculate the square root of any positive number with detailed results including perfect square detection and simplified radical forms.