Abundant Number Calculator - Abundant

6 divisors in total, 5 of them proper.

The comparison, in one line

s(12) = 16 > 12

Aliquot sum versus the number itself — that single comparison is the whole test.

12 is

Abundant by 4

Proper divisors stacked up against 12

s(12) = 16the n = 12 line

The stack overshoots the dashed line by 4. That overshoot is the abundance.

Aliquot sum s(n)

16

every divisor except n

Divisor sum σ(n)

28

s(n) with n added back in

Abundance A(n)

+4

s(n) − n

Abundancy σ(n)/n

2.3333

above 2 — abundant

How σ(12) was built — no divisor list required

12 = 22 × 3

σ = (1 + 2 + 2^2) × (1 + 3) = 7 × 4 = 28

σ is multiplicative, so each prime power gets its own bracket and the brackets are multiplied. Subtract n at the end to land on s(n) = 16.

What else 12 happens to be

AbundantNot primitive — a divisor is already abundantSemiperfect — a subset of divisors hits n exactlyEven6 divisors in total

Proof it is semiperfect: 6 + 4 + 2 = 12.

The 5 proper divisors of 12

12346

The highlighted divisors are the ones that add up to 12.

How to Use This Calculator

  1. On Classify a number, type any whole number into Number to classify. The verdict line reads “abundant by 4” rather than a bare yes, so you see the size of the surplus straight away.
  2. Read the stacked bar underneath: each emerald block is one proper divisor, and the dashed line marks n. Blocks overshooting the line means abundant, stopping short means deficient.
  3. Check the four cards for s(n), σ(n), the abundance, and the abundancy index σ(n)/n — the index is the one to compare across numbers of very different sizes.
  4. Look at the chips to see whether the number is also semiperfect, weird, or primitive abundant. When a subset of divisors adds to n exactly, the calculator prints that sum as proof.
  5. Switch to Scan a range for a full abundant numbers list between any two bounds, with the abundant/deficient/perfect split and the running density. Odd abundant numbers show up in amber; tap any entry to send it back to the classifier.

Share this calculator

Help others solve their calculations

Found this calculator helpful? Share it with your friends, students, or colleagues who might need it!

Abundant Number Calculator: Classifying Numbers by Their Divisor Sums

About the Author

Marko Šinko - Co-Founder & Lead Developer

Marko Šinko

Co-Founder & Lead Developer, AI Math Calculator

Lepoglava, Croatia
Advanced Algorithm Expert

Croatian developer with a Computer Science degree from University of Zagreb and expertise in advanced algorithms. Co-founder of award-winning projects, ensuring precise mathematical computations and reliable calculator tools.

📅 Published:
Abundant Number Calculator illustration of a balance scale weighing a number against the stacked pile of its proper divisors

Every whole number falls into one of three buckets, and an abundant number calculator sorts them with a single comparison: add up everything that divides n evenly except n itself, then see whether that total beats n, falls short of it, or lands on it exactly. Twelve beats it — 1 + 2 + 3 + 4 + 6 = 16, so 12 is abundant by 4. Ten falls short — 1 + 2 + 5 = 8, deficient by 2. Six ties at 1 + 2 + 3 = 6, which is what makes it perfect. Three buckets, one subtraction, no ambiguity.

The tool above does more than announce the bucket. It builds σ(n) from the prime factorisation instead of grinding through a divisor list, prints the abundance and the abundancy index σ(n)/n side by side, and tells you whether the surplus can actually be packed back into n — because sometimes it cannot, and those numbers have a name. Below: why roughly one number in four is abundant, why the first odd one hides all the way out at 945, and the one arithmetic slip that turns every perfect number into an abundant one.

Reading the Scale: Abundant, Deficient, Perfect

Two quantities do all the work here and they are easy to mix up. The divisor sum σ(n) counts every divisor including n. The aliquot sum s(n) leaves n out, so s(n) = σ(n) − n. Classification always uses the aliquot sum. The gap between them, A(n) = s(n) − n, is the abundance — positive for abundant numbers, negative for deficient ones, zero for perfect ones.

