Abundant Number Calculator

Check whether the divisors of an integer add to more than twice the number itself.

Math and PercentUpdated 2026-11-182 min read
Abundant Number Calculator
A whole number from 1 to 1,000,000.
Sum of divisors
...
Excess over 2n...
Classification...

What it does

An abundant number is one whose positive divisors add to more than twice the number itself. Equivalently, the proper divisors, meaning all divisors except the number, add to more than the number. The first example is 12, whose divisors total 28 against a target of 24.

The idea goes back to ancient Greek mathematics, where numbers were classified as perfect, abundant or deficient according to how their divisors compared with the whole. Nicomachus described the three types in his work on arithmetic.

The difference between the divisor sum and twice the number is called the abundance or excess. A positive excess means abundant, zero means perfect and a negative value means deficient. This page reports that exact difference.

The divisor sum is computed from the prime factorization using the standard product formula, not by listing divisors. That keeps the calculation fast and exact up to one million.

The tool also distinguishes perfect numbers explicitly, so an input with zero excess is not misreported as abundant.

How to use

  1. Enter a whole number n from 1 to 1,000,000.
  2. Read the classification in the main result box.
  3. Check the total of all divisors beside it.
  4. Use the excess to see how far the number is from perfect.
  5. The default n = 12 reproduces the worked example.
  6. Try n = 6 to see a perfect number with zero excess.

Formula

Classification by sigma(n) - 2n: positive is abundant, zero is perfect, negative is deficient
n
The integer being classified.
sigma(n)
The sum of all positive divisors of n.
excess
sigma(n) minus 2n.

For a prime power p^a the divisor sum is (p^(a+1) - 1)/(p - 1), and the contributions multiply across distinct primes. Because the divisor sum includes n itself, comparing it with 2n is the same as comparing the proper divisor sum with n.

Worked example

Example: n = 12

The page opens with n = 12.

  1. Factor 12 as 2^2 x 3.
  2. The prime power 2^2 contributes 1 + 2 + 4 = 7.
  3. The prime 3 contributes 1 + 3 = 4.
  4. Multiply the contributions: 7 x 4 = 28.
  5. Compute twice the number: 2 x 12 = 24.
  6. The excess is 28 - 24 = 4, which is positive.
  7. The tool reports sigma 28, excess 4, and Abundant.

Reference table

Divisor sums and classifications
nsigma(n)ExcessClassification
6120Perfect
1018-2Deficient
12284Abundant
18393Abundant
20422Abundant

Limits

  • Only positive integers up to one million are accepted.
  • The divisor sum includes n itself.
  • The tool classifies one number at a time.
  • Values are exact integers with no rounding.

Common mistakes

  • Forgetting that the divisor sum includes n itself.
  • Comparing with n rather than twice n.
  • Using the product of divisors instead of the sum.
  • Reporting zero excess as abundant.
  • Counting only prime divisors.

Try it yourself

Quick checks. Answers sit tucked under each question.

Is 12 abundant?

Yes. Its divisors sum to 28, giving an excess of 4 over 24.

Is 6 abundant?

No. Its divisors sum to 12, exactly twice 6, so it is perfect.

What is the excess for 10?

18 - 20 = -2, so 10 is deficient.

Questions

What is abundance?

It is the amount by which the divisor sum exceeds twice the number.

What is the first abundant number?

Twelve, with divisor sum 28.

Are most numbers abundant or deficient?

Both are common, though abundant numbers have positive asymptotic density.

Is every multiple of an abundant number abundant?

Yes, because the divisor sum grows at least proportionally.

Are results exact?

Yes. The product formula uses integers only.

What input range is accepted?

Whole numbers from 1 through 1,000,000.

Sources

How this page was checked. The formula above was matched against the cited sources, and the worked example was run through the tool on this page before publishing. If you spot an error, contact us so we can fix it and note the correction.