How to Use the Divisibility Calculator
Enter any positive integer and the calculator instantly tests all divisibility rules from 2 to 20:
- Green checkmarks indicate the number IS divisible — with the quotient shown
- Red crosses indicate it is NOT divisible — with the remainder shown
- Each rule includes a plain-English explanation of the mathematical shortcut used
You can also enter a specific custom divisor to test numbers outside the 2-20 range.
The Complete Divisibility Rules (2–12)
Here are the classic divisibility rules:
- 2: Last digit is even (0, 2, 4, 6, 8)
- 3: Sum of all digits is divisible by 3
- 4: Last two digits form a number divisible by 4
- 5: Last digit is 0 or 5
- 6: Divisible by both 2 AND 3
- 7: Double the last digit, subtract from the rest — if the result is divisible by 7, so is the original
- 8: Last three digits form a number divisible by 8
- 9: Sum of all digits is divisible by 9
- 10: Last digit is 0
- 11: Alternating sum of digits (subtract every other) is divisible by 11
- 12: Divisible by both 3 AND 4
Why Divisibility Matters
Divisibility rules appear throughout math and daily life:
- Simplifying fractions: Find the GCD quickly by testing small divisors
- Check digit algorithms: UPC barcodes, credit cards (Luhn), and ISBN all use modular arithmetic
- Mental math competitions: Speed tests rely heavily on divisibility shortcuts
- Programming: The modulo operator (%) is one of the most-used operations in coding
- Standardized tests: SAT, GRE, and ACT math sections frequently test divisibility knowledge
Step-by-Step Instructions
- 1Enter any positive integer into the number field.
- 2The calculator instantly tests divisibility for divisors 2 through 20.
- 3Green results show factors with their quotients; red results show non-factors with remainders.
- 4Read the rule explanation for each divisor to understand the shortcut method.
- 5Enter a custom divisor to test any number outside the 2-20 range.