Since 2010 · Powering 2M+ tool runs every month
Since 2010
Add to Chrome

My Toolbox

Automatic Mode

No saved tools yet.

Go Premium
Related tools
Is it a Prime Number?Factor CalculatorLeast Common Multiple CalculatorPrime Factor CalculatorPrime Factorization CalculatorEven or Odd Number CheckerPerfect Number Checker
Home Page > Math > Basic Math Operations

Divisibility Test Calculator

Test if a number is divisible by another number. Check multiple divisors at once, learn divisibility rules for 2-12, see step-by-step calculations, and explore prime factorization.

Free to useNo sign-up requiredUpdated Jan 2026
Divisibility Test CalculatorTry it now — free ▼

Divisibility Test

Check if a number divides evenly by one or more divisors

Enter an integer (positive or negative, up to 15 digits)

Separate multiple divisors with commas

Embed Divisibility Test Calculator Widget

About Divisibility Test Calculator

Welcome to the Divisibility Test Calculator, a comprehensive tool for checking if a number is divisible by another number. Test multiple divisors simultaneously, learn the divisibility rules for numbers 2 through 12, see step-by-step calculations, and explore prime factorization. Whether you are a student learning about divisibility, a teacher creating practice problems, or simply need to quickly check divisibility, this calculator provides instant results with detailed explanations.

What is Divisibility?

A number A is divisible by another number B if when you divide A by B, you get a whole number with no remainder. In other words, A divided by B equals an integer. We write this as B | A (read as "B divides A") or say that "A is a multiple of B."

Divisibility Definition
A is divisible by B if and only if A mod B = 0

Example: 24 is divisible by 4 because 24 ÷ 4 = 6 (a whole number with no remainder). However, 24 is not divisible by 5 because 24 ÷ 5 = 4 with a remainder of 4.

Divisibility Rules (2-12)

Divisibility rules are shortcuts that let you determine if a number is divisible by another without performing the full division. Here are the rules for common divisors:

DivisorRuleExample
2Last digit is even (0, 2, 4, 6, 8)128 ends in 8 (even), so divisible by 2
3Sum of digits is divisible by 3123: 1+2+3=6, and 6÷3=2, so divisible
4Last two digits form a number divisible by 41324: last two digits = 24, 24÷4=6, divisible
5Last digit is 0 or 5785 ends in 5, so divisible by 5
6Divisible by both 2 AND 372: even and 7+2=9÷3=3, so divisible
7Double last digit, subtract from rest; repeat161: 16-2(1)=14, 14÷7=2, divisible
8Last three digits form a number divisible by 87120: 120÷8=15, so divisible by 8
9Sum of digits is divisible by 9729: 7+2+9=18, 18÷9=2, divisible
10Last digit is 0340 ends in 0, so divisible by 10
11Alternating sum of digits is divisible by 111364: 1-3+6-4=0, divisible by 11
12Divisible by both 3 AND 4144: 1+4+4=9÷3=3, 44÷4=11, divisible

How to Use This Calculator

  1. Enter the number: Type the integer you want to test for divisibility. The calculator accepts positive and negative integers up to 15 digits.
  2. Enter divisors: Type one or more divisors separated by commas (e.g., 2, 3, 5, 7), or choose a preset mode like "Common Divisors (2-12)" or "Prime Divisors."
  3. Click Test Divisibility: The calculator will instantly show which divisors divide your number evenly.
  4. Review results: Green checkmarks indicate divisibility; red X marks show non-divisibility with the remainder.
  5. Expand details: Click "Show Steps" to see the divisibility rule applied and step-by-step calculations.

Prime Factorization and Divisibility

Every positive integer greater than 1 can be expressed as a unique product of prime numbers. This is called its prime factorization. Understanding prime factorization helps explain divisibility:

Understanding Your Results

Divisibility Results

Step-by-Step Explanations

Each divisibility test includes:

Prime Factorization Analysis

Frequently Asked Questions

What does it mean for a number to be divisible by another number?

A number A is divisible by another number B if when you divide A by B, you get a whole number with no remainder. For example, 24 is divisible by 4 because 24 ÷ 4 = 6 exactly. However, 24 is not divisible by 5 because 24 ÷ 5 = 4 with a remainder of 4.

What are the divisibility rules for 2, 3, 4, 5, and 6?

Divisibility by 2: Last digit is even (0, 2, 4, 6, 8). Divisibility by 3: Sum of all digits is divisible by 3. Divisibility by 4: Last two digits form a number divisible by 4. Divisibility by 5: Last digit is 0 or 5. Divisibility by 6: Number is divisible by both 2 and 3.

How do I check if a number is divisible by 7?

To test divisibility by 7: Take the last digit, double it, and subtract from the remaining number. If the result is divisible by 7 (including 0), so is the original number. For example, for 161: double the last digit (1 × 2 = 2), subtract from remaining (16 - 2 = 14), and 14 is divisible by 7, so 161 is divisible by 7.

What is the divisibility rule for 9 and 11?

Divisibility by 9: A number is divisible by 9 if the sum of its digits is divisible by 9. For example, 729: 7+2+9=18, and 18÷9=2, so 729 is divisible by 9. Divisibility by 11: Calculate the alternating sum of digits (subtract and add alternately). If the result is divisible by 11 (including 0), so is the original number.

How does prime factorization relate to divisibility?

Prime factorization breaks a number into its prime number building blocks. A number is divisible by another number only if all the prime factors (and their exponents) of the divisor are present in the factorization of the original number. For example, 60 = 2² × 3 × 5 is divisible by 12 = 2² × 3 because 60 contains at least 2² and 3¹.

What is the fastest way to check divisibility for large numbers?

For large numbers, use these efficient methods: For 2, 5, 10: Just check the last digit. For 3, 9: Sum all digits and check divisibility of the sum. For 4: Check if last two digits are divisible by 4. For 8: Check if last three digits are divisible by 8. For 11: Use the alternating sum rule. This calculator automates all these checks for you.

Applications of Divisibility

Additional Resources

Reference this content, page, or tool as:

"Divisibility Test Calculator" at https://MiniWebtool.com/divisibility-test-calculator/ from MiniWebtool, https://MiniWebtool.com/

by miniwebtool team. Updated: Jan 29, 2026

You can also try our AI Math Solver GPT to solve your math problems through natural language question and answer.

Basic Math Operations:

Top & Updated:

Kruskal-Wallis Test CalculatorChi-Square Test CalculatorFisher's Exact Test CalculatorView all →
Home Page > Math > Basic Math Operations > Divisibility Test Calculator