Home · Everyday · Arithmetic · Divisibility Test Calculator
Divisibility Test Calculator
Is it divisible? The classic tests for 2 through 12 applied to your number, each with its remainder shown.
What this calculator does
Is it divisible? The classic tests for 2 through 12 applied to your number, each with its remainder shown. Where a measure is involved, US and metric units are both accepted — flip the unit toggle and the figures convert with the same definitions the formula uses. Every result on this page is computed from the formula stated below, with no hidden rounding steps.
The formula and method
All inputs are whole numbers; the tools use exact integer arithmetic.
Factorisations are found by trial division up to the square root, which is exact for the sizes accepted here.
The Euclidean algorithm replaces the larger number by the remainder until it reaches zero.
Worked example
With the example inputs this page opens with (integer n 360), the result is 9 — divisors among 2–12 that divide 360. Each row applies the classic divisibility test for that divisor (last digit for 2, 5, 10; digit sum for 3 and 9; and so on). The headline figure counts the yeses.
Quick reference
| Integer n | Divisors among 2–12 that divide 360 |
|---|---|
| 180 | 8 |
| 288 | 7 |
| 360 | 9 |
| 450 | 6 |
| 540 | 8 |
| 720 | 9 |
Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.
Common questions
How does the Divisibility Test Calculator work?
Is it divisible? The classic tests for 2 through 12 applied to your number, each with its remainder shown. Integer n → Divisibility by 2–12. The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.
What inputs does the Divisibility Test Calculator need?
Integer n → Divisibility by 2–12. Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.
Is the Divisibility Test Calculator free to use?
Yes. It runs entirely in your browser with no sign-up, and the same calculator is available as an embeddable widget via the Embed button, so it can be placed on another site with its calculation intact.