Skip to main content
EverydayToolsSIMPLE • FREE • FAST
HomeCategories
Search tools...
  1. Home
  2. Math & Statistics
  3. Average Calculator
Advertisement
Loading...
Advertisement
Loading...

Calculate mean, median, mode, and advanced statistics from any set of numbers

The average calculator is one of the most universally useful tools in mathematics and everyday life. Whether you are a student averaging exam grades, a business analyst finding the mean of quarterly sales figures, a scientist analyzing experimental data, or simply someone trying to split a bill fairly, understanding averages is essential. This calculator goes far beyond a simple mean — it computes a full statistical profile of your dataset including median, mode, range, standard deviation, geometric mean, harmonic mean, and root mean square (RMS), all in real time as you type. Averages, or measures of central tendency, summarize a dataset by describing its center point. The three most common are the arithmetic mean (the classic sum-divided-by-count average), the median (the middle value when data is sorted), and the mode (the most frequently occurring value). Each has different strengths. The mean is mathematically convenient and works well for symmetric distributions. The median is more robust to outliers — a single very high or very low value shifts the mean dramatically but barely moves the median. The mode is useful for categorical or count data, telling you what value is most typical. Beyond these central measures, understanding the spread of your data is equally important. The range (max minus min) gives a quick sense of how spread out your values are. Standard deviation — both population and sample — measures how far values typically deviate from the mean. A small standard deviation means values cluster tightly around the mean; a large one means they are spread widely. Our calculator computes both the population standard deviation (for when your data is the full population) and the sample standard deviation (for when your data is a sample from a larger population, using Bessel's correction with n-1 in the denominator). For specialized use cases, we also calculate the geometric mean — the nth root of the product of all values, useful for averaging growth rates, ratios, and percentages — and the harmonic mean, which is the reciprocal of the arithmetic mean of reciprocals, ideal for averaging rates and speeds. The root mean square (RMS, also called quadratic mean) is widely used in physics and engineering. When all you need is a simple mean but your values have different levels of importance, the weighted average mode lets you assign a weight to each number so more important values count proportionally more. Our tool accepts numbers in any convenient format: paste a comma-separated list, space-separated values, numbers on separate lines, or even mixed delimiters — we automatically extract all valid numbers from your input. You can also switch to list builder mode to add numbers one by one with a single keypress, build up your dataset interactively, and remove individual entries. The precision control lets you choose between 0 and 5 decimal places for all outputs. Once you have your results, copy everything to clipboard in one click, export to CSV for spreadsheet analysis, or print a clean results page. The distribution chart shows each value in your dataset as a horizontal bar, color-coded to show whether it falls above or below the mean, with outliers (values more than two standard deviations from the mean) highlighted in red. The donut chart shows where your mean falls within the overall range of your data, giving instant visual intuition about whether your average is central or skewed toward one end.

Understanding Averages and Statistics

What Is an Average?

An average is a single number that represents or summarizes a set of numbers. The most common type is the arithmetic mean: add all the values together and divide by how many there are. For example, the average of 10, 20, and 30 is (10+20+30)/3 = 20. However, there are multiple types of averages suited to different situations. The median is the middle value in a sorted list, which is preferred when data has outliers. The mode is the most frequently occurring value, useful for discrete datasets. The geometric mean is preferred for rates of change and ratios. The harmonic mean suits averages of rates and speeds. Choosing the right type of average for your data is just as important as computing it correctly.

How Are Averages Calculated?

Arithmetic mean: sum all n values and divide by n. Median: sort the values ascending; if n is odd, the median is the middle value; if n is even, it is the average of the two middle values. Mode: tally the frequency of each value; the mode is the value(s) appearing most often (no mode if all appear once). Range: subtract the minimum from the maximum. Population standard deviation: compute the mean of the squared deviations from the mean, then take the square root. Sample standard deviation: same but divide by n-1 instead of n (Bessel's correction). Geometric mean: multiply all values together and take the nth root. Harmonic mean: divide n by the sum of the reciprocals of all values. Weighted mean: multiply each value by its weight, sum those products, then divide by the sum of all weights.

Why Does Choosing the Right Average Matter?

Using the wrong type of average can lead to misleading conclusions. If you have a dataset of salaries where one executive earns ten times what everyone else does, the arithmetic mean will be much higher than what most employees actually earn — the median better represents the 'typical' salary. If you are averaging annual growth rates of an investment (e.g., +50%, -33%, +20%), the geometric mean gives the correct compound average return while the arithmetic mean overstates performance. If you are averaging speeds for a journey (60 mph one way, 40 mph the other), the harmonic mean gives the correct overall average speed. Understanding when to use mean vs. median vs. geometric mean is a critical data literacy skill.

Limitations and Caveats

All averages are summaries, and summaries lose information. Two datasets can have identical means but completely different distributions — for example, {5, 5, 5} and {0, 5, 10} both have a mean of 5 but very different spreads. This is why standard deviation, range, and the full distribution chart matter. The geometric mean is only defined for positive values; including zero or negative numbers will produce no geometric mean result. The harmonic mean is only defined for non-zero values. The sample standard deviation (n-1) is the appropriate measure when your data is a random sample from a larger population and you want to estimate the population's standard deviation. The population standard deviation (n) is correct when your dataset is the complete population. Mode may be absent when all values are unique, or there may be multiple modes when several values tie for highest frequency.

Average Formulas

Arithmetic Mean

Mean = (x₁ + x₂ + ... + xₙ) / n

Sum all values and divide by the count. The most commonly used average, suitable for symmetric data without extreme outliers.

Weighted Mean

Weighted Mean = (w₁x₁ + w₂x₂ + ... + wₙxₙ) / (w₁ + w₂ + ... + wₙ)

Each value is multiplied by its assigned weight before summing. Used when values have different levels of importance, such as course credit hours in GPA.

Median

Median = middle value (odd n) or average of two middle values (even n)

Sort values in ascending order; the median is the central value. More robust to outliers than the mean and better represents typical values in skewed datasets.

Geometric Mean

Geometric Mean = (x₁ × x₂ × ... × xₙ)^(1/n)

The nth root of the product of all values. Preferred for averaging rates of change, growth percentages, and ratios. Only defined for positive values.

Types of Averages Reference

Types of Averages — When to Use Each

A comparison of the most common types of averages, their formulas, strengths, and best use cases.

TypeBest ForSensitive to Outliers?Example Use Case
Arithmetic MeanGeneral-purpose averagingYesAverage test scores, average temperature
MedianSkewed data with outliersNoMedian household income, median home price
ModeCategorical or discrete dataNoMost popular shoe size, most common response
Geometric MeanRates and ratiosSomewhatAverage annual investment return, population growth rate
Harmonic MeanAveraging rates and speedsSomewhatAverage speed over equal distances, price-earnings ratios

Worked Examples

Calculate Mean, Median, and Mode of a Dataset

Find the mean, median, and mode of the dataset: 12, 15, 12, 18, 20, 15, 12.

1

Mean: Sum = 12+15+12+18+20+15+12 = 104. Count = 7. Mean = 104/7 = 14.86

2

Median: Sort the values — 12, 12, 12, 15, 15, 18, 20. Middle value (4th of 7) = 15

3

Mode: 12 appears 3 times (most frequent). Mode = 12

Mean = 14.86, Median = 15, Mode = 12. The mean is slightly below the median, and the mode is the lowest of the three, indicating a slight right skew from the value 20.

Weighted GPA Calculation

A student has four courses: Math (grade 3.5, 4 credits), English (grade 3.0, 3 credits), Science (grade 3.8, 4 credits), Art (grade 4.0, 2 credits). Find the weighted GPA.

1

Multiply each grade by its credits: (3.5×4) + (3.0×3) + (3.8×4) + (4.0×2) = 14 + 9 + 15.2 + 8 = 46.2

2

Sum the credits: 4 + 3 + 4 + 2 = 13

3

Divide: 46.2 / 13 = 3.554

The weighted GPA is 3.55. Without weighting (simple average of grades), the GPA would be 3.575 — the weighted version gives more influence to the 4-credit courses.

Geometric Mean of Investment Returns

An investment returned +50% (factor 1.50), -20% (factor 0.80), and +10% (factor 1.10) over three years. Find the average annual return.

1

Multiply the growth factors: 1.50 × 0.80 × 1.10 = 1.32

2

Take the cube root (3 years): 1.32^(1/3) = 1.0969

3

Convert back to a percentage: (1.0969 − 1) × 100 = 9.69%

The geometric mean annual return is 9.69%. The arithmetic mean of the raw percentages would be 13.33%, which overstates actual performance.

How to Use This Calculator

1

Choose Your Mode

Select 'Simple Average' for a standard dataset, or 'Weighted Average' if some values count more than others — for example, grades with different credit hours. For simple mode, also choose whether to paste your numbers in bulk or add them one at a time using the list builder.

2

Enter Your Numbers

For bulk mode, type or paste your numbers in the text area. They can be separated by commas, spaces, newlines, semicolons, or any mix — the calculator automatically detects and extracts all valid numbers and ignores non-numeric text. For list mode, type each number and press Enter or click the + button. In weighted mode, enter each value alongside its weight.

3

Review Your Results

Results update automatically as you type. The main result shows the arithmetic mean. Scroll down to see all statistics: median, mode, min, max, range, population and sample standard deviations, geometric mean, harmonic mean, and root mean square. The distribution chart shows each value color-coded by whether it falls above or below the mean, with outliers highlighted.

4

Export or Share

Use 'Copy Results' to copy all statistics to your clipboard for pasting into a document or email. Click 'Export CSV' to download a spreadsheet-compatible file with all results. Use 'Print' for a clean printed record. Adjust the decimal places selector to control precision across all displayed values.

Frequently Asked Questions

What is the difference between mean, median, and mode?

The mean (average) is computed by adding all values and dividing by the count. It is sensitive to extreme values (outliers). The median is the middle value in a sorted dataset — half the values fall below it and half above. It is resistant to outliers and better represents 'typical' values in skewed distributions like incomes or house prices. The mode is the value that appears most frequently; a dataset can have no mode (all values unique), one mode (unimodal), or several modes (bimodal, multimodal). For symmetric, bell-curve data, all three measures are similar. For skewed data, the median is usually a better central value than the mean.

When should I use weighted average instead of regular average?

Use a weighted average when not all values contribute equally to the overall result. Classic examples include: GPA calculation where different courses have different credit hours; portfolio returns where investments have different dollar amounts; survey results where different demographic groups need to be proportionally represented; and grade point averages where tests, quizzes, and homework have different point weights. In a weighted average, each value is multiplied by its weight, the products are summed, and the total is divided by the sum of all weights. Without weighting, a simple average would treat every item equally regardless of its importance.

What is the difference between population and sample standard deviation?

Population standard deviation (σ) is used when your dataset represents the entire population you are interested in — for example, the exact scores of all 30 students in your class. Sample standard deviation (s) is used when your dataset is a sample drawn from a larger population — for example, measuring heights of 100 people to estimate the standard deviation of all adults. The formulas differ by one step: sample standard deviation divides by n-1 instead of n (Bessel's correction). This adjustment makes the sample standard deviation an unbiased estimator of the population standard deviation, correcting for the fact that a sample tends to underestimate spread.

When is the geometric mean more appropriate than the arithmetic mean?

The geometric mean is the preferred average for quantities that are multiplied together rather than added — specifically, rates of change, growth rates, ratios, and percentages. If an investment grows by 100% in year one and falls by 50% in year two, the arithmetic mean of those percentage changes (+25%) suggests growth, but the geometric mean (0%) correctly reflects that you end up where you started. For averaging annual percentage growth rates, price index changes, or population growth rates, always use the geometric mean. Note that the geometric mean is only defined for positive values — it cannot be computed when the dataset includes zero or negative numbers.

What does an outlier mean in the distribution chart?

In statistics, an outlier is a data point that is unusually far from the rest of the dataset. This calculator flags values as outliers when they fall more than two standard deviations away from the mean (beyond mean ± 2σ). In a normal (bell-curve) distribution, approximately 95% of values fall within two standard deviations of the mean, so values outside that range are statistically unusual. Outliers are highlighted in red in the distribution chart. Outliers can be caused by measurement errors, data entry mistakes, or they may be genuine extreme values that are important in their own right. Checking for outliers before reporting averages is a good practice.

Can I calculate the average of percentages, negative numbers, or decimals?

Yes. This calculator handles positive numbers, negative numbers, decimal values, and percentages (the percent sign is automatically stripped). For example, entering '-5, 0, 5, 10' will correctly compute a mean of 2.5, a median of 2.5, min of -5, and max of 10. For percentages like '75%, 80%, 92%', the percent signs are removed and the underlying numbers 75, 80, 92 are averaged. One caveat: the geometric mean and harmonic mean are only defined for positive non-zero values respectively. If your dataset contains zeros or negatives, those advanced means will not be displayed, but all other statistics (mean, median, mode, standard deviation, etc.) will still calculate correctly.

Related Tools

GPA Calculator

Calculate your grade point average with weighted or unweighted scales

Percentage Calculator

Calculate percentages, percentage change, and reverse percentages

Online Calculator

Free general-purpose calculator for basic and scientific math operations

Probability Calculator

Calculate probabilities for single events, combinations, and distributions

Cumulative GPA Calculator

Calculate your cumulative GPA across multiple semesters and terms

EverydayToolsSIMPLE • FREE • FAST

Free online tools for non-IT professionals. Calculators, converters, generators, and more.

Popular Categories

  • Health Calculators
  • Finance Calculators
  • Conversion Tools
  • Math Calculators

Company

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 EverydayTools.io. All rights reserved.