πAI Math Solver

Calculators

Average Calculator

An average calculator that turns a list of numbers into one number: the mean, plus the sum, count, and median, each with how it is calculated.

Enter numbers separated by commas, then click Calculate.

Type or handwrite the full problem — the AI will solve it and explain every step

How to use this average calculator

Type your numbers, click Calculate. The average calculator form starts pre-filled with 85, 90, 78, 92 — four test scores — and returns four rows at once.

  • Numbers (comma-separated) — your list, any length, in any order. The average calculator does not care about order; it sorts a copy for the median.
  • Four rows come back: Average (mean), Sum, Count, and Median. For the default scores: average 86.25, sum 345, count 4, median 87.5.

Replace the four scores with your own numbers — goals scored, prices, temperatures — and every row updates instantly. Decimals and negatives are fine; just keep the values separated by commas.

This page is more than a static average calculator — it is also an AI tutor you can ask questions:

  • Ask in plain words. “My test scores are 85, 90, 78, 92 — what do I need on a fifth test to average 88?” The AI sets up the equation and solves it step by step.
  • Take a photo of your homework. The AI reads the list from the page and computes the average step by step.
  • Ask about the ideas, not just the number. “Why does one huge value drag the mean upward?” The AI explains — and you can check every number against the average calculator above, so nothing is guessed.
  • Work backwards. Give an average and all but one of the values; the AI finds the missing one.
  • Keep asking follow-ups. Ask “why?” as often as you need — the average calculator page keeps teaching.

The calculation

An average is a fair share: pool everything, then split it equally. The formula says exactly that:

average=sum of all numbershow many numbers\text{average}=\dfrac{\text{sum of all numbers}}{\text{how many numbers}}

Two ingredients, three small moves:

  1. Add every number — for 85, 90, 78, 92 the sum is 85+90+78+92=34585+90+78+92 = 345.
  2. Count how many numbers there are — here n=4n = 4.
  3. Divide: 345÷4=86.25345 \div 4 = 86.25.

In symbols, for values x1,x2,…,xnx_1, x_2, \ldots, x_n:

xˉ=x1+x2+⋯+xnn\bar{x}=\dfrac{x_1+x_2+\cdots+x_n}{n}

The bar over xˉ\bar{x} is read “x-bar” and always means “the average of the x's”.

The formula is also the fastest sanity check for any average calculator result: if the sum divided by the count does not match the reported mean, a value was mistyped. And notice what an average guarantees — if every value equaled the average, the total would be unchanged. That is the fair-share reading: 345 points spread evenly across 4 tests is 86.25 each.

What an average tells you

The average calculator returns both, because they answer different questions.

The mean uses every value — which is also its weakness: one extreme value drags it. The median ignores the sizes of the extremes and simply finds the middle.

Watch it happen. Four friends earn 1, 2, 3, and 4 thousand a month; a fifth joins at 100:

  1. Sum: 1+2+3+4+100=1101+2+3+4+100 = 110 over n=5n = 5 values.
  2. Mean: 110÷5=22110 \div 5 = 22.
  3. Median: sorted, the middle value is 33.

The mean says 22 — a number nobody in the room earns. The median says 3 — an honest description of the typical earner. One outlier pulled the mean more than sixfold.

This is why salaries and house prices are reported as medians: money data has a long right tail. For symmetric data the two nearly coincide, and either works. Quick rule: when outliers would mislead, use the median; when every value should count, use the mean. When in doubt, run both rows of the average calculator and ask why they differ.

Example 1 - test scores

Four tests: 85, 90, 78, 92. The average calculator fills all four rows — here is each one by hand.

  1. Sum: 85+90+78+92=34585 + 90 + 78 + 92 = 345.
  2. Count: n=4n = 4 scores.
  3. Average (mean): 345÷4=86.25345 \div 4 = 86.25.
  4. Median: sort first — 78, 85, 90, 92. With an even count, average the two middle values: (85+90)÷2=87.5(85 + 90) \div 2 = 87.5.

