An Initiative by SAARTHI IAS
Maarg Manthan · Topic 7.2

Finding Total Number of People Given Relative Ranks

Reasoning › Ranking, Order and Sequence · Topic 7.2

Finding the total number of people from relative ranks means using the given positions of one or two persons to work out the size of the whole row or class. With ranks from both ends the total is top rank + bottom rank - 1, and when two different persons are named the total is the sum of their ranks plus the people between them.

Share:
Finding Total Number of People Given Relative Ranks - Reasoning - MaargX UPSC Maarg Manthan

Quick Answer

Finding the total number of people from relative ranks means using the given positions of one or two persons to work out the size of the whole row or class. With ranks from both ends the total is top rank + bottom rank – 1, and when two different persons are named the total is the sum of their ranks plus the people between them.

At a Glance

  • One person, both ends Total = Top + Bottom – 1
  • Two persons, no overlap Total = Rank 1 + Rank 2 + People between
  • Two persons, overlap Total = Rank 1 + Rank 2 – Overlap
  • After interchange Use the new position and the unchanged end
  • Middle person Total = 2 x Rank – 1
  • Boys and girls ranked separately Add the two group totals

Where Does It Fit?

This topic reverses the formula from Ranking from the Top and Bottom in a List/Row: instead of finding a rank, it finds the strength. The next topic, Ranking Based on Height, Weight, Age, Marks or Performance, adds comparison words such as taller and heavier, and swap problems also appear in Ranking Problems Involving Reversal of Order (Counting from the Other End).

How Do You Find the Total When Ranks From Both Ends Are Given?

In short: add the rank from one end to the rank from the other end and subtract 1. This works whenever both ranks belong to the same person.

Given Total Example
Top 12, bottom 29, same person 12 + 29 – 1 40
Left 7, right 15, same person 7 + 15 – 1 21
Person in the exact middle, rank r 2r – 1 13th from either end gives 25

In a middle-person problem the rank from the top and bottom are equal, so the total is always odd. If the total is even, there is no single middle person.

Two groups ranked separately

  • If boys and girls are ranked in separate lists, find each group total first.
  • The class strength is the boys total plus the girls total.

How Do You Find the Total When Two Different Persons Are Named?

In short: when two persons A and B are on one line, with A counted from one end and B from the opposite end, the total is A’s rank + B’s rank + the people between them, if the people between are given.

Case Rule Example
A from left, B from right, people between known Total = A + B + between A = 8, B = 12, 9 between: 29
Two counts share some persons Total = Count 1 + Count 2 – Shared persons Counts 16 and 14 sharing 5 persons: 16 + 14 – 5 = 25
A is n places ahead of B Convert B into A’s end first Rank of B = Rank of A + n
  • No overlap: if the left count and the right count do not share people, add them and add the people between.
  • Overlap: if the left and right counts share people, add them and subtract the overlap, so that nobody is counted twice.
  • Relative gap: convert the second person to the first person’s end, then use the master formula from Ranking from the Top and Bottom in a List/Row.

How Do Position Swaps Help Find the Total?

In short: in an interchange problem one person’s old position and new position are both given, so one of them can be matched with a count from the opposite end to find the total.

  1. Write the old position of each person from the same end.
  2. After the swap, A takes B’s old place, so A’s new rank is B’s old rank from that end.
  3. Use B’s old rank from the other end to apply Total = Left + Right – 1.

The total never changes under a swap. Only the positions change. Problems that reverse the entire order are covered in Ranking Problems Involving Reversal of Order (Counting from the Other End).

Solved Examples

Example 1

Question: A boy is 12th from the top and 29th from the bottom in his class. How many students are in the class?

  1. Total = Top + Bottom – 1.
  2. 12 + 29 – 1 = 40.

Answer: 40 students.

Example 2

Question: Ravi is 7th from the top and Sonu is 12th from the bottom. There are 9 students between them, and Ravi is ahead of Sonu. How many students are there?

  1. Count from the top to Ravi: 7. Then the 9 between: 7 + 9 = 16.
  2. Sonu comes next. From the bottom, Sonu and everyone below are 12 students.
  3. Total = 7 + 9 + 12 = 28.

Answer: 28 students.

Example 3

Question: In a row, A is 10th from the left and B is 14th from the right. When they exchange places, A becomes 18th from the left. How many are in the row?

  1. After the swap, A stands where B stood. So B was 18th from the left.
  2. B was also 14th from the right.
  3. Total = 18 + 14 – 1 = 31.

Answer: 31 persons.

Example 4

Question: Vikas is 10th from the top and 15th from the bottom among the boys of a class. The class also has 12 girls. How many students are in the class?

  1. Boys = 10 + 15 – 1 = 24.
  2. Total = 24 + 12 = 36.

Answer: 36 students.

Example 5

