Prime Factorization Calculator
Find the prime factorization of any number. Free online prime factor calculator with factor tree.
The Prime Factorization Calculator breaks down any positive integer into its prime factors—the building blocks of all numbers. See the complete factorization as a product of primes and understand the unique prime representation of any number. Essential for finding GCD, LCM, simplifying fractions, and understanding number properties.
Prime Factorization Calculator
Formula: Divide by the smallest prime that fits, repeat with the quotient until it is 1
Worked example
- 360 ÷ 2 = 180
- 180 ÷ 2 = 90
- 90 ÷ 2 = 45
- 45 ÷ 3 = 15
- 15 ÷ 3 = 5
- 5 ÷ 5 = 1
Replace these values in the calculator above to compute your own numbers.
Common use cases
- Simplifying fractions
- Finding GCD and LCM
- Cryptography fundamentals
- Number theory studies
- Divisibility analysis
How to use
- Enter a positive integer
- Click factorize for prime factors
- View the factor tree visualization
- See the prime factorization
- Identify repeated prime factors
FAQ
What is prime factorization?
Writing a number as a product of prime numbers. Example: 60 = 2² × 3 × 5 = 2×2×3×5.
Is prime factorization unique?
Yes, the Fundamental Theorem of Arithmetic states every integer > 1 has a unique prime factorization (ignoring order).
How is this used for GCD?
GCD uses the lowest power of common primes. For 12=2²×3 and 18=2×3², GCD=2×3=6.
What if the number is prime?
A prime number's factorization is just itself. For example, 13 = 13.
Related tools
- Prime Number CheckerCheck if a number is prime. Free online prime checker with divisibility analysis and next prime finder.
- GCD CalculatorCalculate the greatest common divisor of numbers. Free online GCD/GCF calculator using Euclidean algorithm.
- LCM CalculatorCalculate the least common multiple of numbers. Free online LCM calculator with step-by-step solution.
- Factorial CalculatorCalculate factorials instantly. Free online factorial calculator for permutations, combinations, and…
- Modulo CalculatorCalculate the modulo (remainder) of division. Free online modulo calculator for programming and math.
- Arithmetic Sequence CalculatorCalculate arithmetic sequence terms and sums. Free online arithmetic progression calculator.
- Prime Number TableIn Reference