Skip to main content

Prime Factorization Calculator

Find the prime factorization of any number. Shows the factor tree, exponent form, and all prime factors.

Advertisement

The positive integer to factorize (must be ≥ 2).

AI Math Assistant

Beta

Ask questions about your calculation results

I can help you understand your results and explore your options. Try asking:

3 free questions per session

AI provides general assistance. Always verify important calculations.

About This Calculator

Every integer greater than one can be expressed as a unique product of prime numbers, a principle known as the fundamental theorem of arithmetic. This calculator decomposes any number into its prime factors and displays the result in exponential notation. Prime factorization is the engine behind computing GCF and LCM, and its computational difficulty for very large numbers is what makes modern encryption secure.

Quick Tips

  • 1 Start dividing by 2, then 3, then 5 — work up through primes only.
  • 2 Every integer greater than 1 has a unique prime factorization.
  • 3 Prime factorization is the foundation of modern encryption algorithms.

Example Calculation

Scenario

Prime factorization of 360.

Result

360 = 2^3 x 3^2 x 5 | Prime factors: 2, 3, 5

What Is Prime Factorization?

Prime factorization expresses a number as a product of prime numbers. For example, 360 = 2³ × 3² × 5. Every integer greater than 1 has a unique prime factorization — this is the Fundamental Theorem of Arithmetic. Primes are the "building blocks" of all natural numbers.

How to Find Prime Factors

Start dividing by the smallest prime (2). When 2 no longer divides evenly, move to 3, then 5, 7, 11, and so on. Continue until the quotient is 1. For 360: 360÷2=180, 180÷2=90, 90÷2=45, 45÷3=15, 15÷3=5, 5÷5=1. So 360 = 2³ × 3² × 5.

Factor Trees

A factor tree is a visual method for finding prime factors. Start with the number and split it into any two factors. Continue splitting until all leaves are prime. Different trees (starting splits) always produce the same prime factors. For example, 360 → 36 × 10 → (6×6) × (2×5) → (2×3)(2×3)(2×5).

Applications of Prime Factorization

Prime factorization is used to find GCF and LCM, simplify fractions, determine the number of factors, and solve divisibility problems. In cryptography (RSA encryption), the difficulty of factoring large numbers into primes secures online communications and banking.

Frequently Asked Questions