An Initiative by SAARTHI IAS
Maarg Manthan · Topic 7.1

Ranking from the Top and Bottom in a List/Row

Reasoning › Ranking, Order and Sequence · Topic 7.1

Ranking from the top and bottom means finding a person's position counted from one end of a list or row when the position from the other end is known. The core rule is: position from the top + position from the bottom = total number of people + 1.

Share:
Ranking from the Top and Bottom in a List/Row - Reasoning - MaargX UPSC Maarg Manthan

Quick Answer

Ranking from the top and bottom means finding a person’s position counted from one end of a list or row when the position from the other end is known. The core rule is: position from the top + position from the bottom = total number of people + 1.

At a Glance

  • Master formula Top + Bottom = Total + 1
  • Rank from bottom Total – Rank from top + 1
  • People between two ranks Difference of ranks – 1
  • People above a person Rank from top – 1
  • People below a person Rank from bottom – 1
  • Same rule applies to Left and right positions in a row

Where Does It Fit?

This is the first topic of the Ranking, Order and Sequence macro and gives the one formula that every later ranking problem uses. The next topic, Finding Total Number of People Given Relative Ranks, turns the formula around to find the total, and Ranking Problems Involving Reversal of Order (Counting from the Other End) handles problems where the order is reversed.

What Is the Rank From the Top and Bottom Formula?

In short: a person counted as the 12th from one end is the 29th from the other end in a list of 40, because 12 + 29 = 41, which is the total plus one.

Quantity Formula Example (total = 40, top rank = 12)
Rank from the bottom Total – Top rank + 1 40 – 12 + 1 = 29
Rank from the top Total – Bottom rank + 1 40 – 29 + 1 = 12
Total persons Top rank + Bottom rank – 1 12 + 29 – 1 = 40
Persons above Top rank – 1 11
Persons below Bottom rank – 1 28

Why the plus one appears

  • The person is counted in both ranks, so adding the two ranks counts that person twice.
  • Remove the double count: Total = Top + Bottom – 1.

The same formula works for any row. Replace top with left and bottom with right, or first with last, and the arithmetic does not change.

How Do You Find the Number of People Between Two Persons?

In short: when both persons are counted from the same end, subtract the two ranks and subtract 1 more. When they are counted from opposite ends, subtract the sum of the ranks from the total.

Situation People between Example
Both ranks from the same end |Rank 1 – Rank 2| – 1 5th and 18th from top: 18 – 5 – 1 = 12
Ranks from opposite ends Total – (Rank 1 + Rank 2) Total 30, 9th from left and 14th from right: 30 – 23 = 7
Persons are adjacent 0 Ranks differ by 1
  • Check which end: always write both positions from the same end before subtracting, since a mixed pair of numbers gives a wrong answer.
  • Inclusive count: if a question asks how many persons are in the stretch including both, use the difference + 1.
  • Same person test: if the top rank and bottom rank add to total + 1, the two ranks belong to one person.

For a person who is a certain number of places to the left or right of another, add or subtract that number from the position instead of using a table. Handling many persons at once is covered in Comparative Ranking Requiring Ordering Multiple Individuals Simultaneously.

What Is the Step-by-Step Method for Ranking Questions?

In short: draw a line of boxes, mark the given positions, and apply the master formula once. Almost every one-step ranking question reduces to that.

  1. Decide whether the question gives a total, a top rank, a bottom rank, or a gap.
  2. Write every position from one chosen end.
  3. Use Total = Top + Bottom – 1 or the between formula.
  4. Check the answer by counting the boxes on a quick sketch.

When a person moves, for example after being promoted by 5 places, the person’s rank from the top falls by 5, and the rank from the bottom rises by 5, while the total stays the same. The idea of a change of place is extended in Ranking Problems Involving Reversal of Order (Counting from the Other End).

Solved Examples

Example 1

Question: Rahul ranks 12th from the top in a class of 40 students. What is his rank from the bottom?

  1. Rank from bottom = Total – Top rank + 1.
  2. That is 40 – 12 + 1 = 29.
  3. Check: 12 + 29 – 1 = 40, which matches the class size.

Answer: 29th from the bottom.

Example 2

Question: In a row of girls, Meena is 7th from the left and 15th from the right. How many girls are in the row?

  1. Total = Left + Right – 1.
  2. Total = 7 + 15 – 1 = 21.

Answer: 21 girls.

Example 3

Question: A is 5th from the top and B is 18th from the top in a merit list. How many candidates are between them?

  1. Both ranks are from the same end, so subtract.
  2. 18 – 5 = 13, then subtract 1 for the person counted twice at the edge.
  3. 13 – 1 = 12.

Answer: 12 candidates.

Example 4

Question: In a line of 45 people, Mohan is 14th from the left. What is his position from the right?

  1. Position from right = 45 – 14 + 1.
  2. That is 32.
  3. Check: 14 + 32 – 1 = 45.

Answer: 32nd from the right.

Example 5

