Skip to main content

Average Calculator

Calculate the mean, median, mode, and range of any set of numbers. Includes sum, count, standard deviation, and weighted average. Free online tool — just enter your numbers and get instant results.

Last revised Maintained by Pavan Kusunuri · About our editorial standards

Calculator inputs

Data Entry

Enter numbers separated by commas, spaces, or new lines.

Your results

Mean (Average)
30.00
Median: 30.00, Mode: No mode (all values unique)
Count of Numbers
5
Sum
150.00
Median
30.00
Mode
No mode (all values unique)
Range
40.00
Variance
200.00
Standard Deviation
14.14
Sorted Data
10.00, 20.00, 30.00, 40.00, 50.00
Step 1 — Add the values
10 + 20 + 30 + 40 + 50 = 150.00
Step 2 — Divide by how many
150.00 ÷ 5 = 30.00
Step 3 — Sort, then take the median
odd count, so the median is the single middle value of the sorted list: 30
Step 4 — Range
highest − lowest = 50 − 10 = 40.00
Step 5 — Spread
variance = mean of the squared distances from 30.00 = 200.00; standard deviation = √200.00 = 14.14 (population formula, dividing by n)

Methodology

Formula:
Mean
Content last updated:
Scheduled re-verification:
September 2027

Calculation type: Exact calculation.

How to Use This Calculator

  1. Enter Your Numbers

    Input numbers separated by commas, spaces, or new lines.

  2. Select Calculation Type

    Choose to calculate all statistics or a specific metric.

  3. Option: Add Weights

    Toggle weighted average and enter weights for each number.

  4. Review Results

    See mean, median, mode, range, and additional statistics.

Example: Calculating Statistics for 10, 20, 30, 40, 50

Analyzing a simple dataset of five numbers.

Example Inputs
Numbers
10, 20, 30, 40, 50
Calculation Type
All
Example Results
Count of Numbers
5
Sum
150
Mean (Average)
30
Median
30
Mode
No mode (all values unique)
Range
40
Variance
200
Standard Deviation
14.14
Figures are indicative only and may vary.

Understanding Your Results

  • Mean (Average)
    The sum of all numbers divided by the count. The most common measure of central tendency.
  • Median
    The middle value when numbers are sorted. Less affected by outliers than the mean.
  • Mode
    The most frequently occurring number in the dataset.
  • Range
    The difference between the maximum and minimum values.

Key Tips

  • The mean is sensitive to outliers – use median for skewed distributions.
  • Mode is useful for categorical data and identifying the most common value.
  • Range provides a quick measure of data spread.
  • Weighted average is useful when some values are more important than others.
  • Use standard deviation to measure data dispersion around the mean.

Understanding Measures of Central Tendency and Spread

Mean, Median, and Mode — What Each One Tells You

The mean (sum ÷ count) is what most people mean by 'average' — it uses every value, which also makes it sensitive to outliers. The median is the middle value once the data is sorted (or the average of the two middle values for an even count); it ignores how extreme the outliers are, which is why it's preferred for skewed data like income or housing prices. The mode is the value that appears most often — useful for categorical data or spotting clusters, though a dataset can have no mode (every value unique) or several modes. When mean and median differ noticeably, that's usually a sign of outliers or a skewed distribution.

Range, Variance, and Standard Deviation — Measuring Spread

Averages describe the center of a dataset but say nothing about how spread out it is. Range (maximum minus minimum) gives a quick sense of spread. Variance is the average of each value's squared deviation from the mean; standard deviation is its square root, expressed in the same units as the original data. A small standard deviation means values cluster tightly around the mean; a large one means they're widely scattered. Toggle 'Show Additional Statistics' to see variance and standard deviation alongside the basic measures.

Weighted Average — When Some Values Matter More

A regular mean treats every number equally. A weighted mean multiplies each value by a weight reflecting its importance, sums the results, and divides by the total of the weights: Weighted Mean = Σ(value × weight) ÷ Σ(weight). For example, if a final grade is 40% exams and 60% coursework, the weights are 0.4 and 0.6. Toggle 'Use Weighted Average' and enter one weight per number to get a result that reflects the true importance of each value.

Formulas Used by This Calculator

