Free calculatorLive resultsSteps and sourcesEmbed on your site, free

Factor Calculator

Factor calculator works out Prime factorization and Written out in full from Number, Answer to lead with and List every divisor. The default figures on this page give prime factorization of 2^3 x 3^2 x 5; change any entry and the result, the working and the sources update together.

Prime factorization
2^3 x 3^2 x 5
Prime Factorization Calculator
Written out in full
2 x 2 x 2 x 3 x 3 x 5
Number of distinct primes
3
Prime factors counted with multiplicity
6
Is prime
No
Smallest prime factor
2
Largest prime factor
5
Number of divisors
24
Sum of divisors
1,170
Sum of proper divisors
810
Euler's totient
96
Radical (product of distinct primes)
30
Perfect, abundant or deficient
Abundant
Square-free
No
Worked out from NIST Digital Library of Mathematical Functions, §27.2-27.3 (fundamental theorem of arithmetic; divisor and totient functions) and 2 other sources.

Your figures

Updates as you type
Any whole number from 1 to 9,007,199,254,740,991.
Every figure below is computed either way; this only chooses which one is the answer.

How this is worked out

9 steps
  1. 360 / 2 = 180
  2. 180 / 2 = 90
  3. 90 / 2 = 45
  4. 45 / 3 = 15
  5. 15 / 3 = 5
  6. 5 / 5 = 1
  7. Nothing left to divide, so 360 = 2^3 x 3^2 x 5.
  8. Number of divisors = product of (exponent + 1) = (3+1) x (2+1) x (1+1) = 24.
  9. Sum of divisors = product of (p^(e+1)-1)/(p-1) = 1170; subtracting 360 leaves 810 for the proper divisors.
Distinct prime factorstable
2, 3, 5
Exponent of each primetable
3, 2, 1
All divisorstable
1, 2, 3, 4, 5, 6, 8, 9, 10, 12, 15, 18, 20, 24, 30, 36, 40, 45, 60, 72, 90, 120, 180, 360

Its 7 worked examples are re-run on every release, last on 15 September 2026. What changed

Sources and references

3 sources

What the factor calculator calculates

Breaks a whole number into its prime factors, tests whether it is prime, and reports the divisor count, divisor sum, all divisors and Euler totient.

How to use this factor calculator

Enter Number, Answer to lead with, List every divisor and Maximum divisors to list. Prime factorization updates as you type, and “Use a worked example” loads checked figures you can adjust. Change one figure at a time to see what drives the result.

How the result is worked out

Open “How this is worked out” beside the result for the step-by-step calculation behind Prime factorization, Written out in full and Distinct prime factors.

The method follows NIST Digital Library of Mathematical Functions, §27.2-27.3 (fundamental theorem of arithmetic; divisor and totient functions), J. M. Pollard, "A Monte Carlo method for factorization", BIT 15 (1975) 331-334; R. P. Brent, "An improved Monte Carlo factorization algorithm", BIT 20 (1980) 176-184 and J. Sorenson and J. Webster, "Strong pseudoprimes to twelve prime bases", Mathematics of Computation 86 (2017) - the 12-base Miller-Rabin test is deterministic below 3.317e24.

91 looks prime but is 7 x 13 example

With Number: 91, Answer to lead with: is-prime, the calculator returns Is prime: No, Smallest prime factor: 7, Largest prime factor: 13. This example is checked against an independent source in the test suite.

What you can compare

Change one input at a time to see how it affects Prime factorization, Written out in full and Distinct prime factors. The inputs you can vary are Number, Answer to lead with, List every divisor and Maximum divisors to list.

Results are general information, not financial, tax, legal, medical or engineering advice. Check any decision that matters with a qualified professional.

Embed this calculator on your website

Copy this code into any page. The calculator appears with the figures currently entered, sizes itself to fit, and a small credit line links back here. Free, no account, no ads inside it, no tracking of your readers. Set your own figures and fixed fields; Personal removes the credit line, sets your colour and shows you which sites use it.

Preview

See something wrong? Report a problem with this calculator

Frequently asked questions

What information do I need for the factor calculator?

You need Number, Answer to lead with, List every divisor and Maximum divisors to list. The page opens with default figures that give prime factorization of 2^3 x 3^2 x 5, so you can see the scale before entering your own.

What does this factor calculator show?

It shows Prime factorization, Written out in full, Distinct prime factors, Exponent of each prime, Number of distinct primes, Prime factors counted with multiplicity, Is prime and Smallest prime factor, with the working and any warnings for your entries.

Can I check how the factor calculator result was calculated?

Yes. The “How this is worked out” section shows the calculation steps, and the sources section identifies the references used for the method.

Related calculators

View all related calculators12 more