Prime Factorization & Factors Calculator


Decompose a positive whole number into prime powers and find how many positive divisors it has, their sum and their product. Useful for divisibility and number-theory exercises.

Each field is labelled with its meaning. Use consistent units within one calculation. Results are rounded for display.

Choose a mode, enter values and calculate. Use decimal points; lists accept commas or spaces.

أدخل القيم:
النتائج:

Formula and method

If N = Πp^e, divisor count d = Π(e+1); divisor sum = Π(1+p+...+p^e); divisor product = N^(d/2). The implementation multiplies exact integer prime powers.

Worked example

360 = 2^3 × 3^2 × 5. It has 4 × 3 × 2 = 24 positive factors, whose sum is 15 × 13 × 6 = 1170.

Read the result

Prime factorization lists prime bases with exponents. Factor count and factor sum include both 1 and N.

Limits and edge cases

N must be a whole number from 1 to 10^10. Trial division is bounded by that limit. Negative numbers and zero are rejected. Products longer than 120 digits are displayed as an exact power expression.

Frequently asked questions

Is 1 prime?

No. It has an empty prime factorization, one positive divisor, divisor sum 1 and divisor product 1.

Are negative divisors counted?

No. The displayed divisor statistics concern positive divisors only.