Skip to content
Free shipping above ₹499
Oakspine Press

Ranking and order for SSC GD

"In a row, a candidate is 7th from the left and 10th from the right. How many people are in the row?" Ranking questions in SSC GD run on three short formulas and one comparison habit. Positions from both ends, people between two others, swapped places, class ranks and tallest-shortest chains, with solved examples.

26 Oct 2026 5 min read

यह गाइड हिंदी में पढ़ें →
In this guide
  1. The three formulas
  2. Solved examples
  3. Comparison questions
  4. Common mistakes
  5. Practice set
  6. What to do next

Ranking questions ask about positions: in a row, a queue, a class list or a line of people sorted by height. They look like arithmetic, but the arithmetic is tiny. The real skill is not counting the same person twice, and not missing one.

Ranking comes up regularly in the SSC GD reasoning section. Three formulas cover almost every row question, and one habit, writing a chain, covers the comparison questions.

The three formulas

What you wantFormula
Total people in the rowPosition from left + position from right − 1
Position from the other endTotal − known position + 1
People between two persons (both counted from the same end)Larger position − smaller position − 1

Why the "− 1" in the first formula? The person you are counting from both sides is included in both numbers. Subtract one so they are counted once.

Why the "+ 1" in the second? If you are 1st from the left in a row of 10, you are 10th from the right, and 10 − 1 + 1 = 10. Try it on a small row whenever you doubt a formula.

Solved examples

Example 1 (total). In a row, a candidate is 7th from the left and 10th from the right. How many people are in the row?

  1. Total = 7 + 10 − 1.
  2. Answer: 16.

Example 2 (other end). In a row of 25 people, a candidate is 8th from the left. What is their position from the right?

  1. Position from right = 25 − 8 + 1.
  2. Answer: 18th.

Example 3 (between, from different ends). In a row of 30, A is 8th from the left and B is 12th from the right. How many people are between A and B?

  1. Bring both to the same end. B from the left = 30 − 12 + 1 = 19th.
  2. Between = 19 − 8 − 1 = 10.
  3. Check: A at 8, B at 19. The people between sit at 9 to 18, which is 10 places.

Example 4 (swapped places). In a row, A is 10th from the left and B is 15th from the right. They swap places, and A is now 18th from the left. How many people are in the row?

  1. After the swap, A stands where B stood. So B's old place is 18th from the left.
  2. That same place is 15th from the right.
  3. Total = 18 + 15 − 1 = 32.

Example 5 (comparison chain). A is taller than B. C is shorter than B. D is taller than A. E is shorter than C. Who is in the middle?

  1. Write the chain, tallest on the left: D > A > B > C > E.
  2. There are five people, so the middle is the 3rd.
  3. Answer: B.

Example 6 (class with failures). Among the students who passed, a student is 12th from the top and 29th from the bottom. 5 students failed and 3 were absent. How many students are in the class?

  1. Passed students = 12 + 29 − 1 = 40.
  2. Add those who failed and those who were absent: 40 + 5 + 3.
  3. Answer: 48.

Comparison questions

For "taller, heavier, older, richer" questions, turn every sentence into a piece of a chain and join the pieces.

  • "A is taller than B" becomes A > B.
  • "C is shorter than B" becomes B > C. Rewrite "shorter" so the chain always runs in one direction.
  • Join: A > B > C.

If a sentence does not connect to the chain, keep it aside until a later sentence links it in. If two people cannot be placed relative to each other, the answer to "who is taller" between them is "cannot be determined". Do not guess.

Common mistakes

MistakeCorrect way
Total = left + right, with no "− 1"The person is counted twice; subtract 1
Using positions from different ends in the "between" formulaConvert one position so both are from the same end
Subtracting 1 in "queue of 9 in front plus 6 behind" questionsIf 6 people are behind the 9th, the total is 9 + 6 = 15; nobody is counted twice
Writing "shorter" as a separate chainFlip it so all links point the same way
Forgetting failed or absent studentsRanks count only those listed; add the rest at the end

Practice set

  1. A candidate is 12th from the front and 15th from the back of a queue. How many people are in the queue?
  2. In a row of 30, a candidate is 11th from the right. What is their position from the left?
  3. In a class of 50, a student ranks 20th from the top. What is the rank from the bottom?
  4. P is heavier than Q. R is lighter than Q. S is heavier than P. Who is the lightest?
  5. In a row of 15, X is 4th from the left and Y is 10th from the left. How many people are between them?
  6. In a row of 40, A is 10th from the left and B is 15th from the right. How many people are between them?
  7. M is older than N. O is younger than N. P is older than M. Q is younger than O. Who is in the middle by age?
  8. In a queue, a candidate is 9th from the front, and there are 6 people behind them. How many people are in the queue?

Answers:

  1. 26. 12 + 15 − 1.
  2. 20th. 30 − 11 + 1.
  3. 31st. 50 − 20 + 1.
  4. R. Chain: S > P > Q > R.
  5. 5. 10 − 4 − 1.
  6. 15. B from the left = 40 − 15 + 1 = 26th; between = 26 − 10 − 1 = 15.
  7. N. Chain: P > M > N > O > Q, and N is 3rd of 5.
  8. 15. 9 people up to and including the candidate, plus 6 behind.

What to do next

  • Learn the three formulas, and test each on a row of five people drawn on paper.
  • Solve 15 ranking questions a day for a week, half of them comparison chains.
  • For "between" questions, always convert both positions to the same end first.
  • Pair this with directions and blood relations in week three of the reasoning plan.

A note on dates and numbers. Exam patterns, vacancies and schedules change from year to year. Always confirm the current details in the latest notification on the Staff Selection Commission website .

Get the next SSC GD guide by email

New guides every week. No spam, unsubscribe any time.