All Tools LCM Calculator GCF Calculator LCD Calculator Blog About Contact ⚡ Calculate LCM

Divisibility Calculator

Test divisibility by any number with step-by-step divisibility rules and explanations.

Input Number & Divisors

Enter divisors from 2 to 15 (comma separated)

Quick Divisor Selection
Divisibility Results
Testing 1236 for divisibility…
Step-by-Step Divisibility Rules

Divisibility Rules Reference

Divisible by 2

Last digit is even (0, 2, 4, 6, 8).

Divisible by 3

Sum of digits is divisible by 3.

Divisible by 4

Last two digits form a number divisible by 4.

Divisible by 5

Last digit is 0 or 5.

Divisible by 6

Divisible by both 2 and 3.

Divisible by 7

Double the last digit, subtract from the rest; result divisible by 7.

Divisible by 8

Last three digits form a number divisible by 8.

Divisible by 9

Sum of digits is divisible by 9.

Divisible by 10

Last digit is 0.

Divisible by 11

Alternating sum of digits is divisible by 11.

Divisible by 12

Divisible by both 3 and 4.

Divisible by 13

Add 4× last digit to the rest; result divisible by 13.

Related Math Tools

Divisibility Calculator: The Complete Guide to Divisibility Rules

The Divisibility Calculator on lcmcalculator.info is a free online tool that checks whether a number is divisible by another number using standard divisibility rules. Whether you need a divisibility calculator with steps for homework, a divisibility test calculator for quick checks, or a number divisibility calculator for teaching, this tool delivers fast, accurate results with full step-by-step explanations. You can test divisibility by 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, and more — all in one place.

What Is Divisibility?

A number a is divisible by a number b if the division a ÷ b results in a whole number with no remainder. In other words, b divides a exactly. For example, 12 is divisible by 3 because 12 ÷ 3 = 4 with no remainder. But 12 is not divisible by 5 because 12 ÷ 5 = 2 remainder 2.

12 ÷ 3 = 4 remainder 0 → 12 is divisible by 3 12 ÷ 5 = 2 remainder 2 → 12 is not divisible by 5

Divisibility is a fundamental concept in arithmetic and number theory. It is the basis for factoring, prime numbers, and fraction simplification. Our divisibility calculator online tool uses standard divisibility rules to determine divisibility instantly without performing the actual division.

Why Is Divisibility Important?

Understanding divisibility is essential for several reasons:

  • Factoring: Divisibility rules help find factors of a number quickly.
  • Prime Testing: A number is prime if it has no divisors other than 1 and itself. Divisibility rules help eliminate composite numbers.
  • Simplifying Fractions: Divisibility rules help find the GCD to reduce fractions to lowest terms.
  • Mental Math: Divisibility rules allow quick calculations without a calculator.
  • Number Theory: Divisibility is central to modular arithmetic, congruences, and cryptography.
  • Competitive Exams: Divisibility questions are common in math competitions and standardized tests.

The Divisibility Rules

Our divisibility rules calculator supports the following standard rules:

Divisible by 2

A number is divisible by 2 if its last digit is even (0, 2, 4, 6, or 8).

Example: 1236 is divisible by 2 because the last digit is 6.

Divisible by 3

A number is divisible by 3 if the sum of its digits is divisible by 3.

Example: 1236: 1+2+3+6 = 12, and 12 ÷ 3 = 4, so 1236 is divisible by 3.

Divisible by 4

A number is divisible by 4 if its last two digits form a number divisible by 4.

Example: 1236 is divisible by 4 because 36 ÷ 4 = 9.

Divisible by 5

A number is divisible by 5 if its last digit is 0 or 5.

Example: 1235 is divisible by 5 because the last digit is 5.

Divisible by 6

A number is divisible by 6 if it is divisible by both 2 and 3.

Example: 1236 is divisible by 6 because it is divisible by 2 (last digit 6) and by 3 (sum 12).

Divisible by 7

To check divisibility by 7: double the last digit, subtract it from the rest of the number, and check if the result is divisible by 7.

Example: 203: 20 − 2×3 = 20 − 6 = 14, and 14 ÷ 7 = 2, so 203 is divisible by 7.

Divisible by 8

A number is divisible by 8 if its last three digits form a number divisible by 8.

Example: 51,104 is divisible by 8 because 104 ÷ 8 = 13.

Divisible by 9

A number is divisible by 9 if the sum of its digits is divisible by 9.

Example: 1236: 1+2+3+6 = 12, and 12 is not divisible by 9, so 1236 is not divisible by 9.

Divisible by 10

A number is divisible by 10 if its last digit is 0.

Example: 1230 is divisible by 10 because the last digit is 0.

Divisible by 11

A number is divisible by 11 if the alternating sum of its digits is divisible by 11.

Example: 2728: (2−7+2−8) = −11, and −11 is divisible by 11, so 2728 is divisible by 11.

Divisible by 12

A number is divisible by 12 if it is divisible by both 3 and 4.

Example: 1236 is divisible by 12 because it is divisible by 3 (sum 12) and by 4 (last two digits 36).

Divisible by 13

To check divisibility by 13: add 4× the last digit to the rest of the number, and check if the result is divisible by 13.

Example: 247: 24 + 4×7 = 24 + 28 = 52, and 52 ÷ 13 = 4, so 247 is divisible by 13.

How to Use the Divisibility Calculator

Using our free divisibility test calculator is straightforward:

  1. Enter the number you want to test in the first input field.
  2. Enter the divisors you want to check, separated by commas. You can use the quick divisor buttons to toggle common divisors.
  3. The calculator updates live and shows the result for each divisor, along with the step-by-step rule applied.
  4. Copy the results using the button provided.

