Abundancy Index Calculator

Find the ratio of a number’s divisor sum to the number, with exact working and its deficient, perfect, or abundant classification.

Enter your values

NUMBER THEORY

Calculate an abundancy index

Compare the sum of all positive divisors with the number itself.

Enter a positive integer up to 1,000,000,000,000. Press Enter to calculate.

Try an example
Your abundancy index will appear here.Calculate to see the exact ratio, decimal value, divisors, and number classification.
Overview

What is an abundancy index calculator?

The abundancy index of a positive integer n is the sum of all its positive divisors divided by n. It is written I(n) = σ(n)/n, where σ(n) includes n itself.

Important terms

Divisor sum σ(n)
The sum of all positive divisors of n, including n.
Abundancy index
The ratio σ(n)/n, a measure of how large the full divisor sum is relative to n.
Proper-divisor sum s(n)
The sum of positive divisors smaller than n. Since σ(n) = s(n) + n, I(n) = 1 + s(n)/n.
Perfect number
A positive integer whose proper divisors sum to itself; its abundancy index is 2.

When this method is useful

  • Calculate the exact abundancy index and decimal approximation.
  • Compare divisor structure for deficient, perfect, and abundant numbers.
  • Inspect the divisors and divisor sum used in the calculation.
Formula

Formula and variables

I(n)=σ(n)n=1+s(n)n,σ(n)=∑d∣ndI(n)=\frac{\sigma(n)}{n}=1+\frac{s(n)}{n},\qquad \sigma(n)=\sum_{d\mid n}d
n
the positive integer
σ(n)
the sum of all positive divisors of n, including n
s(n)
the sum of positive proper divisors of n
I(n)
the abundancy index of n

List the positive divisors of n, add them to find σ(n), then divide by n. The index is always at least 1 because n is one of its own divisors.

Domain note: Enter a positive integer from 1 to 1,000,000,000,000. Fractions, decimals, zero, and negative integers are not valid inputs.

How it works

How to use this calculator

  1. 1

    Enter a positive integer n.

  2. 2

    Find all positive divisors d of n, including n itself.

  3. 3

    Add the divisors to obtain σ(n).

  4. 4

    Calculate I(n) = σ(n)/n and compare the result with 2: below 2 is deficient, equal to 2 is perfect, and above 2 is abundant.

Worked examples

Step-by-step examples

Example 1

Problem: Find the abundancy index of 12.

Substitution: The positive divisors of 12 are 1, 2, 3, 4, 6, and 12, so σ(12) = 1 + 2 + 3 + 4 + 6 + 12 = 28.

Result: I(12) = σ(12)/12 = 28/12 = 7/3 ≈ 2.3333.

Because the index is greater than 2, 12 is abundant. Its proper divisors sum to 16, which is 4 more than 12.

Example 2

Problem: Find the index of 6.

Substitution: σ(6) = 1 + 2 + 3 + 6 = 12.

Result: I(6) = 12/6 = 2.

6 is perfect because its index is exactly 2.

Example 3

Problem: Find the index of 15.

Substitution: σ(15) = 1 + 3 + 5 + 15 = 24.

Result: I(15) = 24/15 = 8/5 = 1.6.

15 is deficient because its index is below 2.

Method knowledge

Rules, edge cases, and related ideas

Include the number itself in σ(n)

The divisor sum σ(n) includes every positive divisor, including n. Excluding n gives the proper-divisor sum and a different formula.

Compare the index with 2

I(n) < 2 means deficient, I(n) = 2 means perfect, and I(n) > 2 means abundant.

The index is a ratio

Abundancy index is not the abundance difference. Abundance is s(n) − n; the index is σ(n)/n.

Edge cases and limitations

  • The input 1 is valid: σ(1) = 1, so I(1) = 1 and 1 is deficient.
  • A prime p has divisors 1 and p, so I(p) = (p + 1)/p.
  • The square-root divisor is counted once when n is a perfect square.
  • The input limit keeps divisor-pair enumeration responsive and all displayed sums within safe integer precision.

How this differs from a related concept

The abundancy index I(n) = σ(n)/n is a ratio. Abundance A(n) = s(n) − n is a signed difference. Both use the proper divisors to classify a number, but their values and thresholds differ: the index is compared with 2, while abundance is compared with 0.

Interpretation

Understand the result

An index of 2 is the dividing line: a smaller value means the proper-divisor sum is less than n, while a larger value means it is greater. The ratio uses all divisors in σ(n), including n; equivalently, it is 1 plus the proper-divisor sum divided by n.

Common mistakes

  • Leaving n out of σ(n).
  • Comparing the index with 1 instead of 2 when classifying perfect numbers.
  • Confusing the abundancy index with abundance.
  • Counting a square-root factor twice for a perfect square.

Frequently asked questions

What is the abundancy index formula?

I(n) = σ(n)/n, where σ(n) is the sum of all positive divisors of n, including n itself. Equivalently, I(n) = 1 + s(n)/n using the proper-divisor sum s(n).

What does an abundancy index of 2 mean?

It means σ(n) = 2n, so the proper divisors sum to n. Such a number is perfect; examples include 6 and 28.

Can the abundancy index be a fraction?

Yes. It is a rational number because it is the integer divisor sum divided by the integer n. The calculator reduces the ratio when possible.

Is abundancy index the same as abundance?

No. The index is σ(n)/n, a ratio. Abundance is s(n) − n, a difference between the proper-divisor sum and n.

What is the abundancy index of a prime number?

For a prime p, the only positive divisors are 1 and p, so I(p) = (p + 1)/p = 1 + 1/p. Every prime is deficient.

References & technical sources

Keep calculating

Related calculators