Unit Digit and Last Two Digits in CAT: 4 Step Cyclicity

Questions about the last digit or the last two digits of a huge power look frightening because the number itself is impossibly large. Nobody is meant to compute 7 to the power 2026. The trick is that only the end of the number matters, and the end of a power of any number repeats in a short cycle. Once you know the cycle, the question is a small remainder calculation.
This piece gives the unit digit method in four steps, then extends it to the last two digits with three tools: a cycle of twenty, a shortcut for numbers ending in 1, and the special cases of 25, 75 and 24. Every example has been checked by direct computation, so you can trust the numbers when you practise.
The method lives inside the number system chapter, and the number system practice questions give you the repetition it needs.
- Only the last digit of the base decides the last digit of the power.
- Bases ending in 0, 1, 5 or 6 never change. Bases ending in 4 or 9 have a cycle of 2. Bases ending in 2, 3, 7 or 8 have a cycle of 4.
- Divide the exponent by the cycle length, use the remainder, and treat a remainder of zero as a full cycle.
- For the last two digits, any number coprime to 100 returns to 1 after a power of 20.
- Numbers ending in 1 follow a simple pattern: 1 plus ten times the tens digit times the exponent.
The Four Steps for the Unit Digit
The whole method fits on one line: reduce the base, find the cycle, reduce the exponent, read the digit. Each step is short, and the steps are always done in the same order.
Step one: reduce the base to its last digit
The unit digit of 23 to the power 45 depends only on the 3, because the tens digit and everything before it never affects the units place when you multiply. So 23 to the power 45 behaves like 3 to the power 45.
Step two: know the cycle
Write out the powers until the unit digit repeats. The cycles are short, and you should memorise them.
| Last digit of base | Cycle of unit digits | Cycle length |
|---|---|---|
| 0, 1, 5, 6 | Same digit every time | 1 |
| 4 | 4, 6 | 2 |
| 9 | 9, 1 | 2 |
| 2 | 2, 4, 8, 6 | 4 |
| 3 | 3, 9, 7, 1 | 4 |
| 7 | 7, 9, 3, 1 | 4 |
| 8 | 8, 4, 2, 6 | 4 |
Step three: reduce the exponent
Divide the exponent by the cycle length and keep the remainder. The remainder tells you which term of the cycle you land on. If the remainder is zero, you land on the last term of the cycle, because a full number of cycles ends where the cycle ends.
Step four: read off the digit
Take the term of the cycle that matches the remainder. For 7 to the power 2026, the cycle is 7, 9, 3, 1 with length 4. The exponent 2026 divided by 4 leaves a remainder of 2, so we take the second term, which is 9. A direct check confirms that the unit digit of 7 to the power 2026 is 9.
Treating a remainder of zero as the first term of the cycle. If the exponent is a multiple of the cycle length, the answer is the last term. For a base ending in 3, the unit digit of the fourth power is 1, not 3, and the same holds for 8, 12 or any multiple of 4.
Worked Examples for the Unit Digit
Take 23 to the power 45. The base reduces to 3, the cycle is 3, 9, 7, 1, and 45 divided by 4 leaves a remainder of 1. The unit digit is 3.
A product of two powers is handled digit by digit. What is the unit digit of 13 to the power 13 times 8 to the power 21? The first factor reduces to 3 to the power 13, and 13 leaves a remainder of 1 on division by 4, so it ends in 3. The second factor is 8 to the power 21, and 21 leaves a remainder of 1, so it ends in 8. The product of 3 and 8 is 24, so the unit digit is 4.
Towers of powers
A tower such as 2 to the power of 3 to the power 4 means 2 raised to (3 to the power 4). Work from the top: 3 to the power 4 is 81, so the question becomes the unit digit of 2 to the power 81. The cycle for 2 is 2, 4, 8, 6, and 81 divided by 4 leaves a remainder of 1, so the unit digit is 2.
For a tower where the top exponent is large, you only need the exponent's remainder on division by the cycle length. Compute that remainder directly from the smaller tower, using its own unit or last two digits, and never expand the full number.
Extending the Idea to the Last Two Digits
The last two digits of a power also repeat, but the cycles are longer, so we use three tools instead of a table. Each tool covers a family of bases.
Tool one: the cycle of twenty
For any base that is coprime to 100, meaning it does not end in 0, 2, 4, 5, 6 or 8, raising it to the twentieth power leaves a remainder of 1 on division by 100. So the last two digits repeat every 20 in the exponent. Reduce the exponent modulo 20, then compute the smaller power.
For 13 to the power 45, the exponent 45 leaves a remainder of 5 on division by 20, so the answer matches 13 to the power 5, which is 371,293. The last two digits are 93. For 17 to the power 2026, 2026 leaves a remainder of 6 on division by 20, and 17 to the power 6 is 24,137,569, so the last two digits are 69.
Some bases have an even shorter cycle. 7 to the power 4 is 2,401, which ends in 01, so powers of 7 repeat every 4 in the last two digits. For 7 to the power 2026, the exponent leaves a remainder of 2 on division by 4, so the answer is the last two digits of 7 squared, which is 49.
Tool two: numbers ending in 1
If the base is 10a plus 1, then its power n has last two digits equal to 1 plus 10 times a times n, taken modulo 100. For 31 to the power 25, a is 3 and n is 25, so the number is 1 plus 750, which is 751, and the last two digits are 51. For 21 to the power 37, a is 2, giving 1 plus 740, which is 741, and the last two digits are 41. For 11 to the power 50, a is 1, giving 1 plus 500, which is 501, and the last two digits are 01.
Tool three: the special cases
- Any odd power of 25 ends in 25, and any even power ends in 25 too.
- An odd power of 75 ends in 75, and an even power of 75 ends in 25.
- 24 to an odd power ends in 24, and 24 to an even power ends in 76.
- 76 to any power ends in 76, since 76 squared ends in 76.
Check one of these by hand to make it stick. 24 to the power 30 ends in 76, and 24 to the power 31 ends in 24. Both match a direct computation, and the pattern holds for every such exponent.
Before you reach for the cycle of twenty, look at the last two digits of the base. If it ends in 1, 25, 75, 24 or 76, a one-line shortcut applies and the problem is over in seconds. The cycle is the fallback, not the opening move.
Where the Method Breaks Down
A few situations catch candidates out even when they know the cycles.
- Bases that share a factor with 100, such as those ending in 0, 2, 4, 5, 6 or 8, do not follow the cycle of twenty. Use the special cases or compute smaller powers directly.
- A base that is a power itself, such as 16 to the power 25, can be rewritten before you start, since 16 is 2 to the power 4.
- A negative exponent or a fractional exponent is a different topic and does not use this method.
- A sum of powers needs the unit digit of each term, and then the unit digit of their sum, not the other way around.
A habit that helps is to say out loud what family the base belongs to before you compute anything. That one sentence usually picks the tool.
Students try to memorise answers for specific bases and forget them under pressure. What lasts is the structure: reduce, find the cycle, reduce the exponent, read. Practise the structure on twenty examples and the cycle table stays in your head without effort.
A Practice Routine
- Day one: write out the cycles for 2, 3, 7, 8, 4 and 9 from memory until you can do it without a mistake.
- Day two: solve ten unit digit problems, including three tower problems, and check each one by direct computation of a small power.
- Day three: solve last-two-digit problems with the cycle of twenty and the numbers-ending-in-1 tool.
- Day four: mix everything, and time yourself on a set of ten, aiming for under a minute each.
Use a spreadsheet or a calculator to verify your answers while you practise, not during the exam. The point is to build trust in the method. Plan the week with the CAT preparation planner, ask for an outside view with a strategy review if quant is not moving, and use the CAT percentile predictor to see what a better quant section is worth against your target.
Summary
For the unit digit, reduce the base to its last digit, find the cycle length, reduce the exponent, and read the digit. A zero remainder means the last term of the cycle. For the last two digits, powers of numbers coprime to 100 repeat every 20, numbers ending in 1 follow 1 plus 10 times a times n, and 25, 75, 24 and 76 have their own short patterns.
Every method here was verified against direct computation, and the whole chapter is a handful of structures. Learn the structures, say the family of the base aloud and the questions become quick, reliable marks.
Drill the Number System Chapter
Say the base family aloud, pick the tool, and check by direct computation.
Practise Number SystemFrequently Asked Questions About Unit Digit and Last Two Digits
How do I find the unit digit of a large power?
Reduce the base to its last digit, find that digit's cycle, reduce the exponent modulo the cycle length and read off the matching term. A zero remainder means the last term.
What is the cycle length for bases ending in 2, 3, 7 or 8?
Four. Bases ending in 4 or 9 have a cycle of two, and bases ending in 0, 1, 5 or 6 have a cycle of one.
How do I find the last two digits of a power?
If the base is coprime to 100, powers repeat every 20 in the exponent. Numbers ending in 1 follow 1 plus 10 times a times n, and 25, 75, 24 and 76 have short patterns.
Do I need a calculator for this?
No. In the exam you reduce the exponent and compute a small power by hand. Use a calculator only while practising, to verify your method.
Practice these Quant concepts, chapter by chapter
Thousands of CAT Quant practice questions by chapter and difficulty, each with a worked solution.
More from Quant
Continue reading

Why MBA in 90 Seconds: A 3 Part Answer That Sounds Real

TITA Answers in CAT DILR: Verify Twice Without Options

On-Screen Calculator in CAT: When to Open It or Skip It

Rough Sheet in CAT: A 4 Zone Layout That Saves Your Work
Put it into practice