AbraCalc

Average of Numbers Calculator

Calculate the arithmetic mean (average) of up to five numbers. See the sum and count as well.

Embed this tool on your site

How to use this tool

  1. Enter up to five numbers.
  2. Set 'how many numbers' to match how many you filled in.
  3. Read the sum and average.

Calculate the arithmetic mean of up to five numbers along with their sum.

Formula

Sum = N1 + N2 + … + Ncount

Average (Arithmetic Mean) = Sum ÷ Count

Count is clamped to the range 1–5 and rounded to the nearest integer.

How it works

This calculator computes the arithmetic mean of up to five numbers by summing the first count inputs and dividing by count. The count field controls how many of the five number slots are included, so unused slots are simply ignored rather than treated as zero. Rounding count to the nearest integer and clamping it between 1 and 5 prevents invalid inputs from skewing the result.

Worked example

Worked example

  1. Numbers: 10, 20, 30, 40, 50; Count = 5.
  2. Sum = 10 + 20 + 30 + 40 + 50 = 150.
  3. Average = 150 ÷ 5 = 30.

Sum: 150 | Average: 30

Key terms

Arithmetic mean
The sum of a set of numbers divided by how many numbers are in the set; the most common type of average.
Sum
The total obtained by adding all included numbers together.
Count
The number of values being averaged; determines how many of the five input fields are used in the calculation.
Average
A single representative value summarising a group of numbers, here computed as the arithmetic mean.

Frequently asked questions

How do I calculate the average of numbers?
Add all the numbers together to get the sum, then divide by the count of numbers. For 10, 20, 30, 40, 50: sum=150, average=150/5=30.
What is the difference between mean, median, and mode?
The mean (average) is the sum divided by count. The median is the middle value when sorted. The mode is the most frequent value. The mean is most commonly used in everyday calculations.

References & sources