Question: Anil is 9th from the top in a list. Binod is 7 places below Anil and is 12th from the bottom. How many are in the list?

  1. Binod’s rank from the top is 9 + 7 = 16.
  2. Total = 16 + 12 – 1 = 27.

Answer: 27 persons.

Shortcuts and Tricks

  • Always check whether the two ranks belong to the same person or to two different persons before choosing a formula.
  • In a swap problem, use the new position of the first person as the old position of the second.
  • For a person exactly in the middle, double the rank and subtract 1.
  • In boy and girl problems, find each group separately and add.
  • Sketch the line and tick the persons counted to avoid counting the same person twice.

Common Mistakes

  • Adding two ranks that belong to different persons and forgetting to add the people between.
  • Using a top-rank figure and a bottom-rank figure of two different persons in the one-person formula.
  • Forgetting that a swap does not change the total.
  • Not adding the second group when a class has boys and girls ranked separately.
  • Treating an even total as having a middle person.

Practice Questions

  1. A is 14th from the left and 20th from the right. How many persons are in the row?
  2. P is 6th from the top, Q is 9th from the bottom, and 8 persons are between them. What is the total?
  3. In a row, X is 9th from the left and Y is 14th from the right. After they exchange places, X is 17th from the left. How many are in the row?
  4. Sita is exactly in the middle of a row and is 13th from the left. How many persons are in the row?
  5. A person is 22nd from the top and 23rd from the bottom. How many are in the list?
  6. Boys are ranked 8th from the top and 11th from the bottom, and there are 9 girls. What is the total strength?

Answers: 1) 33; 2) 23; 3) 30; 4) 25; 5) 44; 6) 27.

Why Is This Topic Important?

  • Direct marks Strength-from-rank questions are common one-liners in competitive reasoning.
  • Concept They test whether you can avoid double counting.
  • Link The same logic is needed for position-change questions in Ranking Problems Involving Reversal of Order (Counting from the Other End).
  • Speed A single formula removes the need for lengthy sketches.

What Comes Next?

The next topic is Ranking Based on Height, Weight, Age, Marks or Performance. It brings in comparisons such as taller, heavier and older, and asks you to rank people from those clues.

Key Terms and Formulas

  • Strength The total number of persons in a class or row
  • Overlap A person counted in both the left count and the right count
  • Interchange Two persons exchanging places
  • Middle person The single person with equal ranks from both ends
  • Gap Persons standing between two named persons
  • Relative rank A position given in terms of another person

Exam Corner

Points to Remember

  • One person, two ranks: Total = Top + Bottom – 1.
  • Two persons, no overlap: Total = Rank 1 + Rank 2 + People between.
  • A swap changes positions but never the total.
  • Middle person: Total = 2 x Rank – 1.
  • Boys and girls ranked separately: add the two totals.

Do Not Confuse With

  • One person vs two persons The minus-1 formula applies only when both ranks belong to the same person.
  • Gap vs rank difference The gap is the rank difference minus 1.
  • Swap vs reversal A swap exchanges two persons; a reversal flips the whole order.
  • Total vs class group A rank within boys gives the boys total, not the class total.

Memory Hook

Same person, add and minus one; different persons, add the gap.

GS Relevance

Frequently tested in UPSC CSAT, SSC, banking and railway reasoning: total-strength questions with one or two persons and a swap or gap.

Frequently Asked Questions

How do you find the total number of students from a rank?

If the rank from the top and the rank from the bottom of the same student are given, the total is top rank plus bottom rank minus one. For example, 12th from the top and 29th from the bottom gives 40 students.

How do you find the total when two different persons are given?

When A is counted from one end, B is counted from the other end, and the number of persons between them is known, add the three numbers. If they overlap in the count, subtract the overlap so no person is counted twice in the total.

What happens to the total when two persons swap places?

The total does not change when two persons swap places. Only their positions change. In such problems, the first person's new position equals the second person's old position, so the old position of the second person can be matched with a rank from the other end.

How do you find the total if a person is exactly in the middle?

A person in the exact middle has the same rank from both ends, so the total is twice the rank minus one. For example, 13th from the left in the middle means 2 times 13 minus 1, which gives 25 persons in the row.

How do you find class strength if boys and girls are ranked separately?

Find the total of each group using its own two ranks, then add them. For example, boys ranked 10th from the top and 15th from the bottom give 24 boys, and with 12 girls the class strength is 36.

PYQ Practice — Statement Analysis

1 A person who is 12th from the top and 29th from the bottom is in a class of 40.
True

The total is 12 + 29 - 1 = 40.

2 If two persons exchange positions, the total number of persons in the row changes.
False

A swap never changes the total; only the positions change.

3 A person exactly in the middle at the 13th position makes a row of 26 persons.
False

The total is 2 x 13 - 1 = 25, so the row has 25 persons.

4 If boys have a total of 24 and there are 12 girls, the class strength is 36.
True

Boys and girls totals are added: 24 + 12 = 36.

Share: