Skip to content
Technique

How many 10s divide a number: pair 2s with 5s

Quantitative Aptitude • Number System

Statement

. If a number is , each 10 needs one 2 and one 5, so the number of tens that can be taken out is the smaller of and ; what is left is not divisible by 10.

How to use it

  1. 1Write every factor as prime powers and add up the 2s and the 5s.
  2. 2The smaller of the two counts is the number of 10s; this is also the number of zeros at the end of the number.
  3. 3If part of the 10s is already written separately (such as ), subtract it.

Worked example

How many zeros are at the end of ?

Step-by-step

  1. 1
    and .
  2. 2
    Twos: 8. Fives: .
  3. 3
    Pairs of 2 and 5: the smaller of 8 and 10, that is 8.

    Why: Each 10 uses one 2 and one 5; the 2s run out first.

Answer

8 zeros.

Watch out

Counting only the 5s, or only the 2s, is the usual mistake. Forgetting a 10 that is already written outside (such as a factor 1000) shifts the answer by that many.

Builds on

Also known as

trailing zeros, highest power of 10, zeros at the end

Appears in past papers

2026

2024

2023

2020