Note the median never touched the sum: it is a position, not an arithmetic blend — you only ever sort and pick. The mean weighs every score by its size, so the low 78 and the high 92 pull it in proportion to their distances. That is why 86.25 and 87.5 need not agree.

Every number above is reproducible: paste 85, 90, 78, 92 into the average calculator and all four rows match.

Weighted average

Not everything in an average counts equally. A course grade might be 60% exams and 40% homework — an ordinary average would treat them the same. The weighted average multiplies each value by its weight first:

xˉw=∑wixi=w1x1+w2x2+⋯+wnxn\bar{x}_w=\sum w_i x_i = w_1x_1 + w_2x_2 + \cdots + w_nx_n

SymbolMeaning
xix_ieach value
wiw_iits weight — how much it counts
xˉw\bar{x}_wthe weighted average

Example: exam score 90 with weight 0.6, homework 80 with weight 0.4:

xˉw=0.6×90+0.4×80=54+32=86\bar{x}_w = 0.6 \times 90 + 0.4 \times 80 = 54 + 32 = 86

The weights must sum to 1 (or 100%) — here 0.6+0.4=10.6 + 0.4 = 1 — so the result stays on the same scale as the scores. Notice that the plain mean is just the special case where every weight equals 1/n1/n.

The form of this average calculator computes the plain mean; for weighted work, paste the whole grading scheme into the AI box and it walks the multiplication with you.

Common average calculator mistakes

  1. Miscounting the list. The denominator is how many numbers you actually have. Skip one in the sum, or count a value twice, and the average is wrong even when the division is right. The Count row of the average calculator exists so you can check nn first.
  2. Dropping a negative sign. For −5,10,3-5, 10, 3 the sum is 88, not 1818, so the average is 8÷3≈2.678 \div 3 \approx 2.67. Signs travel with the value into the sum — paste the list into the average calculator to see the difference.
  3. Averaging averages. If class A (30 students) averages 80 and class B (10 students) averages 90, the combined average is not 85. Weight by group size: (30×80+10×90)÷40=82.5(30 \times 80 + 10 \times 90) \div 40 = 82.5.
  4. Using the plain mean where weights apply. A 60/40 grading scheme cannot be averaged as (90+80)÷2=85(90 + 80) \div 2 = 85 — the weighted answer is 86, as computed above.

One paste into the average calculator catches the first two instantly.

Problem 1

A store tracked daily sales for five days: 4, 8, 15, 16, 23 items. Find the sum, the count, the average, and the median. Check your answer with the average calculator above.

⏱ 00:00
Page 1
Problem 2

Find the average and the median of 10, 10, 20, 30. Which one better describes a typical value? Check your answer with the average calculator above.

⏱ 00:00
Page 1

Frequently asked questions

1

How is an average calculated?

Add all the numbers, then divide by how many there are. For 85, 90, 78, 92 that is 345 ÷ 4 = 86.25. The average calculator above does the sum, the division, and the count check in one click.

2

Average vs. mean vs. median — what is the difference?

In everyday math, “average” means the arithmetic mean — the sum divided by the count — so average and mean are two names for the same number. Statisticians prefer the word mean because median and mode are also kinds of averages in the broad sense. The average calculator here reports the mean, along with the median.

3

When should I use the median instead?

Use the median when one or two extreme values would distort the mean — salaries, house prices, wait times with rare spikes. For 1, 2, 3, 4, 100 the mean is 22 but the median is 3. The average calculator shows both rows so you can compare.

4

How do I average percentages?

Only average percentages directly when they come from equal-sized groups. If 200 students pass in one class of 400 (50%) and 30 in another class of 100 (30%), the combined rate is not 40% — it is (200 + 30) ÷ 500 = 46%. Weight each percentage by its group size, just like the weighted average.

5

What is a weighted average?

An average where some values count more than others: multiply each value by its weight, then add. For exams worth 60% and homework worth 40%, with scores 90 and 80, the weighted average is 0.6 × 90 + 0.4 × 80 = 86. The average calculator form does the plain mean; the AI box handles weighted setups step by step.

Related practice