Skip to content

Divisor calculator

Find the sorted positive divisors of one integer, together with their count and exact sum.

Enter a positive integer

Your data stays in this browser.

Use one whole number from 1 to 1,000,000,000,000.

Positive divisors

Enter a positive integer and choose Calculate.

How to use the divisor calculator

  1. Enter one positive whole number without digit-grouping commas, decimals, or exponent notation.
  2. Choose Calculate or press Enter. The calculator tests factor pairs only through the square root and then sorts the full list.
  3. Read the divisor list, number of divisors, and exact sum. Copy result exports all three values as plain text.
  4. Edit the number to invalidate the old list immediately, or use Clear beside the input to remove the whole calculation.

How the divisor list is found

A positive integer d is a divisor of n when n mod d = 0. If d divides n, then n ÷ d is its paired divisor.

Only candidates d with d² ≤ n need testing. Each successful pair contributes two divisors, except when d² = n; that square-root divisor is added once.

The count τ(n) is the length of the completed list and the divisor sum σ(n) adds every positive divisor. Both values are computed from the displayed exact list.

Examples

Divisors of 36

The list is 1, 2, 3, 4, 6, 9, 12, 18, 36. It contains 9 values and their sum is 91.

A prime number

For 17 the only positive divisors are 1 and 17, so the count is 2 and the sum is 18.

The number 1

One has the single positive divisor 1. Its divisor count and divisor sum are both 1.

Limits and error help

Frequently asked questions

Are 1 and the number always divisors?

Yes for every positive integer. They form a pair, except for n = 1 where they are the same divisor and appear once.

Why do perfect squares have an odd divisor count?

All factor pairs contain two different values except the square-root pair, whose two values are equal and are counted once.

Does a prime have exactly two divisors?

Yes: 1 and itself. This page shows that list but leaves broader prime analysis to the separate prime-factorization tool.

Are negative divisors included?

No. The result follows the common positive-divisor convention.

Why is there a one-trillion limit?

It gives a clear responsiveness ceiling for trial division in an ordinary browser.