Maths & numbers

Divisibility test calculator

Check whether one integer is an exact multiple of another and see the remainder.

Your numbers

Calculated on your device. Your inputs aren’t sent to us.

Your result

Ready when you are

Enter your inputs and select Calculate.

Report an issue

Behind the numbers

How this calculation works

Zero is divisible by every positive divisor because 0 = 0 × divisor.

THE FORMULAa is divisible by b when a mod b = 0

A worked example

378 ÷ 9 = 42 with remainder 0, so 9 divides 378.

Good to know

A divisor must be a positive whole number.

Use the remainder to decide

For the default inputs, 378 ÷ 9 = 42 exactly. Multiplying back gives 9 × 42 = 378, leaving remainder zero. The result is therefore Yes. If the dividend changes to 379, the same 42 groups use 378 units and leave one unit, so the result becomes No.

Divisibility is an exact integer relationship. A decimal quotient that looks close to a whole number after rounding is insufficient. Here the test computes the remainder directly for the supported whole-number inputs. The diagram groups 18 objects into two complete groups of 9 to show the same rule on a smaller count.

Eighteen objects form two complete groups of nineGroup 1 · 9 objectsGroup 2 · 9 objects
Both groups are full and no objects remain outside them. Eighteen is therefore divisible by nine.

Choose a mental check for the divisor

A number is divisible by 2 when its final decimal digit is even, and by 5 when its final digit is 0 or 5. For 3 and 9, use the Digit sum calculator. The digit sum of 378 is 3 + 7 + 8 = 18, which is divisible by both 3 and 9, confirming those two divisors.

Zero is divisible by every positive integer because b × 0 = 0. This tool therefore returns Yes for a zero dividend. The opposite question, using zero as the divisor, is excluded by the input rules. When you need to compare several candidate divisors, check each independently because success for one divisor does not imply success for an unrelated divisor.

A few questions, answered

Does every number divide itself?

Every positive integer divides itself with quotient 1 and remainder zero.

What does a remainder of one mean?

One unit remains after the largest whole number of complete groups has been removed. The dividend is one more than a multiple of the divisor.

Find your calculator

Start typing to explore the library.