GintiCalcEvery calculation

PrimeLab

Prime Factorization Calculator

Every number's unique breakdown into primes.

Prime factorisation in expanded and exponent form

Every whole number above 1 breaks down into exactly one set of prime factors. The last column groups repeats as exponents.

NumberPrime factorsExponent form
122, 2, 32^2 x 3
602, 2, 3, 52^2 x 3 x 5
842, 2, 3, 72^2 x 3 x 7
1002, 2, 5, 52^2 x 5^2
3602, 2, 2, 3, 3, 52^3 x 3^2 x 5
10242 repeated ten times2^10

The fundamental theorem of arithmetic guarantees this decomposition is unique apart from the order, which is why prime factorisation is the backbone of number theory. 360 having factors 2, 3 and 5 in abundance is why it was adopted for degrees in a circle - it divides evenly by 2, 3, 4, 5, 6, 8, 9, 10, 12 and more. 1024 as 2 to the tenth is why kilobytes were historically 1,024 bytes rather than 1,000. Factorisation is easy to verify and hard to reverse for very large numbers, which is precisely what RSA encryption relies on.

The fundamental theorem of arithmetic

Every integer greater than 1 has exactly one prime factorization — no matter how you break a number down, you always land on the same set of primes, just possibly in a different order.

Where exponent form comes from

When a prime repeats (like 84 = 2 × 2 × 3 × 7), grouping the repeats into a power — 2² × 3 × 7 — is the standard way factorizations are written in textbooks and used to quickly find a number's GCD, LCM, or total divisor count.

Frequently asked questions

How do I find the prime factorization of a number?

Divide by the smallest prime (2) repeatedly until it no longer divides. Move to the next prime (3, 5, 7...) and repeat. Stop when the quotient is 1. Example: 180 ÷ 2 = 90 ÷ 2 = 45 ÷ 3 = 15 ÷ 3 = 5 ÷ 5 = 1. So 180 = 2² × 3² × 5.

What is the fundamental theorem of arithmetic?

Every integer greater than 1 has exactly one prime factorization (up to the order of factors). 12 is always 2² × 3, never anything else. This uniqueness is why prime factorization is so useful — it's the number's fingerprint.

How does prime factorization help find GCD and LCM?

GCD: take each prime at its LOWEST power across both numbers. LCM: take each prime at its HIGHEST power. For 12 = 2²×3 and 18 = 2×3²: GCD = 2¹×3¹ = 6, LCM = 2²×3² = 36.

Related Math calculators

You might also like

Last updated: September 6, 2026