Find prime factors with exponents or as an expanded product. Follow division steps, check the product and list positive divisors for integers from 2 to 10¹².
Enter an integer from 2 to 1,000,000,000,000. The calculator divides by 2 and then tests odd divisors up to the square root of the remaining value. It shows the prime factors with exponents, the expanded product, division steps and positive divisors. Multiply the prime factors to check the original number; 1 is a divisor but is not a prime factor.
Recomputed from this page's implementation at build time · checked 2026-10-22
A trillion has 169 divisors; the prime next door has two
Divisor counts come from exponents, not from the size of the number. That is why 720,720 beats 1,000,000,000,000 on divisor count while being less than a millionth of its size — and why the slowest input this page accepts is the one that refuses to break apart at all.
Every divisor of 360, arranged by which primes it borrows. Four columns for 2, three rows for 3, two layers for 5 — and 4 x 3 x 2 = 24, which is the divisor count obtained without counting a single divisor.
How the result moves
Number → · Number of divisors
360
2,520
5,040
720,720
10^9
Number of divisors
24
48
60
240
100
720,720 has 240 divisors while a billion has 100, even though the billion is a thousand times larger. The count follows how the primes are spread - 720,720 carries six distinct ones - not the size of the number.
169Divisors of 1,000,000,000,000from just 2 and 5, exponents 12 and 12
240Divisors of 720,720six small primes do the work here
999,999,999,990Sum of divisors of the prime 999,999,999,989the number plus 1, and nothing in between
Four numbers, four different shapes
The number everyone starts with
Prime factorisation
2^3 × 3^2 × 5
Prime factors with multiplicity
6
Distinct primes
3
Total divisors
24
Sum of divisors
1,170
Six prime factors but only three distinct primes, and 24 divisors is 4 × 3 × 2: add one to each exponent and multiply. That identity is the reason a divisor count can be produced without ever listing the divisors — and it is the fastest way to sanity-check any factorisation you get.
The top of the input range
Prime factorisation
2^12 × 5^12
Prime factors with multiplicity
24
Distinct primes
2
Total divisors
169
Sum of divisors
2,499,694,822,171
Only two distinct primes, yet 169 divisors, because 13 × 13 multiplies two large exponents. Note the last row: the divisors add up to more than twice the number itself, since the number counts as one of its own divisors.
A much smaller number with more divisors
Prime factorisation
2^4 × 3^2 × 5 × 7 × 11 × 13
Distinct primes
6
Total divisors
240
Sum of divisors
3,249,792
Set this next to the previous case. 720,720 is under a millionth the size and still carries more divisors, because its six primes are the smallest ones available. Divisor count rewards many small primes rather than a big number, which is why highly composite numbers always factor into 2, 3, 5, 7, 11 and 13 in some arrangement.
A perfect number hiding in plain sight
Prime factorisation
2^6 × 127
Total divisors
14
Sum of divisors
16,256
The divisor sum is exactly twice the number, which is the definition of a perfect number. 8,128 is 2^6 × (2^7 − 1), and the shape generalises: an even perfect number is always a power of two multiplied by a Mersenne prime. If a divisor sum ever looks implausible, this is the cheapest test available — for a perfect number it must equal 2n.
The slowest input the page will accept
Prime factorisation
999999999989
Prime factors with multiplicity
1
Distinct primes
1
Total divisors
2
Sum of divisors
999,999,999,990
Allow roughly 28 ms for this one against well under a millisecond for the trillion above, because trial division only stops when the divisor exceeds the square root of whatever is left to factor. When the second-largest factor is the number itself, nothing shortens the loop. The answer is still trivial to read: a twelve-digit prime, so the only divisors are 1 and itself.
What gets refused, and why the cap is a time limit
You typed
number
1
It answeredinputError
One
1 is the empty product — it has no prime factorisation at all. Returning 1 = 1 would be technically true and completely useless, so the input is refused instead.
You typed
number
1.5
It answeredinputError
One and a half
Whole numbers only. Rounding 1.5 up to 2 would answer a question that was never asked, so a fractional input is rejected rather than coerced into the nearest integer.
You typed
number
1000000000001
It answeredinputError
A trillion and one
The cap is a time limit rather than a display limit. Trial division runs to the square root of the remaining value, so ten times the input costs about three times the wait; 10¹² is where the worst case stays inside a fraction of a second.
You typed
number
-6
It answeredinputError
Minus six
Primality is defined on positive integers. The sign is not stripped anywhere, so a negative entry is refused rather than silently factored as its absolute value.
Conventions behind the divisor columns
Exponents and an expanded product, no tree
The result appears twice: once with exponents and once as every factor written out. There is no tree diagram and no prime-index lookup, so the page will not tell you that 97 is the 25th prime.
Divisors are positive and counted once
360 has 24 divisors including 1 and 360 itself. Negative divisors are excluded, which matches the standard d(n) tables — otherwise every count would simply be doubled.
Nothing is cached between runs
Each entry is factored from scratch with trial division, not read from a sieve. A repeated input costs exactly what the first one did, and the cap is what keeps that promise bounded.
The divisor sum is not a proper-divisor sum
The number counts as one of its own divisors, so a sum below the number means it is deficient, a sum of exactly twice the number means perfect, and anything above means abundant. Several textbooks quote the proper-divisor sum instead, which is this column minus the number.
Input below 10 trillion, output as a factor list, exponential form, a CSV sequence, a factor tree, and the prime index for numbers up to the millionth prime.
Here
Input up to 1 trillion, output as exponent form, expanded product, division steps, the full list of positive divisors, plus the divisor count and divisor sum.
Why they built it that wayThe output leads with a long-division ladder rather than the exponent form. That suits a teaching page where the steps are the answer, and it is why large inputs are slow: every division gets printed.
Divisor count and divisor sum cannot be read off a factor tree — they follow from the exponents, and computing them is what makes the perfect-number check possible. Their cap is ten times higher; ours is set where trial division still finishes quickly, and the trade is stated rather than hidden.
Enter 720720 and read the exponents: 4, 2, 1, 1, 1, 1. Add one to each and multiply — 5 × 3 × 2 × 2 × 2 × 2 = 240, which is the divisor count shown. Then enter 999999999989: the factorisation returns the number unchanged, the divisor count drops to 2, and the divisor sum becomes the number plus one.
Multiplied every factorisation back to its input and checked divisor counts with the exponent formula · impl 7934c399
These calculators give general mathematical results. They suit study, planning and estimation — verify anything that feeds a graded submission, a published figure or a financial commitment.
Maintained by: CalcDeltaFormula and sources updated ·
Implementation source
This record describes the implementation used by this page. It is not independent validation. External references, when available, support only the stated formula or definition; estimates and custom rules retain their own assumptions.
Uses trial division for integers from 2 to 1,000,000,000,000, testing 2 then odd divisors up to the square root of the remaining value. Larger factors may take longer to find.
Embed this calculator
Copy the iframe snippet to place this calculator on your site. No account required. The snippet stays in sync with the inputs currently shown.
Frequently asked questions
How do I find and check a number’s prime factors?
Enter an integer from 2 to 10¹². For example, 360 = 2³ × 3² × 5. Follow the division steps and multiply the factors to check the original number. The positive-divisor list includes composite divisors as well as primes.
What is the difference between prime factors and positive divisors?
Positive divisors divide the original number without a remainder. They may be prime or composite and include 1 and the number itself. For 360 = 2³ × 3² × 5, the number of positive divisors is (3 + 1) × (2 + 1) × (1 + 1) = 24.