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.

Your figures

Example result — edit the figures to make it yours

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.

Divisible by 2Yes — 360 ÷ 2 = 180
Divisible by 3Yes — 360 ÷ 3 = 120
Divisible by 4Yes — 360 ÷ 4 = 90
Divisible by 5Yes — 360 ÷ 5 = 72
Divisible by 6Yes — 360 ÷ 6 = 60
Divisible by 7No — remainder 3
Divisible by 8Yes — 360 ÷ 8 = 45
Divisible by 9Yes — 360 ÷ 9 = 40
Divisible by 10Yes — 360 ÷ 10 = 36
Divisible by 11No — remainder 8
Divisible by 12Yes — 360 ÷ 12 = 30

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

Digit rules: last digit (2, 5, 10), digit sum (3, 9), last two digits (4), and combinations

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

Quick reference — varying integer n
Integer nDivisors among 2–12 that divide 360
1808
2887
3609
4506
5408
7209

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.