Average Calculator

Written by the StepSolvers Team  │  Reviewed by a Math Educator  │  Last updated July 2026

An average calculator finds the mean, median, mode, and range of any set of numbers — showing every step of the working, not just the final answer. Enter your numbers below, separated by commas, and get a complete step-by-step breakdown instantly.

This free mean calculator handles datasets of any size. It supports simple averages, weighted averages, and percentage averages — with no signup and no limits.

Step-by-Step Solution

MEAN
MEDIAN
MODE
RANGE
COUNT
SUM
    Final Summary:

    What Is an Average?

    An average is a single value that represents the central point of a dataset. In mathematics, it is most commonly the arithmetic mean — the sum of all data points divided by the count of values in the set. It is the most widely used measure of central tendency in statistics, from school grade averages to scientific research.

    The arithmetic mean answers one question: what single number best represents this entire dataset? Teachers use it to calculate grade averages. Scientists use it to summarize experimental data. Investors use it to track portfolio performance. Any time you need to reduce a set of numbers to one representative value, you are looking for the average. For more worked examples of mean, median, and mode side by side, see Math is Fun's breakdown of mean, median, and mode.

    Mean, Median, and Mode — What Is the Difference?

    The three most common types of average each serve a different purpose. Understanding which one fits your data is the first step to using any average calculator correctly.

    Measure What it tells you
    Arithmetic mean Sum of all values divided by the count. Best for symmetric datasets without extreme outliers. This is what most people mean when they say "average."
    Median The middle value when all numbers are sorted from lowest to highest. Best when a dataset contains extreme high or low values that would skew the mean.
    Mode The value that appears most often. Useful for categorical data or when you need to find the most common result in a dataset.
    Range The difference between the highest and lowest values. Measures how spread out the data is — a high range signals high variability.

    All four measures — mean, median, mode, and range — are calculated and displayed automatically when you use the average calculator above.

    Average Formula Explained

    Standard Average (Arithmetic Mean)

    The formula for the arithmetic mean is straightforward:

    Arithmetic Mean Mean = Sum of all values ÷ Count of values
    Mean = (x₁ + x₂ + x₃ + … + xₙ) ÷ n
    Where: x₁, x₂ … xₙ = each individual value  |  n = total count of values

    Add all values in the dataset together to get the sum. Then divide that sum by how many values there are. The result is the arithmetic mean — the central value that balances the dataset on either side.

    Weighted Average Formula

    A weighted average assigns a different level of importance — called a weight — to each value in the dataset. It is used when not every data point contributes equally to the final result.

    Weighted Mean Weighted Mean = Σ(value × weight) ÷ Σ(all weights)
    Weighted Mean = (x₁w₁ + x₂w₂ + … + xₙwₙ) ÷ (w₁ + w₂ + … + wₙ)
    Where: x = each value  |  w = the weight assigned to that value  |  Σ = sum of all items

    The most common use of the weighted average formula is grade calculation. A final exam worth 50% of a grade has a weight of 0.50. A homework assignment worth 10% has a weight of 0.10. Multiply each score by its weight, sum all the products, and divide by the total weight — which should always equal 1.0 (or 100%).

    How to Use This Average Calculator

    1. Type or paste your numbers into the input field, separated by commas — for example: 4, 8, 15, 16, 23, 42.
    2. Select your calculation mode: use Mean / Median / Mode for a standard average, or switch to the Weighted Average tab to assign different weights to each value.
    3. Click Calculate. The result appears instantly, along with a full step-by-step breakdown showing every intermediate calculation.
    4. Use the Reset button to clear all inputs and start a new calculation.
    5. Click Copy Result to copy the answer to your clipboard.

    The calculator accepts positive numbers, negative numbers, and decimals. There is no limit on dataset size. For the weighted average tab, enter each value alongside its corresponding weight — the calculator confirms that your weights sum to 100% before calculating.

    Worked Examples — Step by Step

    Example 1: How to Find the Mean of 4, 8, 15, 16, 23, 42

    This example shows how to find the average of six numbers from start to finish.

    1. Write out the full dataset: 4, 8, 15, 16, 23, 42
    2. Count the values: there are 6 numbers in this dataset (n = 6)
    3. Add all values together: 4 + 8 + 15 + 16 + 23 + 42 = 108
    4. Divide the sum by the count: 108 ÷ 6 = 18
    Mean = 18 Median = (15 + 16) ÷ 2 = 15.5 Mode = none Range = 42 − 4 = 38

    Example 2: How to Calculate a Weighted Average for Grades

    The most common real-world use of the weighted average formula. A student has three assessments, each counting for a different percentage of the final grade:

    AssessmentScoreWeight
    Homework assignments8020%  (weight = 0.20)
    Midterm exam7030%  (weight = 0.30)
    Final exam9050%  (weight = 0.50)
    1. 80 × 0.20 = 16.0
    2. 70 × 0.30 = 21.0
    3. 90 × 0.50 = 45.0
    4. Add all products: 16.0 + 21.0 + 45.0 = 82.0
    5. Verify weights sum to 1.0: 0.20 + 0.30 + 0.50 = 1.0 ✓
    Weighted Average = 82

    The final exam score of 90 has the greatest influence on the result because it carries the highest weight of 50%.

    Example 3: How to Average Percentages Correctly

    Averaging percentages is only straightforward when each percentage is drawn from the same-sized group. When group sizes differ, a simple average produces an incorrect result.

    Simple average (equal groups only):

    Test A: 80% + Test B: 90%  →  (80 + 90) ÷ 2 = 85%
    Only accurate if both tests had the same number of questions.

    Correct method (different group sizes):

    1. Test A: 80% of 20 questions = 16 correct
    2. Test B: 90% of 50 questions = 45 correct
    3. Combined: (16 + 45) ÷ (20 + 50) = 61 ÷ 70 = 87.1%

    The weighted approach gives 87.1% — not 85% — because Test B had more questions and therefore carries more weight in the true average. If you need to convert between raw scores and percentages before combining groups like this, the Percentage Calculator handles that conversion step directly.

    When to Use a Weighted Average

    Use a weighted average — rather than a simple arithmetic mean — any time different values carry different levels of importance. The standard average treats every data point equally, which gives the wrong answer when that is not the case.

    • Grade and GPA calculations: Most schools weight final exams more heavily than homework assignments. A grade average calculator that uses simple averaging will give an inaccurate GPA if each assessment has a different weight. Course credit hours work the same way — a 4-credit course affects your GPA more than a 1-credit elective.
    • Investment portfolio returns: If one asset represents 80% of a portfolio and another 20%, the overall return is not a simple average of the two individual returns. Each return must be weighted by the proportion of the portfolio it represents.
    • Survey and research data: If one demographic group has 10 respondents and another has 200, simply averaging both groups treats them as equal — which distorts the result. A weighted average accounts for the difference in sample size.
    • Business metrics: Revenue per product, cost per unit, or average transaction value — when different products have different sales volumes, a simple average of individual prices misrepresents the true average revenue.

    For everyday calculations — finding the average of test scores, summarizing a list of numbers, or computing the mean of a dataset — the standard arithmetic mean is the right choice.

    Common Mistakes When Calculating an Average

    • Averaging percentages directly when group sizes differ: as shown in Example 3, this understates or overstates the true combined result — convert to raw values first.
    • Forgetting that weights must sum to 1.0 (or 100%): if weights don't add up correctly, the weighted average formula produces a distorted result even if every individual multiplication is correct.
    • Confusing mean with median: a dataset with one extreme outlier will have a mean that doesn't represent most of the data well — the median is often the better choice in that case.

    Common Questions About Averages

    Is mean the same as average?

    In everyday use, yes. "Average" and "mean" both refer to the arithmetic mean — the sum of all values divided by the count. In formal statistics, "average" can technically mean the mean, median, or mode, but in school assignments, grade calculators, and everyday math, average always means the arithmetic mean.

    How do I find the average of a large dataset?

    Paste your numbers into the input field separated by commas. The average calculator handles datasets of any size with no upper limit. You can also paste data directly from a spreadsheet column — the tool accepts values separated by commas, spaces, or new lines.

    What is the difference between average and standard deviation?

    The average (mean) tells you the central value of a dataset. The standard deviation tells you how spread out the values are around that central value. A high standard deviation means the data points are widely scattered; a low one means they are clustered close to the mean. Both measures together give a complete picture of a dataset.

    Related Calculators

    Frequently Asked Questions

    What is the formula to calculate an average?

    The formula is: Mean = Sum of all values ÷ Count of values. Add every number in your dataset together to get the sum, then divide that sum by how many numbers there are. For example, the average of 4, 8, and 12 is (4 + 8 + 12) ÷ 3 = 24 ÷ 3 = 8.

    How do I find the average of a set of numbers?

    Add all the numbers together to get the total sum, count how many numbers are in the set, then divide the sum by that count. If you have a large dataset, paste the numbers into the calculator above — separated by commas — and it will find the mean, median, mode, and range automatically.

    Is mean the same as average?

    In everyday mathematics and school settings, yes. Both terms refer to the arithmetic mean — the sum of all values divided by the count. In formal statistics, "average" can also refer to the median or mode, but in grade calculations, homework problems, and standard calculators, average and mean are the same thing.

    How do I calculate a weighted average for my grades?

    Multiply each grade by its percentage weight expressed as a decimal (e.g. 30% becomes 0.30), then add all the products together. For example: an 80 with 20% weight plus a 90 with 80% weight gives (80 × 0.20) + (90 × 0.80) = 16 + 72 = 88. Always confirm your weights add up to 1.0 or 100% before calculating.

    Can I use this to calculate my class or semester average?

    Yes. For a simple average of all assignments or test scores, enter your grades separated by commas and click Calculate. If your class uses weighted grading — where exams count for more than homework — switch to the Weighted Average tab, enter each score, and assign its corresponding weight. The calculator shows every step of the calculation.

    How do I find the average of percentages?

    For percentages drawn from equal-sized groups, use the standard mean formula — add them and divide by the count. For percentages from different-sized groups, convert each percentage to actual values first (e.g. 80% of 20 = 16), combine the values and the totals separately, then convert back to a percentage. The worked example above shows both methods in full.

    What does it mean if a dataset has no mode?

    It means no value appears more than once in the dataset. This is completely normal — not every dataset has a mode. If two or more values each appear the same number of times and more than any other value, the dataset is multimodal and all tied values are reported as modes.

    How do I find the average of negative numbers?

    Use the same formula. Add all values together — treating negatives as negative — then divide by the count. For example, the average of −4, −2, and 6 is (−4 + −2 + 6) ÷ 3 = 0 ÷ 3 = 0. Negative numbers are fully supported in the calculator. Simply enter them with a minus sign.