Everyday maths

Average Calculator: Mean, Weighted Average and Moving Average With Steps

Paste a list of numbers to get the average (mean) with the sum and count shown. Switch tabs for a weighted average (marks with credit hours, prices with quantities) or a moving average with a window you choose. Every result shows the working, and nothing is saved.

✅ No login needed100% freeRuns in your browserNothing savedYour data stays on your device
Average Calculator✅ Free · no login📚 Cite this tool
Your data never leaves your PC. Everything you type is calculated on your own computer or phone. Nothing is saved, not even in your browser, and it is gone when you close the page. Nothing is uploaded, stored or seen by Codanics, and no login is needed.
  • PriceFree, no login or sign-up needed
  • Your dataCalculated in your browser; nothing is saved
  • Works onPhone, tablet or computer, any modern browser
  • Made byDr. Muhammad Aammar Tufail, Codanics
  • Published24 November 2026
  • Last updated24 November 2026

📚 How to cite this tool

This tool is free. If it helped your thesis, paper, report or assignment, please cite it. It keeps the tools free and helps other students find them.

Citation · APA 7th edition

Tufail, M. A. (2026). Average calculator [Online tool]. Codanics. Retrieved 24 November 2026, from https://codanics.com/tools/average-calculator/

In-text citation: (Tufail, 2026) · Narrative: Tufail (2026)

The access date is today’s date, filled in automatically. Author: Muhammad Aammar Tufail. Published 24 November 2026.

🚀 Follow Codanics channel on WhatsApp for more updatesNew free tools, scholarships, PhD positions and research tips, straight to your phone. Free lessons on YouTube too.

How to use the average calculator

  1. Choose Mean, Weighted average or Moving average.
  2. Type or paste your numbers, separated by spaces, commas or new lines. For a weighted average, put the weights in the same order as the values.
  3. Read the average and the working under it, or press Copy result.

What is the average?

The average (arithmetic mean) is the sum of all the numbers divided by how many numbers there are. For 72, 85, 90, 66 and 78 the sum is 391 and there are 5 numbers, so the average is 391 ÷ 5 = 78.2.

Average formulas

TypeFormulaExample
MeanΣx ÷ n(72 + 85 + 90 + 66 + 78) ÷ 5 = 78.2
Weighted averageΣ(x × w) ÷ Σw(80×2 + 90×3 + 70×5) ÷ 10 = 78
Moving average (k)mean of the latest k values(10 + 12 + 14) ÷ 3 = 12

Worked example: a weighted average

A student scores 80 in a 2-credit course, 90 in a 3-credit course and 70 in a 5-credit course. The simple mean is (80 + 90 + 70) ÷ 3 = 80. But the 5-credit course should count more.

  1. Multiply each score by its credits: 80 × 2 = 160, 90 × 3 = 270, 70 × 5 = 350.
  2. Add them: 160 + 270 + 350 = 780.
  3. Add the credits: 2 + 3 + 5 = 10.
  4. Divide: 780 ÷ 10 = 78.

The weighted average is lower than the simple mean because the lowest score has the biggest weight.

What is a moving average?

A moving average smooths a series of values in time order. With a 3-point window, each average uses the latest three values, then the window slides forward by one. For 10, 12, 14, 13, 15, 18, 20 the 3-point averages are 12, 13, 14, 15.33 and 17.67. It is used for sales trends, temperatures, stock prices and lab readings. A bigger window is smoother but reacts more slowly.

When the mean can mislead

  • Outliers pull the mean. Incomes of 30, 35, 40 and 400 thousand have a mean of about 126 thousand, which describes nobody. The median is better for skewed data.
  • Averaging averages. If groups have different sizes, use a weighted average with the group sizes as weights.
  • Averaging percentages. Average the underlying counts, not the percentages, when the totals differ.
Need the median, mode and range too? Use the mean, median and mode calculator. For course grades with weights, the weighted grade calculator is made for that.
Learn the statistics behind these numbers. Codanics has free statistics, R and Python lessons on YouTube and full courses for researchers.

Frequently asked questions

How do I calculate the average of numbers?

Add all the numbers together and divide by how many numbers there are. For 4, 8 and 9: (4 + 8 + 9) ÷ 3 = 7.

What is the difference between average and mean?

In everyday use they are the same: the arithmetic mean. In statistics, ‘average’ can also refer to the median or mode, so ‘mean’ is the more precise word.

How do I calculate a weighted average?

Multiply each value by its weight, add these products, and divide by the sum of the weights. Weighted average = Σ(x × w) ÷ Σw.

What is a moving average used for?

It smooths out short-term ups and downs in time-ordered data, such as daily sales or temperatures, so the trend is easier to see.

Can I paste numbers from Excel?

Yes. Copy a column or row and paste it in. Spaces, tabs, commas and new lines all separate numbers. Do not use commas as thousands separators.

Does this calculator save my numbers?

No. Everything is calculated in your browser and nothing is saved or uploaded. When you close the page, your numbers are gone.

Do I need to log in or create an account to use the average calculator?

No. There is no login, no sign-up and no email required. Open the page and start using it straight away, for free, on any device.

How do I cite this tool in my thesis or paper?

Use the citation box on this page. In APA 7th edition: Tufail, M. A. (2026). Average calculator [Online tool]. Codanics. Retrieved [date you used it], from https://codanics.com/tools/average-calculator/. BibTeX, RIS (EndNote, Mendeley, Zotero), MLA, Harvard, Chicago and Vancouver formats are also available.

Free guides and courses from Codanics

More free tools

See all free Codanics tools → · Codanics on YouTube · WhatsApp channel

Made by Dr. Muhammad Aammar Tufail, Codanics. First published 24 November 2026, last updated 24 November 2026. Found a bug or have an idea for a new tool? Tell us on the WhatsApp channel or in the comments on YouTube. Results are for learning and planning; check important analyses with a statistician or your supervisor.