Unit Digit: Patterns, Formulas and Shortcut Methods
Unit Digit is the digit in the ones place of a number. It can be found by observing the last digit of powers, products and sums. This page explains unit digit patterns, cyclicity, special cases and calculation shortcuts for solving numerical expressions quickly and accurately.
What Is a Unit Digit?
Only the last digit is required when finding a unit digit. For a power, the last digits usually repeat in a cycle. For example, the unit digits of powers of 2 are 2, 4, 8, 6, and then the pattern repeats. Therefore, the unit digit of 2^10 is 4 because 10 divided by the cycle length 4 leaves remainder 2.
Unit Digit Formula & Tricks
Important Formulas
Multiply only the last digits of the factors and retain the last digit of the result. For example, the unit digit of 47 × 83 is the unit digit of 7 × 3 = 21, which is 1.
Add the last digits and retain the ones digit. For example, the unit digit of 238 + 457 is the unit digit of 8 + 7 = 15, which is 5.
Find the repeating cycle of the last digit, divide the exponent by the cycle length and select the term indicated by the remainder.
The remainder obtained when a number is divided by 10 gives its unit digit. For example, 586 mod 10 = 6.
Quick Tricks
For multiplication, digits before the unit place do not affect the final digit. Replace every factor by its unit digit before multiplying.
For bases ending in 2, 3, 7 or 8, the unit digit cycle has length 4. Reduce the exponent modulo 4 and select the corresponding term.
When the exponent is exactly divisible by the cycle length, use the final term of the cycle rather than the zeroth term.
Powers of numbers ending in 0, 1, 5 or 6 always end in the same digit.
Unit Digit Concepts
Unit Digit Cycles of Powers
The standard cycles are: 0 → 0; 1 → 1; 2 → 2, 4, 8, 6; 3 → 3, 9, 7, 1; 4 → 4, 6; 5 → 5; 6 → 6; 7 → 7, 9, 3, 1; 8 → 8, 4, 2, 6; and 9 → 9, 1. The cycle length is 1, 2 or 4.
Finding the Unit Digit of a Power
First identify the last digit of the base. Next, divide the exponent by the cycle length. A remainder of 1, 2, 3 or 4 selects the corresponding cycle term; when the remainder is 0, select the final term. For cycles of length 2, use remainder 1 or 2.
Special Cases Ending in 0, 1, 5 and 6
Multiplication preserves these last digits: a number ending in 0 always produces 0, one ending in 1 produces 1, one ending in 5 produces 5, and one ending in 6 produces 6 when raised to any positive integer power.
Unit Digit of Products and Quotients
If the expression contains powers, find the unit digit of each power first, then multiply those digits modulo 10. Direct division is not generally valid for unit-digit questions because division may not produce an integer or may require additional divisibility information.
Unit Digit of Sums and Differences
For addition, add the last digits; for subtraction, subtract the last digits and interpret the result modulo 10. If the result is negative, add 10 to obtain the equivalent unit digit.
Unit Digit Video Lessons
Watch short topic-wise lessons for quick revision.
Unit Digit and Cyclicity of Powers
Learn how to determine the unit digit of powers using repeating cyclic patterns, with methods applicable to number system problems in competitive examinations.
Practice Unit Digit Questions
Practise published questions related to this topic.
Unit Digit Quick Quiz
Attempt 5 questions and check your score instantly.
Keep practising
Practice more Unit Digit questions in the PrepShots app and continue from your current topic.
Practice More Questions - Start ₹1 Trial →Quick Revision Notes
Unit Digit Quick Revision
Use these rules to solve unit digit questions involving powers, products, sums and differences.
- The unit digit of N is N mod 10.
- For multiplication, retain only the unit digit of each factor.
- Power cycles have lengths 1, 2 or 4 for decimal last digits.
- For cycle length L, use n mod L; if the remainder is 0, select the Lth cycle term.
- The cycles of 2, 3, 7 and 8 have length 4.
- The cycles of 4 and 9 have length 2.
- Positive powers of numbers ending in 0, 1, 5 or 6 retain the same unit digit.
- For sums and differences, calculate with last digits and retain the result modulo 10.
Unit Digit FAQs
What is the unit digit of 2^100?
The cycle of 2 is 2, 4, 8, 6. Since 100 mod 4 = 0, use the fourth term. The unit digit is 6.
What is the unit digit of 9^47?
The cycle of 9 is 9, 1. Since 47 mod 2 = 1, the unit digit is 9.
What is the unit digit of 6^125?
Every positive power of a number ending in 6 ends in 6. Therefore, the unit digit is 6.
How do you find the unit digit of 23^14 × 17^9?
The unit digit of 3^14 is 9 because 14 mod 4 = 2, and the unit digit of 7^9 is 7 because 9 mod 4 = 1. Their product ends in 9 × 7 = 63, so the answer is 3.
What is the unit digit of 4^18 + 7^11?
The cycle of 4 gives 4^18 → 4, and the cycle of 7 gives 7^11 → 7. Their sum is 11, so the unit digit is 1.
Why is the unit digit of 5^0 different from positive powers of 5?
For every non-zero number, a^0 = 1. Thus, 5^0 has unit digit 1, whereas every positive power of 5 has unit digit 5.
