📊 Enter Your Numbers

⚖️ Weighted Average Calculator

Enter values and their weights (e.g. exam scores with credit hours). Each row = one value + its weight.

📐 Statistical Formulas

Mean (Arithmetic Average)

Sum of all values divided by the count of values.

Mean (x̄) = Σx / n

Example: [2, 4, 6, 8, 10]
= (2+4+6+8+10) / 5 = 30/5 = 6

Median

Middle value when sorted. If even count, average the two middle values.

Odd count: median = middle value
Even count: median = (middle1 + middle2) / 2

Example (odd): [2,4,6,8,10] → median = 6
Example (even): [2,4,6,8] → median = (4+6)/2 = 5

Mode

Value(s) that appear most frequently. Can have multiple modes.

Example: [2,3,3,4,5,5,5] → mode = 5
Example: [1,1,2,2,3] → modes = 1 and 2 (bimodal)
Example: [1,2,3,4] → no mode (all equal frequency)

Standard Deviation

Measures how spread out the numbers are from the mean.

Population σ = √(Σ(x - x̄)² / n)
Sample s = √(Σ(x - x̄)² / (n-1))

Steps:
1. Find mean x̄
2. Subtract mean from each value: (x - x̄)
3. Square each: (x - x̄)²
4. Average the squares (variance)
5. Take square root

Weighted Average

Weighted Mean = Σ(value × weight) / Σ(weights)

Example: Exam 80 (weight 3) + Quiz 90 (weight 1)
= (80×3 + 90×1) / (3+1)
= (240 + 90) / 4 = 330/4 = 82.5

Geometric & Harmonic Mean

Geometric Mean = ⁿ√(x₁ × x₂ × ... × xₙ)
→ Use for: growth rates, ratios, percentages

Harmonic Mean = n / Σ(1/xᵢ)
→ Use for: speeds, rates, densities

Quartiles & IQR

Q1 = 25th percentile (median of lower half)
Q2 = 50th percentile (median)
Q3 = 75th percentile (median of upper half)
IQR = Q3 - Q1 (Interquartile Range)

Outlier if: x < Q1 - 1.5×IQR
or: x > Q3 + 1.5×IQR

❓ Frequently Asked Questions

🤖
AI Insights - Coming Soon!
AI-powered data interpretation, outlier detection explanations, and personalized statistical analysis.
Coming Soon - Stay Tuned!

Average Calculator - Mean, Median, Mode and the Full Statistical Picture

The word "average" gets used loosely in everyday conversation, but in statistics it means something specific - and depending on your data, the arithmetic mean might not even be the most useful measure of center. This calculator gives you all the key statistics at once: mean, median, mode, standard deviation, quartiles, and more, so you can choose whichever measure best represents your dataset.

Quick example: For the numbers 85, 92, 78, 96, 88, 74, 91 - the mean is 86.29, the median is 88, there is no mode (all values appear once), the range is 22, and the standard deviation is 7.43. The median is slightly higher than the mean here because the two low scores (74, 78) pull the mean down.

Mean vs Median - Which One Should You Use?

The arithmetic mean and the median both describe the "center" of a dataset, but they behave very differently when the data is skewed or contains outliers.

The mean is sensitive to extreme values. One very high or very low number can drag the mean away from where most of the data actually sits. This is why average income statistics are often misleading - a handful of ultra-high earners push the mean far above what most people actually earn.

The median is resistant to outliers. No matter how extreme the highest or lowest value is, the median just cares about what's in the middle. For house prices, incomes, ages, and any dataset where extremes exist, median usually gives a more honest picture of a typical value.

Use the mean when your data is fairly symmetric without major outliers - like test scores within a normal range. Use the median when the data is skewed or when outliers exist that don't represent the typical case.

Standard Deviation - What It Actually Means

Standard deviation is a measure of how spread out the numbers are around the mean. A small standard deviation means most values are bunched close to the mean. A large standard deviation means they're scattered widely.

In a normal distribution - the classic bell curve - the standard deviation has a very specific meaning:

  • 68% of values fall within 1 standard deviation of the mean
  • 95% of values fall within 2 standard deviations
  • 99.7% of values fall within 3 standard deviations

This is called the empirical rule or the 68-95-99.7 rule. It's why a student scoring 2 standard deviations above the mean on a test is in roughly the top 2.5% of the class - which is a much more meaningful statement than just knowing the raw score.

This calculator computes population standard deviation (dividing by n) by default. If your numbers are a sample drawn from a larger population and you want to estimate the true population standard deviation, use n−1 instead of n - this is called Bessel's correction and gives a slightly larger, unbiased estimate.

Mode - When One Value Keeps Repeating

The mode is the value that appears most often in a dataset. Unlike mean and median, a dataset can have no mode (if every value is unique), one mode (unimodal), two modes (bimodal), or more (multimodal). Mode is the only one of the three measures of central tendency that makes sense for categorical data - you can find the most common color or the most popular category, but you can't find the mean of colors.

In test scores, mode is useful for identifying "clustering" - if 15 students scored 85 and it's the most frequent score, the teacher knows where the middle of the class landed better than any calculated average can show.

Weighted Average - When Not All Values Are Equal

A regular average treats every number as equally important. A weighted average lets certain values count more than others. The formula is: Weighted Mean = Sum of (value × weight) ÷ Sum of all weights.

Common Weighted Average Uses

  • GPA calculation - 4-credit courses count more than 1-credit courses
  • Course grades - final exam 40%, midterm 30%, quizzes 30%
  • Portfolio returns - larger investments weighted more
  • Consumer price index - essential goods weighted higher
  • Employee ratings - key competencies weighted by importance

Weighted vs Simple Average - Example

  • Quiz 1: 80 (weight 1)
  • Quiz 2: 75 (weight 1)
  • Midterm: 85 (weight 2)
  • Final: 90 (weight 3)
  • Simple average: 82.5
  • Weighted average: 85.71
  • Difference reflects the final exam's higher importance

Quartiles and the IQR - Finding Where Your Data Is Concentrated

Quartiles divide your sorted data into four equal groups. Q1 is the 25th percentile - 25% of values fall below it. Q2 is the median. Q3 is the 75th percentile. The IQR (Interquartile Range) = Q3 − Q1 and represents the middle 50% of your data - the "bulk" of the distribution stripped of its extremes.

The IQR is particularly useful for detecting outliers. The standard rule: any value below Q1 − 1.5×IQR or above Q3 + 1.5×IQR is considered a statistical outlier. This is the method used in box plots (box-and-whisker plots) and is more robust than simply eyeballing the data.

Geometric Mean and Harmonic Mean - When to Use Them

The arithmetic mean is the right tool when values are additive - test scores, temperatures, prices. But for multiplicative quantities like growth rates, investment returns, or ratios, the geometric mean is more accurate. If an investment grows 50% in year 1 and falls 50% in year 2, the arithmetic mean suggests a 0% overall change - but the geometric mean correctly shows you've actually lost 25% of your money (starting at 100, going to 150, then back to 75).

The harmonic mean is best for rates and ratios - particularly when averaging speeds. If you drive 60 km/h for one hour and 30 km/h for one hour, your average speed is the arithmetic mean (45 km/h). But if you drive 60 km/h for 60 km and then 30 km/h for 60 km (same distance, different times), your average speed is the harmonic mean of 60 and 30 - which works out to 40 km/h.