Average and grade calculator

MA-05Math

Calculate the arithmetic or weighted average and the median.

Arithmetic mean
4.13
Sum of weights
8
Median
4.25
Lowest / highest
3 / 5
How we calculated it
  1. (5 × 3 + 4 × 2 + 4.5 × 1 + 3 × 2) ÷ (3 + 2 + 1 + 2)
  2. = 33.5 ÷ 8 = 4.1875

Last updated: October 2026 · Report a calculation error

How to calculate an average

The arithmetic mean is the sum of the values divided by how many there are: grades 5, 4, 4 and 3 give (5 + 4 + 4 + 3) ÷ 4 = 4. The calculator also shows the median and the lowest and highest values.

How to calculate a weighted average

When values carry different weights — an exam counts more than homework, or credits differ between courses — use a weighted average: sum of (value × weight) ÷ sum of weights.

Example: 5 with weight 3, 4 with weight 2, 4.5 with weight 1 and 3 with weight 2 give (15 + 8 + 4.5 + 6) ÷ 8 = 4.19.

Enter each value on a new line with its weight after a space, e.g. “5 3”. The same method works for GPA: grade points weighted by course credits.

Mean or median?

The median is the middle value when the numbers are sorted. It is less affected by extremes: for 3, 4, 4, 5 and 20 the mean is 7.2 but the median is 4. For salaries or house prices, the median often describes a “typical” value better.

Frequently asked questions

How do I calculate GPA?

Enter each course’s grade points followed by its credits (e.g. “3.7 4”). The weighted average is your GPA.

What grade do I need to reach a target average?

Add the planned grade with its weight to the list — the average updates instantly, so you can see whether it’s enough.

See alsoWhole category

  1. MA-01Percentage calculatorFind X% of a number, what percent one number is of another and percentage change.
  2. MA-02Root and exponent calculatorCalculate the n-th root or any power of a number.
  3. MA-03Fraction calculatorAdd, subtract, multiply and divide fractions with automatic simplification.
  4. MA-04Number base converterConvert numbers between decimal, binary, octal and hexadecimal.