Mean Calculator: Find the Mean of Any Numbers
Finding the mean is straightforward when you have a short list of numbers. Add the values and divide by how many there are. The process becomes less obvious when some values count more than others, the data is arranged in a frequency table, or one number is missing. You may also need to compare different types of averages or understand why two calculations give different results.
This mean calculator helps with these situations through five calculation modes: List, Weighted, Grouped, Missing Value, and Geometric or Harmonic. It also provides related statistics in List Mode, so you can check more than the average alone. Use the mean calculator to work through your values and follow the calculation steps to understand where each result comes from.
Mean Calculator
Find the mean of any numbers, with the working shown.
A missing reading is left out. A genuine zero counts and pulls the mean down.
The missing value is the last number in the set.
Geometric mean is for values that multiply, such as growth factors. Use positive values only.
Sum = 72 + 85 + 91 + 68 + 84 = 400 Count = 5 Mean = 400 ÷ 5 = 80
Using the Mean Calculator
Choose the calculation mode that matches the information you have. Each mode of this mean calculator uses a different method, so selecting the correct one is important.
- List Mode: Enter your numbers to calculate their arithmetic mean and view related statistics, including the median, mode, range, and standard deviation. List Mode also works as a mean calculator with standard deviation, showing both the sample and the population standard deviation.
- Weighted Mode: Enter each value with its weight when some results contribute more than others, such as exam and coursework scores.
- Grouped Mode: Enter values with their frequencies to calculate an average from a frequency distribution.
- Missing Value Mode: Enter the known values and the required mean to work out the missing number.
- Geometric or Harmonic Mode: Select the appropriate type when calculating averages for growth factors, rates, or other situations where an arithmetic average is not suitable.
Worked Examples Using the Mean Calculator
The following examples show the type of calculation used in each mode. The results are calculated from the supplied values.
| Calculation | Values or inputs | Result |
|---|---|---|
| List mean | 72, 85, 91, 68, 84 | 80 |
| Weighted mean | 68 at 20, 72 at 30, 58 at 50 | 64.2 |
| Grouped mean | 76 with frequency 5, 77 with frequency 7, 78 with frequency 8 | 77.15 |
| Missing value | 9, 6, 7, 8, 5, x; required mean 8 | x = 13 |
| Geometric mean | 4 and 9 | 6 |
| Harmonic mean | 60 mph and 30 mph over equal distances | 40 mph |
For example, List Mode adds the five values to get 400, then divides by 5. The result is 80. In Weighted Mode, each value is multiplied by its weight before the weighted total is divided by the sum of the weights.
About the Mean
The mean is a measure of central tendency. It represents the average value of a data set and is calculated by adding all the observations and dividing the total by the number of observations.
For example, the mean of 4, 6, and 8 is 6. Their sum is 18, and there are three values, so 18 divided by 3 gives 6.
The arithmetic mean is useful when you want one value to represent a collection of numbers. However, it does not describe every feature of a data set. Two lists can have the same mean but contain very different values.
Mean, Median, and Mode
Mean, median, and mode describe different aspects of a data set:
- Mean: The sum of all values divided by the number of values.
- Median: The middle value after the numbers are arranged in order. If there are two middle values, take their average.
- Mode: The value that occurs most often. A data set can have one mode, more than one mode, or no repeated value.
Consider this list:
3, 19, 9, 7, 27, 4, 8, 15, 3, 11
The mean is 10.6, the median is 8.5, and the mode is 3. The range is 24, calculated by subtracting the smallest value, 3, from the largest value, 27.
A mean median mode calculator can help compare these measures, but remember that they answer different questions. The mean uses every value, the median identifies the middle position, and the mode identifies the most frequent value. An average calculator handles the same list when you want the mean, median, mode, and range together.
How to Calculate the Mean
To understand how to find the mean, use this basic process:
- Add all the numbers together.
- Count the number of values.
- Divide the total by the count.
The arithmetic mean formula is: Mean = Sum of all values ÷ Number of values
This is the standard definition of the arithmetic mean.
Example: Find the Mean of Five Numbers
Calculate the mean of:
72, 85, 91, 68, 84
Step 1: Add the values.
72 + 85 + 91 + 68 + 84 = 400
Step 2: Count the values.
There are 5 numbers.
Step 3: Divide the sum by the count.
400 ÷ 5 = 80
The mean is 80.
Example: Find the Mean of Two Numbers
Find the mean of 75 and 100.
Mean = (75 + 100) ÷ 2 = 175 ÷ 2 = 87.5
The result is 87.5.
Example: Find the Mean of Numbers from 1 to 100
You do not need to add every integer individually. The numbers form an evenly spaced sequence, so the mean is the average of the first and last values:
Mean = (1 + 100) ÷ 2 = 50.5
The mean is 50.5.
Weighted Mean
A weighted mean is used when some values contribute more to the final result than others. Instead of treating every observation equally, you multiply each value by its assigned weight.
This is useful for exam grades, coursework, credit-based results, and other calculations where components have different levels of importance.
The formula is: Weighted Mean = Σ(x × w) ÷ Σw
Here, x represents each value and w represents its weight.
Example: Calculate a Weighted Mean
Suppose three scores have these weights:
- Score 68 with weight 20
- Score 72 with weight 30
- Score 58 with weight 50
Multiply each score by its weight:
68 × 20 = 1360
72 × 30 = 2160
58 × 50 = 2900
Add the weighted values:
1360 + 2160 + 2900 = 6420
Add the weights:
20 + 30 + 50 = 100
Divide the weighted total by the total weight:
6420 ÷ 100 = 64.2
The weighted mean is 64.2.
A weighted mean calculator is useful when you need to account for different contributions instead of giving every score equal importance.
Weighted Mean for Exam and Coursework Scores
Suppose an exam score of 70 contributes 60% of the result, while coursework score of 80 contributes 40%.
Weighted Mean = ((70 × 60) + (80 × 40)) ÷ (60 + 40) = (4200 + 3200) ÷ 100 = 74
The weighted result is 74.
The ordinary mean of 70 and 80 is 75. That is not the correct result when the two components have different weights. Using an unweighted calculation would ignore the stated 60% and 40% contributions.
Grouped Mean
A grouped mean is calculated from a frequency distribution. Instead of listing every individual observation, the data is summarized by values or class intervals and their frequencies.
For data arranged by individual values, multiply each value by its frequency, add those products, and divide by the total frequency. This is the method for the mean of grouped data when each value has a frequency.
The formula is: Grouped Mean = Σ(f × x) ÷ Σf
Here:
- f is the frequency of a value.
- x is the value.
- Σ means to add the products and frequencies.
Example: Calculate a Mean from Frequencies
Suppose the data contains:
- Value 76 appears 5 times.
- Value 77 appears 7 times.
- Value 78 appears 8 times.
Multiply each value by its frequency:
76 × 5 = 380
77 × 7 = 539
78 × 8 = 624
Add the products:
380 + 539 + 624 = 1543
Add the frequencies:
5 + 7 + 8 = 20
Now divide:
1543 ÷ 20 = 77.15
The grouped mean is 77.15.
A grouped mean calculator applies this frequency-based method. It is important to distinguish frequency data from class intervals. When a frequency table contains intervals rather than individual values, the midpoint of each interval is used as an estimate. The resulting mean is an estimate because the original observations within each interval are not known.
For an interval, calculate its midpoint by adding the lower and upper boundaries and dividing by 2. Then multiply that midpoint by the interval's frequency and apply the grouped-mean formula.
Find a Missing Value
You can work backward from a known mean to find a missing number. The key is to calculate the total that the complete data set must have, then subtract the values you already know. This is how to find the missing value mean when one number is unknown.
Use this formula:
Required Total = Mean × Number of Values
Then:
Missing Value = Required Total − Sum of Known Values
Example: Find the Missing Number
Suppose the values are:
9, 6, 7, 8, 5, x
The required mean is 8.
Step 1: Calculate the required total.
There are 6 values, so:
8 × 6 = 48
Step 2: Add the known values.
9 + 6 + 7 + 8 + 5 = 35
Step 3: Subtract the known total from the required total.
48 − 35 = 13
The missing value is 13.
This method also works when the missing value appears at the beginning or in the middle of a list. Its position does not change the calculation. To find the missing number mean, first establish the total required by the target average, then subtract the known values.
Example: Find a Second Missing Value
Suppose the values are 18, 41, x, 36, 31, 24, 37, 35, 27, 36, and the required mean is 31.
There are 10 values, so the required total is 31 × 10 = 310. The known values add to 285. The missing value is 310 − 285 = 25.
Example: Find the First Number
Suppose the mean of 100 numbers is 45, and the mean of the last 99 numbers is 44. The total of all 100 numbers is 45 × 100 = 4500. The total of the last 99 numbers is 44 × 99 = 4356. The first number is 4500 − 4356 = 144.
Geometric and Harmonic Mean
The arithmetic mean is not the only way to calculate an average. Geometric and harmonic means are useful for different types of data.
Geometric Mean
The geometric mean is calculated by multiplying positive values and taking the nth root of their product. It is often used for proportional changes and growth factors.
Geometric Mean = ⁿ√(x₁ × x₂ × … × xₙ)
For example, the geometric mean of 4 and 9 is:
√(4 × 9) = √36 = 6
The result is 6.
A geometric mean calculator is appropriate when values combine multiplicatively, such as growth factors across several periods. For example, growth factors of 1.10, 0.80, and 1.30 produce a geometric average growth rate of 4.59% per year.
The geometric mean is generally used with positive values in these calculations. It should not be treated as a replacement for the arithmetic mean in every situation.
Harmonic Mean
The harmonic mean is calculated by dividing the number of observations by the sum of their reciprocals.
Harmonic Mean = n ÷ (1/x₁ + 1/x₂ + … + 1/xₙ)
It is useful for averaging rates when the relevant quantities, such as distances, are equal.
For example, suppose a vehicle travels one equal-distance part of a journey at 60 mph and returns the same distance at 30 mph.
Harmonic Mean = 2 ÷ (1/60 + 1/30) = 2 ÷ (3/60) = 40
The average speed for the complete journey is 40 mph.
A harmonic mean calculator can help with this type of rate calculation. The important condition in this example is that the two distances are equal. Simply taking the arithmetic average of 60 and 30 would give 45 mph, which would not represent the average speed over the full equal-distance journey.
Combined Mean of Two or More Groups
A combined mean brings together the averages of separate groups. You cannot usually get the correct overall mean by simply averaging the group means. Each group mean must be multiplied by its group size.
Use this formula:
Combined Mean = (n₁ × x̄₁ + n₂ × x̄₂) ÷ (n₁ + n₂)
Here, n₁ and n₂ are the group sizes, while x̄₁ and x̄₂ are their means.
Example: Combine Two Groups
Suppose:
- Group 1 contains 3 numbers with a mean of 10.
- Group 2 contains 4 numbers with a mean of 12.
Multiply each mean by its group size:
3 × 10 = 30
4 × 12 = 48
Add the totals and divide by the combined number of values:
(30 + 48) ÷ (3 + 4) = 78 ÷ 7 = 11.14
The combined mean is 11.14 when rounded to two decimal places.
Combined Mean for Two Student Groups
Suppose one group has 12 students with a mean score of 67.4, while another has 15 students with a mean score of 72.3.
Combined Mean = ((12 × 67.4) + (15 × 72.3)) ÷ (12 + 15) = (808.8 + 1084.5) ÷ 27 = 1893.3 ÷ 27 = 70.12
The combined mean is 70.12 when rounded to two decimal places.
A combined mean calculator follows the same principle: account for the size of each group before combining their averages. This prevents a smaller group from having the same influence as a larger group.
Working Backward from a Mean
Sometimes you know the mean and the number of observations, but you need to find the total or the number of values.
To find the total, multiply the mean by the count:
Total = Mean × Count
For example, if 6 numbers have an average of 15:
6 × 15 = 90
Their total is 90.
You can also find the number of observations if the total and mean are known:
Count = Total ÷ Mean
For a total of 99 and a mean of 11:
99 ÷ 11 = 9
There are 9 values.
If the mean of 9 numbers is 14 and you remove 12, the new mean is 14.25, because (126 − 12) ÷ 8 = 14.25.
These relationships are useful when checking a calculation or solving a problem where the original list is incomplete.
When the Mean Can Be Misleading
The mean uses every value in a data set, which is useful but can also make it sensitive to unusually high or low observations. An extreme value can pull the mean away from where most observations are located.
Consider five salaries with an average of 35,000. If another salary of 1,000,000 is added, the new mean becomes approximately 195,833.
That new mean is mathematically correct, but it may not describe what a typical person in the group earns. The unusually high value has increased the average substantially.
In this type of situation, the median may provide a better description of the typical observation because it is less affected by extreme values.
The mean can also be misleading when:
- The data contains a very wide range of values.
- A few unusually high or low observations affect the result.
- Different groups have been combined without considering their sizes.
- The values represent categories or ranks that should not be treated as ordinary numerical measurements.
An average of numbers calculator can give you a useful summary, but you should also consider the distribution of the values. The mean is one measure of the center, not a complete description of the data.
What the Mean Calculator Does Not Do in Version 1
The tool focuses on five calculation modes rather than covering every statistical measure or analysis method.
It does not provide separate modes for median, mode, trimmed mean, quartiles, or outlier detection. List Mode does show related statistics, but those results are not independent calculation modes. Standard deviation is also available as a related statistic in List Mode, not as a separate full mode.
For more detailed statistical analysis, you may need additional calculations beyond the results provided by this tool.
Why Mean Results Differ
Two calculations can produce different means even when they use similar-looking numbers. The difference often comes from how the data is weighted, grouped, or interpreted.
Arithmetic, Geometric, and Harmonic Mean Compared
| Type | When to use it | Formula | Verified example |
|---|---|---|---|
| Arithmetic mean | Ordinary numerical values with equal importance | Sum of values ÷ number of values | 72, 85, 91, 68, 84 = 80 |
| Geometric mean | Positive values that combine proportionally, such as growth factors | nth root of the product | 4 and 9 = 6 |
| Harmonic mean | Rates based on equal quantities, such as equal-distance speeds | Number of values ÷ sum of reciprocals | 60 mph and 30 mph over equal distances = 40 mph |
Common Reasons for Different Results
- Arithmetic mean versus weighted mean
- Individual values versus grouped data
- Sample versus population standard deviation
- Rounding
- Zero versus a missing value
An arithmetic mean gives each value equal importance. A weighted mean accounts for different contributions. If exam and coursework scores have different percentages, use their weights rather than treating them equally.
A list of individual observations can produce an exact arithmetic mean. When observations are available only as class intervals and frequencies, the midpoint method produces an estimate because the original values inside each interval are unknown.
Standard deviation describes how spread out values are around the mean. A population standard deviation uses the full population and divides the sum of squared deviations by n. A sample standard deviation uses a sample to estimate population variability and divides by n − 1 before taking the square root. These methods can produce different results for the same list.
For the list 72, 85, 91, 68, and 84, the sample standard deviation is 9.62, while the population standard deviation is 8.60.
A result rounded to two decimal places may differ slightly from one displayed to more decimal places. Use the unrounded value for further calculations when possible.
Zero is a numerical observation and should be included when it is genuinely part of the data. A missing value is unknown and should not automatically be entered as zero. Treating an unknown value as zero can change the mean.
Which Calculation Mode Should You Use?
| Mode | What it accepts | What it returns |
|---|---|---|
| List | A list of individual numbers | Arithmetic mean and related statistics |
| Weighted | Values and their corresponding weights | Weighted mean |
| Grouped | Values and their frequencies | Grouped mean |
| Missing Value | Known values and a required mean | Missing number |
| Geometric or Harmonic | Positive values for the selected mean type | Geometric or harmonic mean |
Frequently Asked Questions
These questions cover the operations this mean calculator supports and the traps students meet most often.
Final Thought
The correct mean depends on the type of data and how each value contributes to the result. Use the arithmetic mean for ordinary lists, a weighted mean for values with different importance, a grouped mean for frequency data, and geometric or harmonic means when the calculation calls for them. Use the mean calculator to check your results and follow the working behind each answer.
