Perfect Number Checker

Check whether n equals the sum of its proper divisors.

FreeNo accountOn your device

Runs in your browser. How to verify

Loading tool…

About this tool

Enter a number to check whether its proper divisors sum to itself. 28 is perfect: 1 + 2 + 4 + 7 + 14 = 28.

How to use

1
Step 1
Enter a positive whole number.
2
Step 2
Press Calculate.
3
Step 3
Read whether it is perfect.

How it works

Proper divisors are all divisors except the number itself. If they add to less than n the number is deficient, if more it is abundant, and if exactly n it is perfect. Every even perfect number has the form 2^(p−1)(2^p − 1) where 2^p − 1 is prime, which gives 6, 28, 496, 8128, 33,550,336.

n is perfect  ⇔  σ(n) − n = n

Worked example

An abundant number

Input
n = 12
Output
not perfect
Walkthrough
Proper divisors of 12: 1 + 2 + 3 + 4 + 6 = 16, which is more than 12, so 12 is abundant.

Limitations

  • The tool answers perfect or not perfect only; it does not label deficient or abundant.
  • Only the checker is provided, not a search for new perfect numbers.

Questions

Is 28 a perfect number?
Yes. 1 + 2 + 4 + 7 + 14 = 28.
Is 12 a perfect number?
No. Its proper divisors add to 16.
Is 8128 a perfect number?
Yes, it is the fourth perfect number.
Is 945 a perfect number?
No. It is the smallest odd abundant number.

Features

  • Instant check
  • Large numbers
  • Runs in your browser

Related resources

Guides and videos from around the web—opens on YouTube or the publisher’s site.

  • Derivative as a concept

    Khan Academy

    When general calculators hand off to calculus tools.

    Watch on YouTube
  • Variables, expressions, and equations

    Khan Academy

    Expression language for scientific and expression calculators.

    Watch on YouTube