Skip to content
MasterMath

Divisors Calculator

Every divisor of a number, how many there are, and what they add up to — which classifies the number as deficient, perfect or abundant.

How many divisors it has

—

How many divisors it has—
All its divisors—
Its proper divisors add up to—
Type of number—

How this was worked out

    The rule

    divisors come in pairs multiplying to n

    Why it works

    Divisors always pair up: if 4 divides 36, so does 9, because 4 × 9 = 36. That pairing means you only ever need to test up to the square root, and each hit gives you two divisors at once.

    How to do it by hand

    1. Test every number from 1 up to the square root
    2. Each one that divides exactly gives a divisor and its partner
    3. A perfect square has one unpaired divisor: its root
    4. Add the proper divisors, meaning all except the number itself

    What is worth knowing

    The classification by divisor sum goes back to the Pythagoreans and is still unresolved in places. A number whose proper divisors add to itself is perfect: 6 = 1 + 2 + 3. Fewer and it is deficient, more and it is abundant. Every known perfect number is even, and whether an odd one exists has been open for over two thousand years — it is one of the oldest unsolved problems in mathematics. Abundant numbers are common, deficient ones are the majority, and perfect ones are vanishingly rare: only 51 are known.

    Frequently asked questions

    Why do divisors come in pairs?

    Because if a divides n, then n ÷ a also divides n. Testing up to the square root finds both halves of every pair.

    What is a proper divisor?

    Every divisor except the number itself. For 6 they are 1, 2 and 3.

    What makes a number perfect?

    Its proper divisors add up to the number itself. 6 and 28 are the first two.

    Do odd perfect numbers exist?

    Nobody knows. It has been open for over two thousand years, and none has been found below 10¹⁵⁰⁰.