Divisibility Rules
Progress can't be saved in this browser, so this lesson's status can't be set.
Watch the video explainer
Learning goals
- Test for , and by reading the last digit
- Add the digits to settle and
- Check the last two or three digits for and
- Combine the and tests for , since they share no factor above
- Explain why each rule works, from place value for most, and from combining two rules for
- State what divisible means, and tie factor to multiple
What “divisible” means
A whole number is divisible by a positive whole number when the division leaves remainder . For example, with nothing left over, but leaves . We do not divide by zero. Zero itself is divisible by every positive whole number: , for example.
The same division fact has three useful descriptions:
- Divisible: is divisible by .
- Factor (or divisor): is a factor of .
- Multiple: is a multiple of .
Each says : four groups of five use all twenty objects. In the picture, change the count and the row width. A full set of rows means the width is a factor; the hollow dots in a short last row show the remainder.
Divides evenly, or leaves a remainder
12 dots in rows of 5 make 2 full rows with 2 dots left over. So 5 is not a factor of 12.
Set the count to and step the row width from up to . Exactly two of those five widths leave nothing hollow, and each of the other three leaves a remainder you can count on the picture.
Check your understanding
Since is a factor of , which statement says the same thing?
A factor divides the number with no remainder.
So is divisible by and is a multiple of . Swapping the words factor and multiple would mean dividing the other way, and is not a whole number.
The one idea behind most rules
Most tests use one idea: split off a part that divides evenly, then test the leftover.
For example, . The is five groups of and the is two groups of . Together they make seven groups, so is divisible by .
The same idea works with subtraction. The numbers and are six threes and four threes. Adding gives ten threes; subtracting gives two threes:
For any positive divisor , adding or subtracting two multiples of just adds or subtracts their counts of groups. This is the distributive property in reverse. If the two counts are and , then
For a whole-number difference, subtract the smaller count from the larger. A divisor of both numbers therefore divides their sum and difference. This explains the shortcut in both directions. If the leftover is a multiple of , so is the whole, because it is a sum of two multiples. If the whole is a multiple, so is the leftover, because it is a difference of two multiples. The whole passes exactly when the leftover does.
For example, , and is tens. The picture separates that known multiple of from the ones digit left to test.
Divisibility by 2, 5, and 10: read the last digit
Every place-value column above the ones is made from tens. Since , that part already divides evenly by , , and .
Why only the last digit matters for , , and #
Split into . The is tens, so all three divisors divide it evenly. Only the is left to test: it is divisible by , but not by or .
The same works for any whole number, since every whole number splits into a whole number of tens and its ones digit. By the sum-and-difference reasoning above, the whole number passes each test exactly when that ones digit does.
- Divisible by : the last digit is , , , , or .
- Divisible by : the last digit is or .
- Divisible by : the last digit is .
A whole number divisible by is even; any other whole number is odd. Zero is even, because .
Worked example 1 Test for divisibility by , , and
Only the ones digit needs testing, and it is .
To see why the rest drops out, split off that last column:
where the piece is tens, already a multiple of . The leftover ones digit is , and is a multiple of , of , and of at once.
So is divisible by (the digit is even), by (the digit is ), and by (the digit is ). Any number ending in clears all three tests together.
Check your understanding
Which statement correctly tests using its last digit?
The last digit is , which passes all three tests.
Every ten contains five twos or two fives, so the number also divides evenly by and . Zero is an even digit; it does not make the test fail.
Check your understanding
Why do and its last digit give the same results for divisibility by , , and ?
Split off the ones digit.
The is tens. Since , this part leaves remainder for each divisor. Only the remains to test, so the whole number passes and fails and .
Divisibility by 3 and 9: add the digits
The last digit cannot settle divisibility by : passes and fails, although both end in . Instead, add the digits. For , the sum passes both the and tests. To see why this works, look at place value.
Why the digit sum decides divisibility by (and by )#
Use so that four columns contribute. Each place value above the ones is one more than a multiple of :
Split each column that way and distribute:
The first part is , so it divides evenly by . Only the digit sum, , remains. It too divides evenly by , giving .
The same split works for any digits and any number of columns. A hundred contributes a group of and one leftover unit; a thousand contributes and one; each larger place behaves the same way. Multiplying by the digit in that column leaves exactly that many units. All the other pieces are multiples of , so the whole number and its digit sum leave the same remainder on division by . Since every multiple of is also a multiple of , the argument works for too.
A number is divisible by or by exactly when its digit sum is divisible by that divisor. You may add the digits again if the sum is still awkward: gives , then . So passes the test and fails the test.
Check your understanding
Why does the digit sum test for divisibility by both and ?
Splitting each place value leaves its digit and a multiple of .
The is divisible by both and . The digit sum is , so passes the test and fails the test. The place values are one more than multiples of , not multiples themselves. Dropping digits or testing only the last digit does not preserve these tests.
Worked example 2 Is divisible by ? By ?
Add the digits:
Now test the digit sum . It is divisible by , since , but not by , since and step right over .
If you cannot read at a glance, fold it once more: , which is divisible by and not by , the same verdict. So is divisible by but not by .
Check your understanding
Add the digits of to test divisibility by and . Which conclusion follows?
Add the digits first: . Test that sum against each divisor.
Both divisions leave remainder , so is divisible by both and . A multiple of always passes the test too.
A missing-digit question uses the same rule. To make divisible by , start with . The missing digit must raise the sum to , so it is . The next multiple, , would require a digit of , which is impossible. Thus is the only answer.
Divisibility by 4 and 8: check the last two or three digits
For and , keep a block of digits instead of adding them.
Why the last two digits decide divisibility by #
Split into . Each hundred is , so the hundreds divide evenly by . The leftover does too, so passes the test.
For , split the same number into . Each thousand is , so only needs testing. Since , the number fails the test.
For any whole number, the part above the last two digits is a whole number of hundreds, all divisible by . Thus the last two digits, read as one number, decide the test. Similarly, the part above the last three digits is a whole number of thousands, all divisible by . The last three digits decide the test. If the number has fewer digits than the rule asks for, test the whole number.
- Divisible by : the last two digits form a multiple of .
- Divisible by : the last three digits form a multiple of .
Every hundred is divisible by , but is not divisible by . That is why the test needs three digits: every thousand is divisible by .
Check your understanding
Why can you test using for , but for ?
The discarded pieces must divide evenly by the divisor being tested.
That leaves for the test and for the test. Discarding for would fail:
So hundreds need not be multiples of , and passing does not guarantee passing . Keeping only the last digit fails too: is a multiple of but passes neither nor .
Worked example 3 Is divisible by ? By ?
For , ignore everything but the last two digits, which form :
so is divisible by .
For , keep the last three digits, which form , and test that smaller number:
so is divisible by as well. To check , use ; the remaining is .
Check your understanding
Which number is divisible by but not by ?
Check the last two digits for and the last three digits for , separately.
The last two digits give:
The last three digits give:
So passes the test but fails the test. By contrast, passes both, since its last three digits give . The other two fail the test already: ends in , and ends in , neither a multiple of .
Divisibility by 6: combine 2 and 3
A number is divisible by exactly when it passes both the and tests. For example, is even and its digit sum is ; indeed, .
Why passing both the test and the test means divisible by #
Take , which is even and divisible by . Write it as three equal rows of objects. Each row can be paired, since . The three rows together contain objects.
For any multiple of , arrange the objects in three equal rows. If the row length is even, the rows split into pairs and the total is a multiple of . If the row length is odd, each row leaves one unpaired object; the three leftovers make one pair and one extra, so the total is odd. Thus an even multiple of must have even row length and must be a multiple of . Conversely, every group of splits into three twos and also into two threes, so every multiple of passes both tests.
Combining two divisor tests works when the divisors share no factor above , as and do. Passing the test twice does not test : passes both copies of the same test but is not divisible by . When two divisors share a factor above one, passing both tests does not show that the number is divisible by their product.
Check your understanding
Why must an even number that is divisible by also be divisible by ?
Divisibility by gives three equal rows; it is the row length that must be even. Three odd-length rows leave three unpaired objects, hence an odd total. Since the total is even, each row has a whole number of pairs.
Three rows of pairs make groups of . For example, three rows of give .
Combining two tests need not test the product of their divisors when the divisors share a factor. The number passes the test twice but is not divisible by .
Worked example 4 Is divisible by ?
Run the two tests that make up .
First, divisibility by : the last digit is , which is even, so passes.
Next, divisibility by : the digit sum is
and is a multiple of , so passes that test too.
It clears both halves, so is divisible by . As a check, .
Check your understanding
Which number is divisible by ?
A number is divisible by when it passes both the test and the test. That means an even last digit, and a digit sum that is a multiple of .
The last digit, , is even. Add the digits:
So clears both tests. Of the rest, is odd, while (digit sum ) and (digit sum ) fail the test.
Putting the rules to work
These tests are much quicker than long division, and you can run several of them on one number in a single pass. Here is the whole toolkit:
| Divisor | Test |
|---|---|
| last digit is even () | |
| digit sum is a multiple of | |
| number formed by the last two digits is a multiple of | |
| last digit is or | |
| passes both the test and the test | |
| number formed by the last three digits is a multiple of | |
| digit sum is a multiple of | |
| last digit is |
Worked example 5 Which of divide ?
Run each test on in turn.
The last digit is , so the number is even and divisible by , by , and by all at once.
The digit sum is , which is , so the number is divisible by and by .
Because it passes the test and the test, it is divisible by .
The last two digits form , and , so it is divisible by .
The last three digits form , and , a remainder of , so is not divisible by .
So is divisible by every one of and , but not by . The rules share their work: you used one digit sum () for both the and the tests, and the final zero for three tests at once. Each test is still checked on its own, though: the tests for and look alike but gave different answers here.
Check your understanding
A whole number ends in and has digit sum . Which of these is it?
Both clues have to hold at once: the last digit must be , and the digits must add to .
The number ends in , and its digit sum is:
So fits both clues. Of the others, ends in but its digits add to , has digit sum but ends in , and fits neither clue.