Connect via MCP →

Enter Calculation

Formula

Advertisement

Results

Is 100 divisible by 7?
No
remainder is not zero
Quotient (n ÷ d) 14
Remainder (n mod d) 2

What is the Divisibility Test Calculator?

This calculator tells you whether one whole number (n) divides evenly into another (d). It returns a clear yes or no, plus the quotient and the remainder so you can see exactly how the division works. It is handy for math homework, simplifying fractions, checking factors, or verifying the classic divisibility rules for 2, 3, 4, 5, 6, 7, 8, 9, 10, and 11.

How to use it

Enter the number you want to test as n, then enter the divisor d (for example 2, 3, 7, or any positive integer). Press calculate. If the remainder is zero, n is divisible by d and the result shows "Yes" along with the exact factor pair.

The formula explained

Divisibility relies on the modulo operation. We write \(n = d \cdot q + r\), where \(q\) is the quotient and \(r\) is the remainder. The number n is divisible by d exactly when \(r = 0\), i.e.

$$\text{Divisible} \iff \left(\text{Number }(n) \bmod \text{Divisor }(d)\right) = 0$$

For example, \(100 \bmod 7 = 2\), so 100 is not divisible by 7; but \(96 \bmod 8 = 0\), so 96 is divisible by 8.

Diagram showing a number split into equal groups with a remainder left over
A number is divisible by d when it splits into equal groups of d with remainder \(r = 0\).

Worked example

Test whether 96 is divisible by 8. Divide:

$$96 \div 8 = 12$$

with no leftover, so the remainder is 0. Because the remainder is zero, the answer is Yes, and \(96 = 8 \times 12\). Now test 100 by 7:

$$100 \div 7 = 14 \text{ remainder } 2$$

so the answer is No.

FAQ

What does "divisible" mean? A number is divisible by another when the division leaves no remainder.

Can I use divisors larger than 11? Yes. The 2–11 range simply matches the common divisibility rules, but any positive integer works.

What if I enter 0 as the divisor? Division by zero is undefined, so the calculator treats the divisor as 1 to avoid an error.

Last updated: