Skip to content
Technique

Last two or three digits of a product or power from the factors' last digits

Arithmetic • Number System • Unit Digit

Statement

For positive integers, the last digits of a product depend only on the last digits of the factors: work modulo , replace each factor by its last digits, multiply, and keep only the last digits of the running result at every stage. For a power , multiply by one step at a time in this way; if a step returns the same last digits it started from, every higher power ends in those digits too.

How to use it

  1. 1Choose from the place asked for: the tens digit needs , the hundreds digit needs .
  2. 2Cut every factor down to its last digits first, and cut the running product down after each multiplication.
  3. 3For a power, watch for an ending that repeats itself: once and end in the same digits, all later powers end in them as well.

Worked example

What are the last two digits of ?

Step-by-step

  1. 1
    Last two digits of the factors: , and

    Why: Hundreds and higher places of a factor only add multiples of , which cannot change the last two digits.

  2. 2
    , keep

    Why: Drop the hundreds of the running result for the same reason.

  3. 3
    , keep

Answer

Watch out

It gives the last digits and nothing about the leading ones. A self-repeating ending (as for ending in , or ending in ) must be checked by one multiplication, not assumed; when the base is coprime to the ending cycles instead, and the cycle length must be found.

Builds on

Also known as

last two digits of a power, last three digits, tens digit of a power, hundreds digit of a power, work modulo 100, work modulo 1000, ending digits of a product

Appears in past papers

2025 (II)