• Practice
  • About 13 min
  • 5 practice questions

Unit digits and cyclicity

Find the unit digit of large powers and products by using the repeating cycle of last digits.

If something looks wrong, please tell us.

Questions such as 'find the unit digit of 7^53' look impossible, but the last digit of powers repeats in a short cycle. Once you know the cycle, the exponent only needs a remainder after division by 4.

Cycles of last digits

Unit-digit cycles
Base ends inCycle of last digits
0, 1, 5, 6Always the same digit
22, 4, 8, 6
33, 9, 7, 1
44, 6
77, 9, 3, 1
88, 4, 2, 6
99, 1

Divide the exponent by 4 and look at the remainder. Remainder 1 means the first digit in the cycle, 2 the second, 3 the third, and remainder 0 means the last digit (the fourth for 2, 3, 7, 8). For 4 and 9 (cycle length 2), use odd or even exponent.

Worked example 1

Question: Unit digit of 7^53. Working: 53 ÷ 4 leaves remainder 1, so we take the first digit of the 7-cycle (7, 9, 3, 1), which is 7. Answer: 7.

Worked example 2

Question: Unit digit of 2^45 × 3^22. Working: 45 ÷ 4 leaves remainder 1, so 2^45 ends in 2. 22 ÷ 4 leaves remainder 2, so 3^22 ends in 9. The product of the unit digits is 2 × 9 = 18, which ends in 8. Answer: 8.

Reduce the exponent modulo 4 (remainder 0 means take the last digit of the cycle), then read the cycle.

— Rule to remember

Sums of powers

For a sum, find each unit digit and add them, then keep only the last digit. For 8^102 + 9^101: 102 ÷ 4 leaves 2, so 8^102 ends in 4. 101 is odd, so 9^101 ends in 9. 4 + 9 = 13, so the answer is 3.

Key takeaways: only the last digit of the base matters; learn the five cycles; reduce the exponent by 4; and combine unit digits by multiplying or adding, keeping only the last digit.

Check your understanding

  1. 1. What is the unit digit of 13^27?

    1. 1
    2. 3
    3. 7
    4. 9
    Show answer

    Answer: C. Only the last digit 3 matters; its cycle is 3, 9, 7, 1. 27 ÷ 4 leaves remainder 3, so take the third digit of the cycle, 7.

  2. 2. What is the unit digit of 4^35?

    1. 6
    2. 4
    3. 2
    4. 8
    Show answer

    Answer: B. The cycle of 4 is 4, 6 (length 2). An odd exponent gives 4 and an even exponent gives 6. 35 is odd, so the unit digit is 4.

  3. 3. What is the unit digit of 2^40?

    1. 6
    2. 2
    3. 4
    4. 8
    Show answer

    Answer: A. The cycle of 2 is 2, 4, 8, 6. 40 ÷ 4 leaves remainder 0, which means the last digit of the cycle, 6.

  4. 4. What is the unit digit of 7^22 × 3^15?

    1. 1
    2. 9
    3. 3
    4. 7
    Show answer

    Answer: C. 7^22: 22 ÷ 4 leaves 2, the second digit of 7, 9, 3, 1, which is 9. 3^15: 15 ÷ 4 leaves 3, the third digit of 3, 9, 7, 1, which is 7. Multiply the unit digits: 9 × 7 = 63, so the unit digit is 3.

  5. 5. What is the unit digit of 8^102 + 9^101?

    1. 1
    2. 5
    3. 7
    4. 3
    Show answer

    Answer: D. 8^102: 102 ÷ 4 leaves 2, the second digit of 8, 4, 2, 6, which is 4. 9^101: the exponent is odd, so it ends in 9. Add: 4 + 9 = 13, so the unit digit is 3.

Sign in to keep track of the lessons you finish.

Next lesson → HCF and LCM word problems

Privacy · Terms · Refunds · Delivery