Worked Examples

Example 1: Is 1236 divisible by 2, 3, 4, 6, 7, 8, 9, 11?

  • 2: Last digit 6 is even → Yes
  • 3: Sum 1+2+3+6 = 12, 12÷3 = 4 → Yes
  • 4: Last two digits 36, 36÷4 = 9 → Yes
  • 6: Divisible by 2 and 3 → Yes
  • 7: 123 − 2×6 = 123 − 12 = 111, 111÷7 = 15 r6 → No
  • 8: Last three digits 236, 236÷8 = 29 r4 → No
  • 9: Sum 12, 12÷9 = 1 r3 → No
  • 11: 1−2+3−6 = −4, −4÷11 → No

Result: 1236 is divisible by 2, 3, 4, and 6.

Example 2: Is 2728 divisible by 11?

Alternating sum: 2 − 7 + 2 − 8 = −11. Since −11 is divisible by 11, 2728 is divisible by 11.

Example 3: Is 203 divisible by 7?

Double the last digit: 2×3 = 6. Subtract from the rest: 20 − 6 = 14. Since 14 is divisible by 7, 203 is divisible by 7.

Divisibility Rules for Competitive Exams

Divisibility rules are frequently tested in competitive exams, including:

  • Divisibility rule of 8: Check the last three digits.
  • Divisibility rule of 11: Alternating sum of digits.
  • Divisibility rule of 7: Double the last digit and subtract.
  • Divisibility rule of 4: Check the last two digits.
  • Divisibility by 7: A common challenge in number theory problems.

Our divisibility rule of 8 calculator, divisibility rule of 11 calculator, divisibility rule of 7 calculator, and divisibility rule of 4 calculator provide instant answers with step-by-step explanations, making them perfect for exam preparation.

Factors and Divisibility

Divisibility is closely related to factors. If a number a is divisible by b, then b is a factor of a. Our factors and divisibility calculator helps you find all factors of a number by testing divisibility by each candidate divisor.

For example, to find all factors of 12, test divisibility by 1, 2, 3, 4, 6, and 12. The factors are 1, 2, 3, 4, 6, and 12.

Divisibility in Programming

If you are a developer, you may need to check divisibility programmatically. The modulo operator (%) is the standard tool:

Python

def is_divisible(n, d): return n % d == 0 # Examples print(is_divisible(1236, 3)) # True print(is_divisible(1236, 7)) # False

JavaScript

function isDivisible(n, d) { return n % d === 0; } console.log(isDivisible(1236, 3)); // true console.log(isDivisible(1236, 7)); // false

C++

#include <iostream> bool isDivisible(int n, int d) { return n % d == 0; } int main() { std::cout << isDivisible(1236, 3) << std::endl; // 1 (true) return 0; }

Common Mistakes with Divisibility

  • Confusing divisibility with division: Divisibility means no remainder; division can have a remainder.
  • Applying the wrong rule: Each divisor has its own rule. For example, the rule for 4 is about the last two digits, not the sum.
  • Forgetting to check both conditions: For 6, you must check divisibility by both 2 and 3.
  • Misapplying the rule for 7: Remember to double the last digit and subtract, not add.
  • Using zero as a divisor: Division by zero is undefined, so divisibility by zero is not defined.

Historical Background of Divisibility

Divisibility rules have been known since ancient times. The Babylonians and Egyptians used early forms of divisibility in their calculations. The Greeks, including Euclid, studied divisibility and prime numbers. In India, mathematicians like Aryabhata and Brahmagupta developed divisibility rules for various numbers. In modern mathematics, divisibility is a standard topic in elementary number theory and appears in textbooks worldwide.

Conclusion

The Divisibility Calculator on lcmcalculator.info is a complete, free, and easy-to-use tool for testing divisibility by any number. With support for all standard divisibility rules, detailed step-by-step explanations, and instant results, it is suitable for students, teachers, and professionals alike. Whether you are checking homework, preparing for an exam, or just practicing mental math, this online divisibility calculator will save you time and help you understand the underlying mathematics. Bookmark this page and use it whenever you need to test divisibility.

Frequently Asked Questions About Divisibility

Answers to the most common questions about divisibility rules.

What is a divisibility calculator? ↓

A divisibility calculator is a tool that checks whether a number is divisible by another number using divisibility rules. It shows step-by-step whether the division results in a whole number with no remainder.

What is the divisibility rule of 8? ↓

A number is divisible by 8 if its last three digits form a number divisible by 8. For example, 51,104 is divisible by 8 because 104 ÷ 8 = 13.

What is the divisibility rule of 11? ↓

A number is divisible by 11 if the alternating sum of its digits is divisible by 11. For example, 2728: (2−7+2−8) = −11, which is divisible by 11.

What is the divisibility rule of 7? ↓

To check divisibility by 7: double the last digit, subtract it from the rest of the number, and check if the result is divisible by 7. For example, 203: 20 − 2×3 = 14, which is divisible by 7.

What is the divisibility rule of 4? ↓

A number is divisible by 4 if its last two digits form a number divisible by 4. For example, 1236 is divisible by 4 because 36 ÷ 4 = 9.

Can the divisibility calculator check multiple divisors? ↓

Yes, our divisibility calculator can check if a number is divisible by multiple divisors at once. Enter the number and the divisors separated by commas, and the tool will test each one with step-by-step rules.

Is this divisibility calculator free to use? ↓

Yes, this divisibility calculator is completely free with no registration required, no usage limits, and no hidden fees.