Divisible by Anything Calculator

Every whole number is divisible by 1 and by itself. A number is "divisible by anything" else only if it has other divisors: 34 is divisible by 1, 2, 17 and 34. A number with no divisors except 1 and itself, like 19, is a prime number.

Enter any whole number up to 1,000,000 to list every number it divides by, with the working.

Is it divisible by anything?

How to find every number a number is divisible by

A number a is divisible by b when a ÷ b leaves no remainder. Divisors always come in pairs that multiply to the number, so you only need to test up to its square root.

  1. Write down 1 and the number itself. They are always divisors.
  2. Test 2, 3, 4 and so on, up to the square root of the number. Use the divisibility rules below to test quickly.
  3. Every time a test number divides evenly, write down it and its partner (number ÷ test number).
  4. If you found nothing except 1 and the number, it is prime.
12 dots arranged as a 3 by 4 rectangle: 12 = 3 x 4, so 12 is divisible by 3 and 4 3 rows of 4 = 12
12 dots fit a 3 × 4 rectangle, so 12 is divisible by 3 and 4. They also fit 1 × 12 and 2 × 6.

Divisibility rules

Divisible byRuleExample
2The last digit is even (0, 2, 4, 6, 8)334
3The digits add up to a multiple of 3246: 2 + 4 + 6 = 12
4The last two digits make a multiple of 4500: 00
5The last digit is 0 or 525
6Divisible by both 2 and 3246
8The last three digits make a multiple of 810,000: 000
9The digits add up to a multiple of 936: 3 + 6 = 9
10The last digit is 0500
11Alternately add and subtract the digits; the result is 0 or a multiple of 1122: 2 − 2 = 0

Worked examples

Is 34 divisible by anything?

34 is even, so it is divisible by 2: 34 ÷ 2 = 17. 17 is prime, so the divisors of 34 are 1, 2, 17 and 34.

See the full step-by-step working

Is 25 divisible by anything?

25 ends in 5, so it is divisible by 5: 25 ÷ 5 = 5. The divisors are 1, 5 and 25.

See the full step-by-step working

Is 19 divisible by anything?

Test 2, 3 and 4 (the square root of 19 is about 4.4). None divide evenly, so 19 is prime: only 1 and 19.

See the full step-by-step working

Is 1027 divisible by anything?

It is not divisible by 2, 3, 5, 7 or 11, but 1027 ÷ 13 = 79. The divisors are 1, 13, 79 and 1027, so 1027 is not prime.

See the full step-by-step working

Popular divisibility checks

Frequently asked questions

What does "divisible by anything" mean?
It asks whether a number has any divisors other than 1 and itself. If it does, it is a composite number; if it doesn't, it is a prime number.
Is every number divisible by 1?
Yes. Every whole number is divisible by 1 and by itself. 1 itself has only one divisor, so it is neither prime nor composite.
How far do I need to test?
Only up to the square root. If 97 had a divisor bigger than 9.8, its partner would be smaller than 9.8 and you would already have found it.
What is the difference between divisors and factors?
They are the same thing for whole numbers. See them listed in pairs with the factor pairs calculator.

Related calculators