Divisibility Rules Calculator
Check Divisibility
Enter a whole number to check its divisibility by numbers from 2 to 12 using standard divisibility rules.
Divisibility Chart (2-12)
What is a Divisibility Rules Calculator?
A Divisibility Rules Calculator is a tool designed to quickly determine if a given integer (a whole number) can be evenly divided by another integer, typically small numbers like 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, or 12, without performing the actual division and checking for a remainder. Instead, it applies a set of simple “rules” or tests based on the digits of the number being checked. This calculator automates these tests.
Anyone working with numbers, especially students learning number theory, teachers, programmers, or even those doing quick mental math or estimations, can benefit from a Divisibility Rules Calculator. It’s a handy tool for understanding number properties and for simplifying fractions or factoring numbers.
A common misconception is that you need to perform long division to check divisibility. While that always works, the divisibility rules are shortcuts that are much faster for specific divisors, and the Divisibility Rules Calculator implements these shortcuts.
Divisibility Rules Explained
The Divisibility Rules Calculator uses the following mathematical rules to check for divisibility without performing full division:
| Divisor | Rule | Example (Number: 120) |
|---|---|---|
| 2 | The last digit is even (0, 2, 4, 6, or 8). | 120 (0 is even) – Divisible |
| 3 | The sum of the digits is divisible by 3. | 1+2+0 = 3 (3 is divisible by 3) – Divisible |
| 4 | The number formed by the last two digits is divisible by 4. | 120 (20 is divisible by 4) – Divisible |
| 5 | The last digit is 0 or 5. | 120 (ends in 0) – Divisible |
| 6 | The number is divisible by both 2 and 3. | 120 is divisible by 2 and 3 – Divisible |
| 7 | Double the last digit and subtract it from the remaining leading truncated number. If the result is divisible by 7, then the original number is divisible by 7. Repeat if needed. | 120 -> 12 – (2*0) = 12 (12 is not div by 7) – Not Divisible (for 120, but rule for e.g., 343: 34-6=28, 28/7=4) |
| 8 | The number formed by the last three digits is divisible by 8. | 120 (120 is divisible by 8, 120/8=15) – Divisible |
| 9 | The sum of the digits is divisible by 9. | 1+2+0 = 3 (3 is not divisible by 9) – Not Divisible |
| 10 | The last digit is 0. | 120 (ends in 0) – Divisible |
| 11 | The alternating sum of the digits (from right to left, add-subtract-add…) is 0 or divisible by 11. | 0 – 2 + 1 = -1 (-1 is not 0 or div by 11) – Not Divisible (for 121: 1-2+1=0) |
| 12 | The number is divisible by both 3 and 4. | 120 is divisible by 3 and 4 – Divisible |
Table 1: Common Divisibility Rules.
Variables in Divisibility Checks:
- Number (N): The integer being tested for divisibility.
- Digits: The individual numbers (0-9) that make up N.
- Sum of Digits: The result of adding all digits of N together.
- Last Digit(s): The digit(s) at the end of N.
Practical Examples
Example 1: Checking the number 360
- Input Number: 360
- Divisible by 2? Yes (ends in 0).
- Divisible by 3? Yes (3+6+0=9, 9 is div by 3).
- Divisible by 4? Yes (60 is div by 4).
- Divisible by 5? Yes (ends in 0).
- Divisible by 6? Yes (divisible by 2 and 3).
- Divisible by 7? No (36 – 0 = 36, not div by 7).
- Divisible by 8? Yes (360/8 = 45).
- Divisible by 9? Yes (3+6+0=9, 9 is div by 9).
- Divisible by 10? Yes (ends in 0).
- Divisible by 11? No (0-6+3 = -3).
- Divisible by 12? Yes (divisible by 3 and 4).
- Result: 360 is divisible by 2, 3, 4, 5, 6, 8, 9, 10, 12.
Example 2: Checking the number 143
- Input Number: 143
- Divisible by 2? No (ends in 3).
- Divisible by 3? No (1+4+3=8).
- Divisible by 4? No (43 is not div by 4).
- Divisible by 5? No (ends in 3).
- Divisible by 6? No (not div by 2).
- Divisible by 7? No (14 – 6 = 8).
- Divisible by 8? No (143 is not div by 8).
- Divisible by 9? No (1+4+3=8).
- Divisible by 10? No (ends in 3).
- Divisible by 11? Yes (3-4+1=0).
- Divisible by 12? No (not div by 3 or 4).
- Result: 143 is divisible by 11. (It’s also divisible by 13, but our calculator checks up to 12).
How to Use This Divisibility Rules Calculator
- Enter the Number: Type the whole number you want to check into the “Enter a Whole Number” input field. Ensure it’s a positive integer.
- Check Results: The calculator automatically updates as you type (or when you click the “Check Divisibility” button if auto-update isn’t immediate). It shows which numbers (from 2 to 12) the entered number is divisible by in the “Primary Result” and detailed yes/no with reasons in the “Intermediate Results” section.
- View Chart: The bar chart visually represents the divisibility, with green bars for “Yes” and red for “No”.
- Reset: Click “Reset” to clear the input and results and start over with the default number.
- Copy: Click “Copy Results” to copy the divisibility summary to your clipboard.
Understanding the results helps you quickly factor numbers, simplify fractions, or solve number theory problems. Our Divisibility Rules Calculator makes this process instant.
Key Factors That Affect Divisibility
While the rules are fixed, understanding these aspects can affect how you interpret or apply divisibility:
- The Base of the Number System: The divisibility rules we commonly use are for the base-10 (decimal) system. Rules change for other bases (like binary or hexadecimal). Our Divisibility Rules Calculator uses base-10.
- The Divisor: The rule is specific to the divisor. The rule for 3 is different from the rule for 7.
- The Digits of the Number: The specific digits and their positions within the number are crucial for applying the rules (e.g., last digit, sum of digits).
- Prime vs. Composite Divisors: Rules for prime divisors (like 7 or 11) are often more complex than for small prime divisors (2, 3, 5) or composite numbers whose factors have simple rules (like 6, 10, 12).
- Magnitude of the Number: While the rules apply to numbers of any size, applying them manually to very large numbers can be tedious, which is where a Divisibility Rules Calculator shines.
- Understanding the Rule’s Logic: Knowing *why* a rule works (e.g., the rule for 3 is based on properties of powers of 10 modulo 3) deepens understanding beyond just applying it.
Frequently Asked Questions (FAQ)
A: Look at the last digit. If it’s 0, 2, 4, 6, or 8, the number is divisible by 2. Our Divisibility Rules Calculator does this instantly.
A: Sum all the digits of the number. If that sum is divisible by 3, the original number is too.
A: The rule for 7 is a bit more complex: double the last digit and subtract it from the rest of the number. If the result is 0 or divisible by 7, the original is too. Repeat if needed. E.g., for 343: 34 – (2*3) = 28, which is divisible by 7.
A: Not directly. It checks for divisibility by 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, and 12. If a number isn’t divisible by any of these (and is greater than 1, and not 7 or 11 itself), it might be prime, but further checks with larger divisors would be needed.
A: The rules apply to the magnitude of the number. If -120 is checked, it follows the same divisibility as 120. Our calculator is designed for positive integers as entered.
A: Because 6 = 2 x 3, and 2 and 3 are prime factors. A number is divisible by 6 if and only if it’s divisible by both 2 and 3. The Divisibility Rules Calculator checks this.
A: There are rules for other numbers, but they become increasingly complex. This calculator focuses on the most common and practical rules up to 12. For 13, one rule is to multiply the last digit by 4 and add to the remaining number; if the result is divisible by 13, so is the original.
A: They are used in mental math, for simplifying fractions, in elementary number theory, in programming algorithms (like checking for even/odd), and before performing more complex operations like finding prime factorization. Using a Divisibility Rules Calculator can speed up these tasks.
Related Tools and Internal Resources
- Prime Number Calculator: Check if a number is prime and find its factors.
- Fraction Simplifier: Use divisibility to simplify fractions to their lowest terms.
- GCD Calculator: Find the Greatest Common Divisor of two numbers, often using divisibility concepts.
- LCM Calculator: Find the Least Common Multiple, related to divisibility and factors.
- Modulo Calculator: Calculate the remainder of a division, directly related to divisibility.
- Math Calculators Hub: Explore more mathematical and number theory tools.