Overview

The divisors of a number are all the whole numbers that divide it exactly. Knowing them helps with fractions, scheduling and puzzle problems.

The calculator lists every divisor, adds them up and classes the number as perfect, abundant or deficient.

Worked examples

InputsResult
Number360360 has 24 divisorsDivisors: 1, 2, 3, 4, 5, 6, 8, 9, 10, 12, 15, 18, 20, 24, 30, 36, 40, 45, 60, 72, 90, 120, 180, 360Sum of divisors: 1,170It is an abundant number.
Show 3 more examples
Number1212 has 6 divisorsDivisors: 1, 2, 3, 4, 6, 12Sum of divisors: 28It is an abundant number.
Number496496 has 10 divisorsDivisors: 1, 2, 4, 8, 16, 31, 62, 124, 248, 496Sum of divisors: 992It is a perfect number.
Number9797 has 2 divisorsDivisors: 1, 97Sum of divisors: 98It is a deficient number.

How it works

Pairs of divisors multiply to the number, so testing up to the square root finds them all. The sum of proper divisors (excluding the number itself) decides the class: equal means perfect, more means abundant, less means deficient.

The formula

Divisors come in pairs (d, n ÷ d) for each d ≤ √n
nThe number

Practical tips

  • Perfect numbers are rare: 6, 28, 496, 8,128…
  • A prime has exactly two divisors; a perfect square has an odd number of divisors.

Frequently asked questions

How many divisors does 360 have?

24.

What is a perfect number?

A number equal to the sum of its proper divisors, such as 28 = 1 + 2 + 4 + 7 + 14.