Question: In a queue of 30, Asha is 9th from the front and Bela is 14th from the back. How many people stand between them?

  1. The ranks are from opposite ends, so use Total – (Rank 1 + Rank 2).
  2. 9 + 14 = 23, and 30 – 23 = 7.
  3. Check: Bela is 30 – 14 + 1 = 17th from the front, and 17 – 9 – 1 = 7.

Answer: 7 people.

Shortcuts and Tricks

  • Memorise the shortcut: Top + Bottom = Total + 1. It solves most problems in one line.
  • For persons between, convert both to the same end first, then subtract and take 1 away.
  • When a question gives two lists of ranks, such as maths and science, apply the formula to each list separately.
  • Sketch a row of boxes for any question with three or more facts; it prevents off-by-one errors.
  • If the top and bottom ranks given for two different persons are in the same question, check whether they add to the total plus one before assuming they are different people.

Common Mistakes

  • Using Total = Top + Bottom and forgetting to subtract 1.
  • Forgetting to subtract 1 in the between formula, which gives the number of places apart instead of people between.
  • Subtracting a top rank from a bottom rank without converting to one end first.
  • Counting the two named persons as part of the people between.
  • Confusing the rank from the top of 12 with 12 persons above; there are only 11 above.

Practice Questions

  1. Seema is 8th from the top in a class of 35. What is her rank from the bottom?
  2. A is 10th from the left and 22nd from the right in a row. How many are in the row?
  3. P is 6th from the top and Q is 20th from the top. How many are between them?
  4. In a row of 50, Ravi is 17th from the right. What is his position from the left?
  5. In a row of 40, Kiran is 12th from the left and Lata is 9th from the right. How many are between them?
  6. How many people are above a person who is 15th from the top?

Answers: 1) 28th; 2) 31; 3) 13; 4) 34th; 5) 19; 6) 14.

Why Is This Topic Important?

  • Speed One formula covers the majority of the single-step ranking questions.
  • Exam use Direct questions appear in SSC, banking and CSAT-style reasoning sets.
  • Base for later topics Ties, reversal and multi-person ordering all build on this rule, as in Ranking Problems Involving Ties or Equal Positions.
  • Low error A box sketch removes most off-by-one mistakes.

What Comes Next?

The next topic is Finding Total Number of People Given Relative Ranks. It uses the same formula to find the total number of people when only relative ranks are given.

Key Terms and Formulas

  • Rank Position of a person in an ordered list
  • Top rank Position counted from the first or best end
  • Bottom rank Position counted from the last or lowest end
  • Total Number of persons in the whole list
  • Between Persons strictly inside the stretch, not counting the two ends
  • Adjacent Persons next to each other, with none between

Exam Corner

Points to Remember

  • Top + Bottom = Total + 1.
  • Between two persons on the same end = difference of ranks – 1.
  • Between two persons on opposite ends = Total – sum of ranks.
  • Persons above = top rank – 1; persons below = bottom rank – 1.
  • The formula is the same for left and right in a row.

Do Not Confuse With

  • Rank vs people above A rank of 12 means 11 people are above, not 12.
  • Between vs apart The difference of ranks gives the places apart; subtract 1 for the people between.
  • Total vs sum of ranks The sum of the two ranks overshoots the total by exactly 1.
  • Top vs bottom Always note the direction in which each rank is counted.

Memory Hook

Add the two ranks, take away one, and that is the whole class.

GS Relevance

Core ranking topic for UPSC CSAT, SSC CGL, banking and CAPF reasoning: one-line rank questions are among the quickest marks in the paper.

Frequently Asked Questions

What is the formula for rank from the bottom?

The rank from the bottom is the total number of persons minus the rank from the top, plus one. For example, a student who is 12th from the top in a class of 40 is 40 minus 12 plus 1, which is 29th from the bottom.

How do you find the total number of persons in a row?

Add the position from the left to the position from the right and subtract one. If a person is 7th from the left and 15th from the right, the total is 7 plus 15 minus 1, which equals 21 persons in the row.

How do you find the number of persons between two people?

When both are counted from the same end, subtract their positions and then subtract one more. For ranks 5 and 18 from the top, the answer is 18 minus 5 minus 1, which is 12 persons between them.

Why do we subtract one in the ranking formula?

The person whose rank is given from both ends is counted twice when the two ranks are added. Subtracting one removes this double count, so the total equals top rank plus bottom rank minus one, which is the correct class strength.

How many persons are above a person ranked 15th from the top?

There are 14 persons above, because the rank counts the person too. In general, the number of persons above is the rank from the top minus one, and the number of persons below is the rank from the bottom minus one.

PYQ Practice — Statement Analysis

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

Rank from bottom = 40 - 12 + 1 = 29.

2 If a person is 7th from the left and 15th from the right, the row has 22 persons.
False

The total is 7 + 15 - 1 = 21, because the person is counted twice.

3 Between the 5th and 18th from the top there are 13 persons.
False

There are 18 - 5 - 1 = 12 persons between them.

4 A person ranked 15th from the top has 14 persons above.
True

The rank counts the person, so persons above = 15 - 1 = 14.

Share: