Divisibility by 3 and 9
Learn the digit sum rule: add the digits of a number to see at once whether it is divisible by 3 or by 9, find missing digits and check your sums.
Definition
The rule for 3
The rule for 9
Big numbers: add again
9 is stricter than 3
Try it now
Worked Examples
Add all the digits
Test the digit sum for 3
Test the digit sum for 9
Answer: is divisible by () but not by , because its digit sum is a multiple of but not of .
Common Mistakes
Looking at the last digit, as for 2, 5 and 10
Why it's wrong: The last digit says nothing about 3 or 9. ends in but is not divisible by , while ends in and is divisible by and by .
Correct: Always add all the digits: , so is divisible by and by .
Thinking every number divisible by 3 is also divisible by 9
Why it's wrong: The rule for is stricter. A digit sum of or is a multiple of but not of .
Correct: (digit sum ) is divisible by but not by . The other way round always works: every multiple of is a multiple of .
Stopping after the first digit that works in a missing digit puzzle
Why it's wrong: For there are usually three or four digits that work, because the multiples of are only apart.
Correct: For and , check , and : the box can be , or .
Believing that a matching digit sum check proves the answer is right
Why it's wrong: Casting out nines only finds some mistakes. Swapping two digits does not change the digit sum, so passes the same check as .
Correct: If the check does not match, the answer is surely wrong. If it matches, the answer is probably right, but not certainly.
Interactive Visual
Your turn: is it divisible by 3? By 9? Guess first, then check the digit sum
0 of 0 rightFor 3: add all the digits.
Pick a divisor, guess yes or no, then see the rule.
Is 372 divisible by 3?
For 3: add all the digits.
Why does the digit sum work? Split a long number into 999..., 99..., 9 and its digit sum
For 3: add all the digits.
Tap a divisor to see its rule on this number.
Is 123,456,789,012 divisible by 3?
Add all the digits:
1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 0 + 1 + 2 = 48
Still more than one digit, so add again:
4 + 8 = 12
Still more than one digit, so add again:
1 + 2 = 3
3 is a multiple of 3.
123,456,789,012 is divisible by 3.
Check with division: 123,456,789,012 ÷ 3 = 41,152,263,004
123,456,789,012 = 1 × 100,000,000,000 + 2 × 10,000,000,000 + 3 × 1,000,000,000 + 4 × 100,000,000 + 5 × 10,000,000 + 6 × 1,000,000 + 7 × 100,000 + 8 × 10,000 + 9 × 1000 + 1 × 10 + 2
= 1 × 99,999,999,999 + 2 × 9,999,999,999 + 3 × 999,999,999 + 4 × 99,999,999 + 5 × 9,999,999 + 6 × 999,999 + 7 × 99,999 + 8 × 9999 + 9 × 999 + 1 × 9 + (1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 1 + 2)
10 = 9 + 1, 100 = 99 + 1, 1000 = 999 + 1. The parts with 9, 99, 999 are multiples of 3, so only the digit sum is left over: it decides.
Interactive Sandbox
Expression Calculator
Try these:
History
No calculations yet
Practice Problems
18 problemsWhy It Matters
- Sharing fairly: Can 378 stickers be split among 9 friends? , so yes, without dividing first.
- Simplifying fractions: In both digit sums ( and ) are divisible by , so you can divide both by : .
- Checking your work: The digit sum keeps the remainder after dividing by , so you can check a long addition in a few seconds (this is called casting out nines).
- Number puzzles: Missing digit puzzles and codes often hide a number divisible by or .
Real World Applications
Making Equal Teams
Coaches and teachers often need to split a group into equal teams. The digit sum tells them at once whether it works.
Example:
Can runners start in equal groups? , so yes: runners per group.
A school sports day has students. The teachers want teams of the same size.
How many students will be in each team?
Step 1: Write the mathematical expression
Divide the students into 9 teams:
Checking a Bill
Before calculators, shopkeepers and bookkeepers checked long additions with digit sums. It is still a quick way to catch a slip in your own calculations.
Example:
: the remainders are and , which add to , and also gives . The check passes.
A cashier adds two delivery notes: . You want to check the total with remainders after dividing by .
What remainder does the total leave when divided by ?
Step 1: Write the mathematical expression
Find the remainder of 3694 divided by 9:
Cracking a Code
Puzzle books and escape rooms like codes with a missing digit. A divisibility clue often gives the answer in one step.
Example:
A code is divisible by : , so the box must be or ( or ).
The code of a bike lock is . A note says: the code is divisible by .
Which digit is missing?
Step 1: Write the mathematical expression
Find the digit that brings the digit sum to the next multiple of 9:
Key Takeaways
- 1The digit sum is the total of all digits of a number: for it is
- 2A number is divisible by when its digit sum is divisible by , and by when its digit sum is divisible by
- 3For big numbers, add the digits again and again until one digit is left: , , mean divisible by , only means divisible by
- 4Every multiple of is a multiple of , but not every multiple of is a multiple of
- 5It works because , , : the nines drop out and only the digit sum is left
- 6A number and its digit sum leave the same remainder when divided by or , which lets you find missing digits and check sums (casting out nines)
Frequently Asked Questions
Glossary
- Digit sum
- The total you get by adding all the digits of a number, e.g.
- Repeated digit sum
- Adding the digits again and again until only one digit is left, e.g.
- Divisible by
- A number is divisible by if dividing it by leaves no remainder, e.g.
- Divisibility rule
- A shortcut that tells whether a number is divisible by another without doing the division
- Remainder
- What is left over after dividing, e.g. remainder
- Casting out nines
- Checking a calculation by replacing every number with its remainder after dividing by (its repeated digit sum)
Formula Card
Rule for 3
A number is divisible by 3 when its digit sum is divisible by 3
Rule for 9
A number is divisible by 9 when its digit sum is divisible by 9
Why it works
The parts with 999, 99 and 9 are always multiples of 9, so only the digit sum decides
Same remainder
A number leaves the same remainder as its digit sum when divided by 9 (or 3)