GamifiedGamified challengesPracticeRaceLeaderboardPricing

Learn data structures by watching them move, then doing it yourself. Press M anytime to toggle sound.

A product of Amypo Technologies, Coimbatore.

Learn

  • Fundamentals & OOPs
  • Data structures and algorithms
  • Aptitude
  • Learning path
  • How it works
  • About dotprep

Practice

  • Practice arena
  • Daily challenge
  • Gamified challenges
  • Race mode
  • Leaderboard

Interview prep

  • Java interview
  • Coding questions
  • Company questions
  • System design
  • Jobs & careers

You

  • Dashboard
  • Settings
  • Pricing
  • Create account

© 2026 dotprep

Content last updated 27 November 2026

GamifiedGamified challengesPracticeRaceLeaderboardPricing
AptitudeQuantitative aptitude · Arithmetic

Averages

The mean as a balance point: totals, weighted averages, members joining, leaving or being replaced, average speed, ages and overlapping groups.

5 min read 45 questions
Practice questions
x̄

On this page

1/10
  1. 011. What an average is
  2. 022. Formulas
  3. 033. Adding, removing and replacing
  4. 044. Weighted average
  5. 055. Average speed
  6. 066. Ages and overlapping groups
  7. 077. Shortcuts
  8. 088. Common traps
  9. 099. Revision sheet
  10. 10Practice
Back to top

1. What an average is

The average (arithmetic mean) of a set of values is their sum divided by how many there are. It is the single value that could replace every item and leave the total unchanged. If five test scores are 62, 70, 75, 81 and 87, their sum is 375 and their average is 375 ÷ 5 = 75.

Deviations balance: (−13) + (−5) + 0 + 6 + 12 = 06270758187average 75
The average is the balance point: distances below it add up to the distances above it.

Almost every question here is easier if you stop thinking about the average and think about the total: total = average × count. Averages turn up in marks, runs, ages, salaries and speeds, and they are also the first step of most data-interpretation sets.

2. Formulas

SituationFormula
Averagesum of values ÷ number of values
Totalaverage × number
Two groups combined(n1 × a1 + n2 × a2) ÷ (n1 + n2)
Equally spaced numbers(first + last) ÷ 2
First n natural numbers(n + 1) ÷ 2
One member replacednew − old = n × change in average
Newcomer raises average of n by dnewcomer = old average + d × (n + 1)
Average speedtotal distance ÷ total time
Equal distances at u and v2uv ÷ (u + v)
Equal times at u and v(u + v) ÷ 2

If every value is increased by k, the average increases by k. If every value is multiplied by k, the average is multiplied by k.

3. Adding, removing and replacing

A member joins. 9 cartons average 36 kg; a tenth weighing 56 kg is added. The newcomer is 20 kg above the old average, and that surplus is shared by all 10 cartons, so the average rises by 2 kg to 38 kg.

10 rowersavg A−out60 kg+in? kg=10 rowersavg A + 2
Replacement: the count stays the same, so the total changes by count × change in average.

A member is replaced. The average weight of 10 rowers rises by 2 kg when a 60 kg rower is replaced. The total rose by 10 × 2 = 20 kg, so the new man weighs 60 + 20 = 80 kg. The actual average is never needed.

A wrong entry. The average of 20 marks was found as 48, but an 86 had been entered as 68. The total was short by 18, so the average was short by 18/20 = 0.9; the correct average is 48.9.

4. Weighted average

When groups of different sizes are combined, each group's average counts in proportion to its size. Section A has 30 students averaging 60 and Section B has 20 averaging 70. Combined average = (30 × 60 + 20 × 70) ÷ 50 = 64, not 65.

30 studentsavg 6020 studentsavg 70combined avg 6446
The pivot sits nearer the bigger group: 30 × 4 = 20 × 6.

The picture is a balance. The combined average is 4 above A and 6 below B, and 30 × 4 = 20 × 6. Read backwards, this is alligation: if the class average is 64 with group averages 60 and 70, the group sizes are in the ratio (70 − 64) : (64 − 60) = 3 : 2.

5. Average speed

Average speed is total distance ÷ total time. It is not the average of the speeds unless each speed is kept up for the same length of time.

Home120 km in 3 h40 km/hOffice120 km in 2 h60 km/hHome
240 km in 5 hours is 48 km/h, not 50: more time is spent at the slower speed.

For equal distances at u and v the average is 2uv/(u + v): at 40 and 60 km/h it is 48 km/h. For equal times it is the simple mean (u + v)/2. Halts count as time: a bus that runs at 60 km/h but averages 48 km/h with stops covers 48 km in each hour, which takes 48 minutes of running, so it halts 12 minutes an hour.

When a target average is given, convert it to a time budget. To average 60 km/h over 240 km you have 4 hours. If the first 120 km took 3 hours at 40 km/h, only 1 hour is left for the remaining 120 km: you need 120 km/h, not 80.

6. Ages and overlapping groups

Ages. Every person ages one year per year, so the average age of a fixed group also rises by one year per year. Five years ago a couple's average age was 23; today it is 28, a total of 56. If the average of the couple and their child is 20, the three total 60 and the child is 4.

Overlap. The average of 11 numbers is 53; the first six average 50 and the last six average 58. The first six and last six together count the 6th number twice: 6 × 50 + 6 × 58 − 11 × 53 = 65 is the 6th number.

Sliding window. If Monday–Thursday average 30° and Tuesday–Friday average 32°, the three shared days cancel when the totals are subtracted: Friday − Monday = 4 × 2 = 8°.

7. Shortcuts

  • Deviation method. Guess a base value and average the differences. For 62, 70, 75, 81, 87 with base 75: (−13 − 5 + 0 + 6 + 12)/5 = 0, so the mean is 75.
  • Surplus sharing. A newcomer who is s above the old average raises the average of the enlarged group by s ÷ (new count).
  • New average after one more innings = score − rise × (earlier innings).
  • Consecutive or equally spaced numbers: the average is the middle term, or (first + last)/2.
  • Excess = shortfall. Total distance above the average equals total distance below it; use this to find group sizes.
  • Equal distances: 2uv/(u + v) is always a little less than the simple mean.

8. Common traps

  • Taking the simple mean of group averages when the groups differ in size.
  • Averaging speeds instead of dividing total distance by total time.
  • Dividing by the old count after a member joins or leaves.
  • Forgetting that every member has aged when comparing averages across years.
  • Using the difference of two averages directly, without multiplying by the number of items.
  • Correcting a wrong entry by the full error instead of error ÷ count.

9. Revision sheet

  • Total = average × count. Work with totals.
  • Combined average = total of totals ÷ total count.
  • Replacement: new − old = n × (change in average).
  • Joining: newcomer = new average + (rise × old count).
  • Wrong entry: correct average = old average + (actual − entered)/n.
  • Average speed = distance ÷ time; equal distances 2uv/(u + v); equal times (u + v)/2.
  • Overlap of two groups: add the two totals, subtract the grand total.
  • Group sizes are in the inverse ratio of their distances from the combined average.

Practice

45 questions in 3 sets. Every answer comes with its explanation, and each question you get right earns XP.

  • Easy · 15
  • Medium · 15
  • Hard · 15
Start practising
PreviousRatio and ProportionNextProblems on Ages
Log inStart free