How to Find the Last Digit of a Power

The trick to learning how to find the last digit of a power is to stop calculating entire powers. Take 7103. Its last digit is 3, and you can find it without writing down any power larger than 72. You only need to track the last digit as you multiply by 7, then use the remainder of 103 divided by 4 to find your place in the pattern.
Keep the remainder and drop the rest
The last digit of a nonnegative whole number is its remainder when divided by 10. For example, 247 = 24 × 10 + 7, so 247 ends in 7. In modular arithmetic, we write 247 ≡ 7 (mod 10). The symbol ≡ here means the two numbers have the same remainder when divided by 10. It does not mean the numbers are equal.
Keeping only the remainder works even if you still have more multiplying to do. Multiply 247 by 3 and you get (24 × 3) × 10 + 7 × 3. The first term is still a multiple of 10, so it cannot affect the last digit. You only need 7 × 3 = 21, which ends in 1. The same reasoning lets you replace either factor with its last digit before multiplying. For more on this notation, see the MathWorld entry on congruence.
Build the cycle one digit at a time
Start with 71, whose last digit is 7. To get the next digit, multiply the current digit by 7 and keep only the ones digit. You do not need to know the tens digit or anything to its left.
| Exponent | Calculation for the last digit | Last digit |
|---|---|---|
| 1 | Start with the base | 7 |
| 2 | 7 × 7 = 49 | 9 |
| 3 | 9 × 7 = 63 | 3 |
| 4 | 3 × 7 = 21 | 1 |
| 5 | 1 × 7 = 7 | 7 |
At exponent 5, the digit is back to 7. That first repeat is enough to prove the pattern continues. Each next digit depends only on the current digit and the fixed multiplier 7. Starting from 7 again must give 9 next, then 3, then 1, and then 7 again. The cycle has four entries: 7, 9, 3, 1.
Notice that the fifth row confirms the repeat, but it does not add a fifth entry to the cycle. It is the first entry of the next copy. This distinction matters when you divide the exponent by the cycle length.
How to find the last digit of a power using the exponent
Write the exponent as a multiple of the cycle length plus a remainder. For 7103, the calculation is 103 = 25 × 4 + 3. The first 100 exponents use 25 complete copies of the cycle. Exponent 101 starts a new copy, exponent 102 is its second entry, and exponent 103 is its third. The third entry is 3.
A zero remainder works differently if you number the entries starting at 1. For 7104, we have 104 = 26 × 4. Exponent 104 finishes the 26th copy rather than starting a new one, so you use the fourth entry, 1. A zero remainder does not mean the power ends in 0.
There are two divisions by different numbers in this method. A remainder modulo 10 gives you a digit. A remainder modulo the cycle length gives you a position. For 7103, both happen to be 3, but that is a coincidence. For 7102, the exponent leaves a remainder of 2 when divided by 4, and the second entry in the cycle is 9.
The base tells you which cycle to use
Only the last digit of the base matters. For example, 13459 has the same last digit as 459. Starting from 4, multiply by 4 to get 16, then multiply the digit 6 by 4 to get 24. You are back at 4, so the cycle is 4, 6. Since 59 = 29 × 2 + 1, the power ends in 4. In this cycle, the only thing you need to know about a positive exponent is whether it is odd or even.
Some cycles have just one entry. A base ending in 5 gives a last digit of 5 at every positive exponent, because 5 × 5 ends in 5. Similarly, a base ending in 6 stays at 6, because 6 × 6 ends in 6. You do not have to memorize these cases. One multiplication shows why each digit stays put.
These cycles start at exponent 1. If the exponent is 0 and the base is nonzero, the power is 1. Handle that case directly rather than treating it as the end of a cycle. For instance, 40 ends in 1, not 6.
Practice with a cycle and a product
For more practice, visit the IYMC training and practice problems page or browse the Mathematics Explained articles.
Find the last digit of 2872
Start with 8 and multiply by 8, keeping only the last digit each time. You get 8, 4, 2, 6, then 8 again. Since 72 = 18 × 4, the exponent lands at the end of a complete cycle. The answer is 6. As a check, 2871 lands one position earlier, at 2, and multiplying that digit by 8 gives 16.
Find the last digit of 1325 × 1214
The cycle for 3 is 3, 9, 7, 1. Since 25 = 6 × 4 + 1, the first factor ends in 3. The cycle for 2 is 2, 4, 8, 6. Since 14 = 3 × 4 + 2, the second factor ends in 4. Multiply just those two digits: 3 × 4 = 12, so the product ends in 2.
Frequently asked questions
What if the exponent leaves a remainder of zero?
For a positive exponent, use the last entry of the cycle. A zero remainder means the exponent lands at the end of a complete cycle.
Can I ignore all but the last digit of the base?
Yes. Replacing the base with its last digit does not change the last digit of any positive whole-number power.
How do I know when the cycle restarts?
For last-digit powers, stop when the starting digit returns. The same digit multiplied by the same base digit always produces the same next digit.



