Skip to content
100% local

Divisors of a number

List every divisor of a number, plus how many there are and what they add up to.

Input
Output

Divisors of a number

Enter a whole number and this tool lists every one of its divisors — every value that divides it with no remainder — along with how many there are and what they add up to. It's a fast way to check whether a number is perfect, abundant or deficient, factor a value for a fraction problem, or see how "round" a number is by how many ways it splits evenly.

Turn on batch mode to process a whole list at once, one number per line, instead of a single value — handy for a column of numbers pasted from a spreadsheet. "Support very large numbers" raises the accepted length from 15 to 30 digits using exact big-integer arithmetic, so long values parse correctly instead of losing precision; numbers whose square root is too large to test directly are still reported honestly as too big to factor, rather than freezing your browser. "Show calculation steps" prints the √n factor pairs the tool found along the way — 1 × 24, 2 × 12, 3 × 8, 4 × 6 — and the precision option sets how many decimal places the average divisor is shown with. Choose one divisor per line or a single comma-separated line with the format option.

Negative numbers are handled by taking the absolute value and noting it in the result; zero is called out on its own, since every nonzero number divides it. A non-numeric line is reported as not a whole number rather than causing an error, so one bad line in a batch never blocks the rest.

Everything runs locally in your browser — nothing you type is uploaded anywhere. Copy the result, download it as a .txt file, or send the output straight back into the input to run another calculation on it.

FAQ

How is the sum of divisors useful?
It is the quickest way to spot a perfect number — one whose divisors (excluding itself) add up to the number itself, like 6 (1+2+3) or 28 (1+2+4+7+14).
What happens with a negative number?
Divisors are computed for its absolute value, and the result notes that the absolute value was used.
Why does a very large number sometimes show "too large to factor"?
Finding every divisor of a huge number takes a trial division proportional to its square root. Past a certain size that would freeze your browser, so the tool reports the limit honestly instead of hanging.
Can I check a whole list of numbers at once?
Yes — turn on batch mode and put one number per line. Each line is calculated separately and the results are listed one after another.
Is my input uploaded anywhere?
No. Every calculation runs locally in your browser — your numbers never leave your device.