Math & Statistics

Average Calculator

Calculate mean, median, mode, weighted average, geometric mean, harmonic mean, range, variance and standard deviation from any set of numbers. Instant results with full step-by-step solutions.

Instant Results
10+ Statistical Measures
Step-by-Step
100% Free

Average Calculator

Enter numbers, choose a calculation type and get results with step-by-step breakdown

📊All Stats Full summary
Mean Arithmetic avg
📍Median Middle value
🔁Mode Most frequent
⚖️Weighted w × value avg
🔢Geometric ⁿ√(x₁·x₂…)
📐Harmonic n/Σ(1/xᵢ)
↔️Range Max − Min
📉Variance σ² spread
📈Std Dev σ deviation
Sum Σ total
🔢Count n values
Error
✅ Result
Sorted Values
Step-by-Step Solution
Share Result

What Is an Average?

Understanding mean, median, mode and when to use each measure of central tendency

Measures of Central Tendency

An average is a single number that represents the centre of a dataset. But "average" is not one thing — it is a family of measures, each with specific strengths. The three most common are mean (sum ÷ count), median (middle value when sorted), and mode (most frequent value). Choosing the wrong one leads to misleading conclusions.

The arithmetic mean is sensitive to outliers — one extreme value can pull it far from the typical value. The median is resistant to outliers, making it better for skewed distributions like income or house prices. The mode is the only average that works for categorical data (e.g., most popular colour, most common answer).

📊 Classic example: In a company where 9 employees earn ₹30,000 and the CEO earns ₹10,00,000 — the mean salary is ₹1,27,000 (misleading), the median is ₹30,000 (representative), and the mode is ₹30,000. Mean, median and mode can tell completely different stories about the same data.

Beyond these three, weighted average assigns importance to each value (used in grades, stock portfolios, polls), geometric mean is used for growth rates and ratios, and harmonic mean is used for rates and speeds. Standard deviation measures how spread out the data is around the mean.

Arithmetic Mean
Sum of all values divided by count. Best for symmetric, unskewed data without extreme outliers. Used in test scores, temperatures, and most everyday averages. Affected heavily by outliers.
📍
Median
The middle value when sorted. For even count, average the two middle values. Robust against outliers — used for income, house prices, wait times, and any skewed distribution where mean would mislead.
🔁
Mode
The most frequently occurring value(s). A dataset can have no mode, one mode (unimodal) or multiple modes (bimodal/multimodal). Only average applicable to categorical and nominal data.
⚖️
Weighted Mean
Σ(value × weight) ÷ Σ(weights). Used when values differ in importance: GPA calculation (credits as weights), portfolio returns (investment size as weight), opinion polls (sample size as weight).

Formula Reference

All 10 statistical measures with formulas and real-world use cases

Every Calculation Explained
MeasureFormulaWhen to UseExample
Arithmetic MeanΣxᵢ / nSymmetric data, equal importanceTest score average
MedianMiddle value (sorted)Skewed data, outliers presentMedian household income
ModeMost frequent valueCategorical or discrete dataMost common shoe size
Weighted MeanΣ(xᵢ × wᵢ) / ΣwᵢValues differ in importanceGPA with credit hours
Geometric Meanⁿ√(x₁ × x₂ × … × xₙ)Growth rates, ratios, percentagesAverage investment return
Harmonic Meann / Σ(1/xᵢ)Rates, speeds, efficiency metricsAverage speed over equal distances
RangeMax − MinSpread of data, simple variabilityTemperature range in a day
Variance (Pop.)Σ(xᵢ − μ)² / nFull population spreadQuality control in manufacturing
Std Deviation√VarianceSpread in original unitsRisk in finance, bell curves
SumΣxᵢTotal of all valuesTotal sales, total marks

How to Use the Average Calculator

Step-by-step guide for students, analysts and everyday users

From Input to Full Analysis in Seconds
  • 1
    Choose Your Calculation Type

    Select from the 12 operation tiles. "All Stats" gives the complete statistical summary in one click — mean, median, mode, range, variance, and standard deviation together. Or pick a specific measure to focus on and get a deeper step-by-step for just that one.

  • 2
    Enter Your Numbers

    Type or paste numbers into the input area, separated by commas, spaces, or new lines — any combination works. The calculator previews your parsed values as pills below the input so you can verify exactly what will be computed. Use "Load Sample" to try it instantly.

  • 3
    For Weighted Average: Use the Table

    Switch to the Weighted operation and a value/weight table appears. Enter each value with its corresponding weight. Add or remove rows freely. The calculator computes Σ(value × weight) ÷ Σ(weights) — useful for GPA, portfolio returns, or polls.

  • 4
    Review Results and Stats Grid

    The main result shows in the green hero panel with the operation name, primary result, and count. "All Stats" additionally shows a colour-coded grid of 6 key statistics. The sorted values display below with median and mode values highlighted in colour.

  • 5
    Expand Step-by-Step Solution

    Click the Step-by-Step panel to see the full working — every arithmetic step for the selected operation. Copy or share the result using the buttons below the result panel. History saves your last 20 calculations in the sidebar.

