Skip to main content
Calculator Fractions

Prime Factorization Calculator

Find prime factors for simplification.

Factors & Denominators

Use the Prime Factorization Calculator

Result
—

How Prime Factorization Calculator Works?

The Prime Factorization Calculator works in 4 steps: it reads 2 whole numbers, computes their greatest common factor (GCF), splits off the shared prime part, and builds the full factorization of each number. The shared prime part is the set of primes that cancel when a fraction built from the 2 numbers is reduced.

  1. Enter the 2 numbers

    Type 84 in the first numerator box and 180 in the second numerator box. Keep both denominators at 1.

  2. Compute the GCF

    The calculator returns GCF = 12. The prime factorization of 12 is 2² × 3, so 84 and 180 share exactly the primes 2, 2, and 3.

  3. Divide out the shared primes

    84 ÷ 12 = 7 and 180 ÷ 12 = 15. The leftover parts 7 and 15 = 3 × 5 share no prime.

  4. Assemble the full factorizations

    Multiply the shared part by each leftover part: 84 = 2² × 3 × 7 and 180 = 2² × 3 × 3 × 5 = 2² × 3² × 5.

Prime Factorization Calculator Formula

The prime factorization formula is n = p₁^e₁ × p₂^e₂ × ... × pₖ^eₖ, where each p is a prime and each e is a positive whole-number exponent. The fundamental theorem of arithmetic states that this product is unique for every integer above 1.

Unique factorization

n = p₁^e₁ × p₂^e₂ × ... × pₖ^eₖ

Every integer greater than 1 has exactly 1 prime factorization, apart from the order of the factors. 360 = 2³ × 3² × 5.

Trial division

divide n by p = 2, 3, 5, 7, ... while p² ≤ n

Test primes up to the square root of n. 1001 needs tests only up to 31, as 32² = 1024 is above 1001.

GCF from prime powers

GCF = Π p^min(e₁, e₂)

Take each shared prime at its lower exponent. 84 = 2² × 3 × 7 and 180 = 2² × 3² × 5 give 2² × 3 = 12.

Divisor count

d(n) = (e₁ + 1)(e₂ + 1)...(eₖ + 1)

Add 1 to each exponent and multiply. 360 = 2³ × 3² × 5 has 4 × 3 × 2 = 24 divisors.

Worked example: prime factorization of 1386

  1. Divide by 2: 1386 ÷ 2 = 693.
  2. Divide by 3: 693 ÷ 3 = 231.
  3. Divide by 3 again: 231 ÷ 3 = 77.
  4. Divide by 7: 77 ÷ 7 = 11, and 11 is prime.
  5. Write the result: 1386 = 2 × 3² × 7 × 11, which has (1 + 1)(2 + 1)(1 + 1)(1 + 1) = 24 divisors.

Prime Factorization Calculator Conversion Table

The prime factorization conversion table lists 12 numbers with the full prime factor list, the exponent form, the count of distinct primes, and the number of divisors.

NumberPrime FactorsExponent FormDistinct PrimesNumber of Divisors
602 × 2 × 3 × 52² × 3 × 5312
722 × 2 × 2 × 3 × 32³ × 3²212
902 × 3 × 3 × 52 × 3² × 5312
1262 × 3 × 3 × 72 × 3² × 7312
1502 × 3 × 5 × 52 × 3 × 5²312
1962 × 2 × 7 × 72² × 7²29
2102 × 3 × 5 × 72 × 3 × 5 × 7416
2253 × 3 × 5 × 53² × 5²29
2562 × 2 × 2 × 2 × 2 × 2 × 2 × 22⁸19
3302 × 3 × 5 × 112 × 3 × 5 × 11416
10017 × 11 × 137 × 11 × 1338
97979712

What is Prime Factorization Calculator?

A Prime Factorization Calculator is a tool that breaks whole numbers into the primes that multiply to give them and returns the greatest common factor (GCF) that those factorizations share. A prime number has exactly 2 divisors: 1 and itself.

Prime factorization is the base of fraction simplification. The fraction 84/180 reduces to 7/15 after the shared primes 2, 2, and 3 cancel. The same factor lists produce the least common multiple (LCM): 84 and 180 have an LCM of 2² × 3² × 5 × 7 = 1260.

Prime factorizations follow 3 patterns. A prime such as 97 factors only as itself. A square-free number such as 330 = 2 × 3 × 5 × 11 uses each prime once. A prime power such as 256 = 2⁸ uses 1 prime 8 times.

What are the uses of Prime Factorization Calculator?

The Prime Factorization Calculator has 6 main uses, including fraction reduction, LCD work, and square root simplification.

  • Fraction reduction

    126/210 reduces to 3/5 after cancelling the shared primes 2, 3, and 7.

  • LCD work

    The prime powers of 72 = 2³ × 3² and 150 = 2 × 3 × 5² give the least common denominator (LCD) 2³ × 3² × 5² = 1800.

  • Square root simplification

    196 = 2² × 7², so √196 = 2 × 7 = 14. 72 = 2³ × 3² gives √72 = 6√2.

  • Divisor listing

    225 = 3² × 5² has (2 + 1)(2 + 1) = 9 divisors: 1, 3, 5, 9, 15, 25, 45, 75, and 225.

  • Cryptography basics

    Students see why RSA relies on hard factoring: 1001 = 7 × 11 × 13 factors in seconds, but a 600-digit product of 2 large primes does not.

  • Primality checks

    A number whose only prime factor is itself, such as 97, is prime.

Related Factors & Denominators Tools

View all 270 tools →