There is a third way to read the same information, and it is the one that scales. The abundancy index σ(n)/n compares the divisor sum to the number as a ratio rather than a difference, and the cut-off is always 2 — no matter how large n is. That matters because raw abundance grows with n while the index does not. 100 is abundant by 17; 1,000,000 is abundant by 480,437. The surplus grew by a factor of 28,000, yet the index only moved from 2.17 to 2.48 — the two numbers are far more alike than the raw gap suggests, and the index is what says so.

ns(n)A(n) = s(n) − nσ(n)/nVerdict
1216+42.333Abundant — the smallest
282802.000Perfect
7074+42.057Abundant, and weird
971−961.010Deficient — prime
945975+302.032Abundant — first odd one
10241023−11.999Deficient by exactly 1

That last row is worth a second look. Powers of two are always deficient by exactly 1, because 1 + 2 + 4 + … + 2k−1 = 2k − 1 for every k. They creep toward perfection forever and never arrive — which is precisely why perfect numbers need a Mersenne prime multiplied in to close the gap.

How an Abundant Number Calculator Gets σ(n) Without a Divisor List

Listing divisors works fine for 12. It stops being reasonable around six digits. The fix is that σ is multiplicative: factor n into prime powers, take one bracket per prime, multiply. For a prime power pa the bracket is just 1 + p + p2 + … + pa.

Take 360 = 23 × 32 × 5. The brackets are (1 + 2 + 4 + 8) = 15, (1 + 3 + 9) = 13, and (1 + 5) = 6. Multiply: 15 × 13 × 6 = 1,170. Subtract 360 and you have s(360) = 810, so 360 is abundant by 450 with an index of 3.25. Three small sums and two multiplications replaced writing out all 24 divisors and adding 23 of them.

The saving compounds. 963,761,198,400 is the smallest number with 6,720 divisors — you would be at it all day by hand. Its factorisation is 26 × 34 × 52 × 7 × 11 × 13 × 17 × 19 × 23, so σ is nine brackets multiplied together, and that is a two-minute job. Any prime factorization calculator gets you the input for it; the calculator above shows the filled-in brackets for whatever you type so you can check your own arithmetic against it.

One consequence falls straight out of the formula. For a prime p the only bracket is (1 + p), so σ(p) = p + 1 and s(p) = 1. Primes are as deficient as a number can get for its size, which is why long runs of them in a scan produce nothing abundant at all — something you can watch happen in the range scanner, or verify one number at a time with the prime calculator.

Roughly One Number in Four Is Abundant

Most people expect abundance to be a curiosity. It is not. Scan the first hundred integers and 22 of them are abundant. Push further and the share stabilises fast:

RangeAbundantShare
1–1002222.00%
1–1,00024624.60%
1–10,0002,48824.88%
1–100,00024,79524.80%
1–200,00049,48124.74%

The limit is real, not just an appearance — the natural density of the abundant numbers is known to exist and sits at roughly 0.2476, pinned between 0.2474 and 0.2480 by explicit computation. Deficient numbers take about 75.2%, and the perfect numbers are so sparse they round to zero: only four of them live below a million.

Why so many? Because abundance is contagious. If d is abundant or perfect and d divides m, then m is abundant too. Every multiple of 6 above 6 is therefore abundant, and that alone hands you a sixth of all integers. Add the multiples of 20, of 28, of 88, and of every other starter, and a quarter of the number line is an easy total to reach. This is also what makes the classification useful in factor-based work: knowing one small abundant divisor settles the question for infinitely many numbers at once.

The contagion has a striking endpoint. Every integer greater than 20,161 can be written as the sum of two abundant numbers — 20,161 is the last one that cannot. Abundance is common enough that past that threshold, the pairs never run out.

Why the First Odd Abundant Number Is 945

Drop the even numbers and abundance nearly vanishes. Below 100,000 there are 24,795 abundant numbers and only 210 of them are odd — under half a percent of the odd numbers in that range. The reason is a budget argument, and it is easier than it looks.