💡 Tip: Paste data directly from Excel or Google Sheets — just copy a column of cells and paste into the input box. The calculator handles tab-separated, comma-separated, and newline-separated values automatically.

Averages in the Real World

How mean, median and standard deviation shape decisions in science, finance and everyday life

The Power of Central Tendency
💰
Mean vs Median Income

India's per capita income (mean) is significantly higher than the median income because a small number of very high earners pull the mean up dramatically. The median income — the point where half earn more and half earn less — is a much better indicator of the typical Indian's financial situation.

📈
Geometric Mean in Finance

If an investment gains 50% in year 1 and loses 50% in year 2, the arithmetic mean is 0% (suggesting no change). But the geometric mean is −13.4% — the correct answer. A ₹1,000 investment becomes ₹1,500, then ₹750. Geometric mean is always used for compounded growth rates.

🏎️
Harmonic Mean and Speed

If you drive 60 km/h for the first half of a journey and 40 km/h for the return, your average speed is NOT (60+40)/2 = 50. It is the harmonic mean: 2/(1/60 + 1/40) = 48 km/h. The harmonic mean is always correct for averaging rates over equal distances or quantities.

📊
Standard Deviation in Grading

If a class scores a mean of 70 with σ = 5, most students fall between 65–75. If σ = 20, the scores are spread from 30 to 110. Curve grading (relative grading) uses mean and σ to define letter grade boundaries — a score of mean + 1σ typically earns a B, and mean + 2σ earns an A.

🌡️
Climate Science Uses All Three

Weather agencies report mean temperature (average over the day), mode temperature (most common hour reading), and sometimes median (less affected by heat spikes). Climate change is measured by shifts in 30-year mean averages — even a 0.5°C mean increase represents an enormous shift in the global energy balance.

🧬
Medical Trials and Mean vs Median

In drug trials, the median survival time is preferred over mean because a few patients who live very long (outliers) can inflate the mean drastically. If a new cancer drug gives a median survival of 18 months vs 12 months for the control group, that is a clinically meaningful result regardless of a few extreme survivors.

🎓
GPA Is a Weighted Average

Grade Point Average weights each grade by the credit hours of the course. A 4-credit course has twice the impact of a 2-credit course on GPA. This is Σ(grade × credits) ÷ Σ(credits). Without weighting, a student who aced a 1-credit PE class and failed a 4-credit core subject could appear to have a decent average.

🤝
Mode in Market Research

When surveying customer preferences (favourite colour, preferred brand, best product size), the mode is the only meaningful "average". You cannot take the mean of "Blue, Red, Green" — but you can find the most common answer. Mode is essential for any categorical data analysis, from election polling to A/B testing.

Frequently Asked Questions

Common questions about averages and statistical measures

When should I use median instead of mean?
Use the median when your data is skewed or contains outliers. Classic examples: income data (a few millionaires inflate the mean), house prices, response times, and any data where extreme values exist. The median gives the "typical" value — the point where half the values are above and half below — unaffected by how extreme the outliers are.
Can a dataset have multiple modes?
Yes. A dataset where two values appear the same (highest) number of times is called bimodal. Three modes = trimodal. Multiple modes are common in real data — for example, shoe sizes in a mixed population might peak at size 7 and size 10 simultaneously. If all values appear equally often, there is no mode.
What is the difference between population and sample standard deviation?
Population std dev (σ) divides by n — used when you have ALL data points. Sample std dev (s) divides by (n−1) — used when your data is a sample from a larger population, correcting for the bias of estimating the population spread from a subset. This calculator uses population variance (÷ n). For samples, divide the variance by (n−1) instead.
Why is geometric mean always ≤ arithmetic mean?
This is the AM-GM inequality: the arithmetic mean is always ≥ the geometric mean, with equality only when all values are identical. Intuitively, the geometric mean is "pulled down" more strongly by small values than the arithmetic mean. For growth rates, this means compounded returns are always lower than simple averages suggest — which is why investment marketing often uses arithmetic averages.
How do I calculate weighted average for GPA?
Enter each subject's grade point (A=4, B=3, C=2, D=1) as the Value, and the credit hours as the Weight. For example: Math (4 credits, A=4.0), English (3 credits, B=3.0), Physics (4 credits, B+=3.3). Weighted mean = (4×4 + 3×3 + 4×3.3) / (4+3+4) = (16+9+13.2) / 11 = 38.2/11 ≈ 3.47 GPA.
What does a high standard deviation tell me?
A high standard deviation means values are spread widely around the mean — there is high variability. A low σ means values cluster tightly around the mean. In finance, σ = risk (volatile stocks have high σ). In manufacturing, low σ = consistent quality. In education, high σ in test scores suggests a diverse class with both very high and very low performers.