Divisibility Test Calculator

Quick answer

The divisibility test calculator checks whether a whole number is divisible by any number from 2 to 13, explaining the shortcut rule for each divisor and applying it to your number.

Result
1716 is divisible by 2, 3, 4, 6, 11, 12, 13
Applied to your number
2: yes – Last digit 6 is even 3: yes – Digit sum 15 is divisible by 3 4: yes – Last two digits 16 are divisible by 4 5: no – Last digit is 6 6: yes – Even: yes; digit sum 15 divisible by 3: yes 7: no – 1716 → 171 − 2 × 6 = 159; 159 → 15 − 2 × 9 = -3; 3 is not a multiple of 7 8: no – Last three digits 716 are not divisible by 8 9: no – Digit sum 15 is not divisible by 9 10: no – Last digit is 6 11: yes – Alternating digit sum = 11 – divisible by 11 12: yes – Divisible by 3: yes; last two digits 16 divisible by 4: yes 13: yes – 1716 → 171 + 4 × 6 = 195; 195 → 19 + 4 × 5 = 39; 39 is a multiple of 13

Divisibility rules let you test large numbers without long division, useful for simplifying fractions, factoring and checking arithmetic. Most rules look only at the last few digits or at sums of digits.

How to use the Divisibility Test Calculator

  1. Number
  2. Divisor

Everything is calculated in your browser, so results appear instantly and nothing you type is sent to a server.

How it works

Choose a divisor to see its rule and how it applies, or “all” to see a summary for every divisor from 2 to 13. The number can be as long as you like.

Formula

Rules: 2 – even last digit · 3 – digit sum divisible by 3 · 4 – last two digits · 5 – ends in 0 or 5 · 9 – digit sum · 11 – alternating digit sum …

Worked example

Inputs: Number: 1716; Divisor: All (2 to 13).
Results: Result = 1716 is divisible by 2, 3, 4, 6, 11, 12, 13; Applied to your number = 2: yes – Last digit 6 is even
3: yes – Digit sum 15 is divisible by 3
4: yes – Last two digits 16 are divisible by 4
5: no – Last digit is 6
6: yes – Even: yes; digit sum 15 divisible by 3: yes
7: no – 1716 → 171 − 2 × 6 = 159; 159 → 15 − 2 × 9 = -3; 3 is not a multiple of 7
8: no – Last three digits 716 are not divisible by 8
9: no – Digit sum 15 is not divisible by 9
10: no – Last digit is 6
11: yes – Alternating digit sum = 11 – divisible by 11
12: yes – Divisible by 3: yes; last two digits 16 divisible by 4: yes
13: yes – 1716 → 171 + 4 × 6 = 195; 195 → 19 + 4 × 5 = 39; 39 is a multiple of 13.

Key terms

Divisible
Leaves no remainder when divided.

Frequently asked questions

How do I know if a number is divisible by 3?

Add its digits; if the sum is divisible by 3, so is the number.

What is the rule for 11?

Alternately add and subtract the digits from the right; if the result is divisible by 11, so is the number.

Is there a rule for 7?

Double the last digit and subtract it from the rest; repeat until the result is small.

Why does the digit-sum rule work?

Because 10 ≡ 1 (mod 3) and (mod 9), each digit counts as itself.

Sources

  1. OpenStax: Prealgebra 2e
  2. Wolfram MathWorld: Divisibility tests

Cite this calculator

Speedy Calculator. (2026). Divisibility Test Calculator. Speedy Calculator. https://speedycalculator.com/calculators/math/divisibility-test/