The abundancy index of a product of prime powers is the product of the individual indices, and σ(pa)/pa can never exceed p/(p − 1) however large you make the exponent. So each prime brings a hard ceiling: 2 contributes at most 2, 3 at most 1.5, 5 at most 1.25, 7 at most 1.167, 11 at most 1.1. An even number gets most of the way to the target of 2 from the factor of 2 alone. An odd number has to build the same total out of parts that are all barely above 1.

Multiply the ceilings for 3, 5 and 7 and you get 1.5 × 1.25 × 1.167 = 2.1875 — enough in principle, but only with unlimited exponents. The actual smallest candidate has to work harder: 105 = 3 × 5 × 7 gives (4/3)(6/5)(8/7) = 1.83, short of the mark. Bumping 3 to 33 turns its bracket into 40/27 = 1.481, and 945 = 33 × 5 × 7 finally clears the bar at 1.481 × 1.2 × 1.143 = 2.032. That is the whole reason the first odd abundant number sits at 945 rather than somewhere in the double digits.

70 Is Abundant and Cannot Spend It

Here is a question the classification does not answer. A number is abundant because its divisors overshoot it — so can you pick out some of those divisors that add up to exactly n, and leave the surplus behind? Usually yes. 12 does it with 6 + 4 + 2. A number that manages this is called semiperfect, and the vast majority of abundant numbers are.

70 is not, and the proof fits in a paragraph. Its proper divisors are 1, 2, 5, 7, 10, 14 and 35, totalling 74. Either 35 is in your subset or it is not. If it is not, the largest total available is 1 + 2 + 5 + 7 + 10 + 14 = 39, nowhere near 70. If it is, you need 35 more from a set that totals 39 — meaning you must leave out exactly 4, and no subset of {1, 2, 5, 7, 10, 14} sums to 4. Both branches fail, so no subset works. 70 is the smallest weird number: abundant, yet unable to spend its abundance.

Weird numbers are genuinely rare — 70, 836, 4,030, 5,830, 7,192, 7,912 and 9,272 are all of them below 10,000. Nobody has ever found an odd one, and none exists below 1021, but no proof rules them out either. That is why the calculator above runs a real subset-sum rather than a shortcut: greedy divisor-picking succeeds for almost everything, and the cases where it fails are exactly the interesting ones.

A related label sorts the abundant numbers by where they come from. A primitive abundant number is abundant while every one of its proper divisors is deficient — it starts a family rather than inheriting membership. The first few are 20, 70, 88, 104, 272 and 304; the smallest odd one is 945 again. Since every abundant number is a multiple of some primitive abundant number, that short list generates the whole quarter of the number line.

The Slip That Turns Every Perfect Number Abundant

One mistake accounts for more wrong answers here than everything else combined: including n in its own divisor sum. Do that to 6 and you get 1 + 2 + 3 + 6 = 12, which looks abundant. Do it to any perfect number and you get exactly 2n, which also looks abundant. The classification runs on s(n), never σ(n), and the two differ by precisely n. If your results say every number you test is abundant, this is why.

Three more traps worth naming:

  • Forgetting that 1 counts. 1 divides everything, and dropping it costs you a full point of aliquot sum. For 12 that turns 16 into 15 and flips the verdict to deficient.
  • Double-counting the square root. Pairing divisors as d × (n/d) is the fast way to list them, but for perfect squares the middle pair is the same number twice. 36 has divisor 6 paired with itself; count it once, or s(36) reads 61 instead of 55.
  • Assuming lots of divisors means abundant. Divisor count and divisor sum are different things. 16 has five divisors and is deficient; 12 has six and is abundant. Small divisors barely move the sum — what matters is how much of n the large ones cover.

Everything on this page runs on the same object, the divisor structure of n. Once you have it, the abundant/deficient/perfect verdict is one subtraction, the Euler totient φ(n) is one more product over the same primes, and tests like the Armstrong number check come from the digits instead. For the definitions, counts and open problems around these classes, the Wikipedia entry on abundant numbers is a reliable starting point.

Frequently Asked Questions

Still Have Questions?

The detailed content on this page provides comprehensive explanations and examples to help you understand better.