What is an average calculator?
An average calculator finds the central value of a list of numbers. Paste or type your numbers and this online average calculator instantly returns the mean (average), the median, the mode, the range, the sum and the count – plus the geometric and harmonic means when all values are positive. Switch to weighted average to give some numbers more importance than others, for example subject credits, share quantities or exam weightings. It is free, has no limit on how many numbers you enter, and works on any phone.
What is average?
In everyday language the average is the arithmetic mean: add all the values and divide by how many there are. It gives one number that represents the whole group – the average marks of a class, the average daily sales of a shop or the average mileage of a car. Statisticians also call the median and the mode "averages", because each describes the centre of the data in a different way.
How to calculate average (average formula)
Average (mean) = Sum of all values ÷ Number of values
- Sum = x1 + x2 + … + xn
- n = how many numbers are in the list
Example: marks of 72, 85, 90, 66, 85 and 78 (the default list above). Sum = 476, n = 6, so the average = 476 ÷ 6 = 79.33. To find the average between two numbers, add them and divide by 2: the average of 48 and 62 is 55.
How to use the average calculator
- Choose Simple average or Weighted average.
- Type or paste the numbers. Commas, spaces, tabs and new lines all work, so you can copy a column straight from Excel or Google Sheets.
- For a weighted average, enter one weight for each number in the same order.
- Read the mean, median, mode and range on the result tape, with the sorted list underneath.
Mean, median and mode – which average should you use?
| Measure | How it is found | Default example | Best for |
|---|---|---|---|
| Mean | Sum ÷ count | 79.33 | Evenly spread data such as marks or temperatures |
| Median | Middle value after sorting (average of the two middle values if n is even) | (78 + 85) ÷ 2 = 81.5 | Data with outliers, such as salaries or house prices |
| Mode | Most frequent value | 85 (appears twice) | Most popular size, rating or choice |
| Range | Largest − smallest | 90 − 66 = 24 | A quick look at the spread |
One very large or small value pulls the mean but barely moves the median. If ten people earn ₹30,000 a month and one earns ₹10 lakh, the mean is about ₹1.18 lakh but the median is ₹30,000 – a far better picture of a typical salary. To measure how spread out the numbers are, use the standard deviation calculator.
Weighted average calculator
A weighted average gives each value a weight that reflects its importance. Multiply each value by its weight, add the products, and divide by the total of the weights.
Weighted average = Σ(value × weight) ÷ Σ(weight)
Average with credits or different weights
Your grade points are 8, 9, 7 and 10 in courses worth 4, 3, 3 and 2 credits. Σ(x × w) = 32 + 27 + 21 + 20 = 100 and Σw = 12, so the weighted average is 8.33, while the simple average would be 8.5. This is exactly how SGPA and CGPA are calculated – see the GPA calculator.
Average calculator with percentage weights
If assignments count 20%, the mid-term 30% and the final exam 50%, enter the scores as the numbers and 20, 30, 50 as the weights. Scores of 85, 70 and 78 give (1,700 + 2,100 + 3,900) ÷ 100 = 77. The weights do not have to add up to 100; the calculator divides by whatever they total.
How to calculate average percentage
Do not simply average percentages when the totals differ. If you scored 45/50 (90%) in one test and 60/100 (60%) in another, the combined percentage is (45 + 60) ÷ (50 + 100) × 100 = 70%, not the 75% you get by averaging 90 and 60. Either add the raw marks, or use a weighted average with the maximum marks as the weights. The percentage calculator handles the marks part.
Average calculator for stocks and shares
When you buy the same share at different prices, your average buy price is a weighted average with the quantity as the weight. Buying 50 shares at ₹420, 30 at ₹380 and 20 at ₹350 gives (21,000 + 11,400 + 7,000) ÷ 100 = ₹394 per share. Enter the prices as numbers and the quantities as weights. This is the figure your broker shows as the average price in the share market, and it tells you the price at which you break even (before charges).
Car and bike average (mileage) in India
In India, "average" for a car or bike means fuel efficiency in km per litre. Fill the tank fully, note the odometer, drive normally, then fill up again and note how many litres it took.
Mileage (km/l) = Distance travelled (km) ÷ Fuel used (litres)
If you drove 432 km and refilled 24 litres of petrol, your car's average is 432 ÷ 24 = 18 km/l. For a bike, 210 km on 4.2 litres is 50 km/l. For CNG vehicles use kilograms instead of litres (km/kg). To turn mileage into a trip cost, use the fuel cost calculator. When you track several fill-ups, average the mileage by total km ÷ total litres rather than averaging the individual km/l figures.
Batting and bowling average in cricket
- Batting average = total runs ÷ number of times out. 1,250 runs with 28 dismissals = 44.64. Not-out innings add runs but not dismissals.
- Bowling average = runs conceded ÷ wickets taken. 860 runs for 34 wickets = 25.29; lower is better.
Averages over time: per day, monthly and speed
For a daily average, divide the total by the number of days: ₹93,000 of sales in 31 days is ₹3,000 per day. A monthly average is the yearly total ÷ 12. Average speed is total distance ÷ total time – not the average of the speeds. Driving 60 km at 60 km/h and 60 km at 40 km/h takes 2.5 hours for 120 km, so the average speed is 48 km/h, which is the harmonic mean of 60 and 40. For average yearly growth of an investment use the geometric mean or the CAGR calculator.
How to calculate average in Excel
Use =AVERAGE(A1:A10) for the mean, =MEDIAN(A1:A10) and =MODE.MULT(A1:A10) for the median and mode, and =SUMPRODUCT(A1:A10,B1:B10)/SUM(B1:B10) for a weighted average with weights in column B.
Average calculator formula at a glance
The average calculator formula is: average = sum of values ÷ number of values. For 12, 15 and 18 the sum is 45 and there are 3 values, so the average is 15. A weighted average calculator formula is Σ(value × weight) ÷ Σweights.
Average calculator with weighting, units and coefficients
Choose "Weighted average" above to use the average calculator with weighting. The weights can be credit units, quantities, coefficients or percentages. An average calculator with units and coefficients works the same way: marks of 14 (coefficient 3) and 10 (coefficient 1) average (42 + 10) ÷ 4 = 13, not 12.
Average calculator with different weights and different percentages
If a course counts homework 20%, midterm 30% and final 50%, enter scores 90, 75 and 82 with weights 20, 30 and 50. The average calculator with different percentages gives (1,800 + 2,250 + 4,100) ÷ 100 = 81.5. Different weights that do not add up to 100 are fine too, because the calculator divides by their total.
Average calculator for a letter grade
To average letter grades, turn each into points first (for example A = 4, B = 3, C = 2), average the points, then turn the result back into a letter using your school's scale. The GPA calculator does this with credits.
Average calculator for car, bike and vehicle mileage in India
In India, "average" usually means fuel mileage. An average calculator for a car or bike divides the kilometres driven by the fuel used: km ÷ litres = km/l.
- Fill the tank completely and note the odometer reading (km).
- Drive normally, then fill the tank again and note the litres added.
- Average = km driven ÷ litres added. 420 km on 28 litres of petrol is 15 km/l.
The same average calculator works for petrol and diesel vehicles. For a car on CNG, the average is km per kg: 300 km on 12 kg of CNG is 25 km/kg. Bike average calculator example: 250 km on 5 litres is 50 km/l. Enter several tank-to-tank results above to find your average car mileage over months, and use the fuel cost calculator to turn it into rupees per km.
Average calculator in cricket
A batting average calculator in cricket divides runs by the number of times out: 540 runs with 12 dismissals is an average of 45. Not-out innings add runs but not dismissals. A bowling average is runs conceded ÷ wickets.
Average calculator in share market
An average calculator in the share market finds your average buy price. Buy 10 shares at ₹200 and 30 at ₹160: enter prices 200, 160 with weights 10, 30. Average = (2,000 + 4,800) ÷ 40 = ₹170 per share.
Calculate average yearly return and XIRR
To calculate average yearly return, the simple average of yearly returns overstates growth. Returns of +50% and −50% average 0%, yet ₹100 becomes ₹75. Use the CAGR calculator for the true yearly rate. For SIPs with many cash flows, use XIRR; an average XIRR calculator shortcut of averaging each fund's XIRR is only a rough guide, because it ignores how much money sat in each.
Average calculator per day, time and monthly
An average calculator per day divides a total by the number of days: ₹9,000 spent over 30 days is ₹300 per day. An average monthly calculator does the same with months: annual income of ₹6,00,000 is ₹50,000 a month. For an average calculator with time values like 1:45 and 2:05, convert to seconds or minutes first (105 and 125 minutes), average them (115 minutes), then convert back (1:55).
Average calculator for a Rubik's cube
Speedcubers use "average of 5" (Ao5): drop the fastest and slowest of five solves and average the other three. Times of 14.2, 12.8, 16.5, 13.9 and 13.1 seconds drop 12.8 and 16.5, so Ao5 = (14.2 + 13.9 + 13.1) ÷ 3 = 13.73 seconds.
Average velocity and speed
What is average velocity? It is total displacement ÷ total time, while average speed is total distance ÷ total time. Driving 60 km at 60 km/h and 60 km back at 40 km/h takes 1 h + 1.5 h, so the average speed is 120 ÷ 2.5 = 48 km/h, not 50. Use the speed distance time calculator for more.
Average calculator and standard deviation
The average tells you the centre of your data; the standard deviation tells you how spread out it is. Use this average calculator and the standard deviation calculator together: 70, 70, 70 and 40, 70, 100 both average 70, but the second set is much more spread out.
Average calculator in Java
In Java, an average calculator is a loop: double sum = 0; for (double x : nums) sum += x; double avg = sum / nums.length;. Use a double, not an int, so 7 ÷ 2 gives 3.5 instead of 3.
Average calc question for practice
The average of 5 numbers is 24. Four of them are 20, 22, 26 and 30. What is the fifth? The total is 5 × 24 = 120, and 120 − 98 = 22.
Frequently asked questions
How do you calculate the average of numbers?
Add all the numbers together and divide by how many numbers there are. The average of 72, 85, 90, 66, 85 and 78 is 476 ÷ 6 = 79.33.
What is the difference between mean, median and mode?
The mean is the sum divided by the count, the median is the middle value when the numbers are sorted, and the mode is the value that appears most often.
How do I calculate a weighted average?
Multiply each value by its weight, add these products and divide by the sum of the weights. Choose "Weighted average" in the calculator and enter the weights in the same order as the numbers.
How do I calculate the average of my car in India?
Divide the kilometres driven by the litres of fuel used between two full-tank fill-ups. 432 km on 24 litres is an average of 18 km per litre.
How do I calculate average percentage of marks?
Add the marks obtained in all tests and divide by the total maximum marks, then multiply by 100. Averaging the individual percentages is only correct when every test has the same maximum marks.
How do I find the average price of shares bought at different prices?
Use a weighted average: multiply each price by the number of shares bought at that price, add them and divide by the total number of shares.
Is this average calculator free?
Yes. The average calculator is free to use online, has no limit on the number of values and does all calculations in your browser.
How do I calculate car average (mileage)?
Divide kilometres driven by litres of fuel used. 480 km on 32 litres is 15 km/l.
What is the formula for weighted average?
Multiply each value by its weight, add the results and divide by the total of the weights.
Last updated 2026-09-18