Divisors · prime factorization · factor tree
Factor Calculator
This calculator lists every factor of a positive integer using trial division up to √n, and shows prime factorization, a factor tree, and step-by-step division. It accepts numbers up to 12 digits and runs locally in your browser.
By Jeff Beem
Updated
Enter a number
Enter a positive integer (up to 12 digits). We find all factors and the prime factorization.
1, 2, 3, 4, 5, 6, 10, 12, 15, 20, 30, 60
60 = 2^2 × 3 × 5
Factor tree
Step-by-step
First, we divide 60 by the smallest prime, 2. 60 ÷ 2 = 30 (2 times). Next, we divide 15 by 3 (once). Next, we divide 5 by 5 (once). So the prime factorization is: 60 = 2^2 × 3 × 5.
How to use this calculator
Type a positive integer in Number (n) (digits only, up to 12). The Results panel lists every divisor in ascending order with a count; Copy list copies the comma-separated line. For n ≥ 2 you also get prime factorization (caret powers), a scrollable Factor tree SVG with the smallest prime on the left branch, and a Step-by-step paragraph under the tree. Entering 1 shows only the factor 1 with no prime line or tree. Very large inputs use trial division up to √n and may take a moment in the browser.
Reading the factor list and tree
Enter one positive integer in the Number field. The Results panel lists every divisor, then prime factorization when n ≥ 2, a scrollable factor tree, and a Step-by-step paragraph under the tree.
Factor tree and Step-by-step in Results
Edge case: enter 1
Factor Calculator: All Factors & Prime Factorization
This calculator lists every factor, prime factorization, and a factor tree for positive integers up to 12 digits. It finds divisors by trial division up to √n, and everything runs locally in your browser.
What this calculator does
How the math works
Limits of the model
Factor Calculator FAQ
What is a factor of a number?
How does this calculator find all factors?
What is prime factorization on this page?
2^2 × 3 × 5). Each integer > 1 has one such breakdown (order aside). The factor tree and Step-by-step block show the same splits when n ≥ 2.How many factors does a prime number have?
What happens if I enter 1?
What is the maximum number I can enter?
How does the factor tree layout work?
Why does RSA come up in the FAQ?
Mathematical Reference Note
Calculation Logic: This tool uses standard mathematical algorithms. While we strive for accuracy, errors in logic or user input can result in incorrect data.
Verification: Results should be cross-checked if used for important academic, professional, or personal calculations.
Standard Terms: This tool is provided free of charge and as-is. CalcRegistry provides no warranty regarding the accuracy or fitness of these results for your specific needs.