Mean = (x₁ + x₂ + ... + xₙ) ÷ n. Median = the middle value of the sorted data (or the average of the two middle values if n is even). Mode = the value(s) with the highest frequency. Range = maximum − minimum. Variance = Σ(xᵢ − mean)² ÷ n (population variance). Standard Deviation = √Variance. Weighted Mean = Σ(xᵢ × wᵢ) ÷ Σ(wᵢ).

Why the Mean Can Mislead

A single extreme value pulls the mean toward it without moving the median. For example, in the salaries $30K, $32K, $35K, $31K, and $250K, the mean is $75,600 but the median is $32K — the mean suggests a much higher 'typical' salary than four of the five people actually earn. When a dataset might contain outliers, compare the mean and median rather than reporting either one alone. Percentages and rates from different sample sizes also shouldn't be averaged directly — a 50% rate from 2 attempts and a 40% rate from 250 attempts do not average to 45%; the weighted average (using the actual attempt counts) is closer to 40%.

Limitations of This Calculator

This calculator treats every entered number as a valid data point — it does not detect typos or flag statistically unusual values, so double-check your input if a result looks off. Non-numeric entries (text, blank cells) are ignored rather than causing an error. Weighted average requires exactly one weight per number; if the counts don't match, the calculator falls back to the unweighted mean. Results are shown to two decimal places, which may round very large or very small datasets.

Formula & methodology

Formula used

Mean

mean = Σxᵢ / n

Add every value and divide by how many there are.

Median

the middle value once sorted; the average of the two middle values when n is even

Unlike the mean, the median is not pulled by extreme values, which makes it the better summary of skewed data such as incomes or house prices.

Mode

the value that occurs most often

A set can have more than one mode, or none at all.

Weighted mean

weighted mean = Σ(xᵢ × wᵢ) / Σwᵢ

Each value counts in proportion to its weight rather than equally.

Variable definitions

SymbolMeaningUnit
xᵢEach value. one number from your list—
wᵢWeight. the importance assigned to each value, when weighting is used—
nCount. how many values you enteredcount

Step-by-step calculation

  1. 1. Enter your numbers
    Separated by the delimiter you select.
  2. 2. Add weights if they apply
    Weights must line up one-to-one with the values.
  3. 3. Compare mean, median and mode
    Where they disagree, the data is skewed — and the median is usually the fairer summary.

Limitations

  • The mean alone can be misleading. A large gap between mean and median is a signal of skew or outliers, which is why all three measures are shown together.
  • The mode is unhelpful for continuous data, where exact repeats are rare or accidental.
  • Averaging values that are already averages, or percentages of different-sized groups, gives a wrong answer unless the values are weighted by group size.

This page is educational. It applies the formula described above to the figures you enter and shows the arithmetic behind the result. The output is only as good as the inputs and the assumptions listed here, and it is general information rather than advice about your particular situation.

Frequently Asked Questions

How do I calculate the mean, median, mode, and range of a set of numbers?

Enter your numbers separated by commas, spaces, or new lines, and select 'All' as the calculation type. The calculator instantly computes: mean (sum divided by count), median (middle value when sorted), mode (most frequent value), and range (maximum minus minimum). You can also toggle additional statistics for variance and standard deviation.

When should I use median instead of mean?

Use the median when your data contains extreme outliers that would skew the mean. For example, in income data where a few very high earners inflate the average, the median gives a better picture of what a typical person earns. The median is also preferred for housing prices, test scores with a few perfect results, or any dataset with a long tail on either end.

What is a weighted average and how do I calculate it?

A weighted average multiplies each number by a weight that reflects its importance before averaging. To use it, toggle 'Use Weighted Average' and enter a weight for each number — for example, if a final grade is 40% exams and 60% coursework, the weights would be 0.4 and 0.6. The calculator multiplies each value by its weight, sums the results, and divides by the total of the weights.

What does standard deviation tell me about my data?

Standard deviation measures how spread out your numbers are around the mean. A low standard deviation means most values cluster tightly near the average — like test scores in a class where everyone performed similarly. A high standard deviation means values are widely scattered — like incomes in a diverse economy. The calculator computes both population and sample standard deviation, which you can view by toggling 'Show Additional Statistics.'

What happens when there is no mode in my dataset?

If every number appears exactly once, there is no mode — and the calculator will report 'No mode.' If two or more values tie for the most frequent, the calculator reports all of them as multiple modes. This is normal and simply means your data doesn't cluster around any particular value.

Need more help? Contact support or email globalcalqulate@gmail.com. We typically reply within 24–48 hours.