Skip to content

Prime Factorization Calculator

Break a number into primes, with a factor tree and every division.

  • 100% Free
  • Instant Results
  • No Sign Up

Prime Factorization Calculator

Prime factors with a factor tree

Prime factorization of 360

2³ × 3² × 5

2 × 2 × 2 × 3 × 3 × 5

Prime?
No, composite
Distinct prime factors
2, 3, 5
Number of prime factors (with repeats)
6
Number of divisors
24

How it was calculated

  1. Factor tree: 360 ├─ 2 └─ 180 ├─ 2 └─ 90 ├─ 2 └─ 45 ├─ 3 └─ 15 ├─ 3 └─ 5
  2. Division ladder (divide by the smallest prime each time):
  3. 360 ÷ 2 = 180
  4. 180 ÷ 2 = 90
  5. 90 ÷ 2 = 45
  6. 45 ÷ 3 = 15
  7. 15 ÷ 3 = 5
  8. 5 ÷ 5 = 1
  9. 360 = 2 × 2 × 2 × 3 × 3 × 5 = 2³ × 3² × 5

More Math Calculators

View all calculators

Every calculator you need.

Free, fast, and easy to use.

Browse all 204 calculators
Calculators
204+
Free to use
100%
Results as you type
Instant

How the prime factorization calculator works

Every whole number above 1 is either prime or can be written as a product of primes in exactly one way (the fundamental theorem of arithmetic). That product is its prime factorization: 360 = 2³ × 3² × 5.

To find it, divide by the smallest prime that goes in evenly (2, then 3, 5, 7, ...) and keep dividing the result until you reach 1. The factor tree shows the same process as branches, and you only need to test primes up to the square root of what's left.

Prime factorizations make it easy to find the GCF, the LCM, the number of divisors, and to simplify roots.

Using and checking your result

Published by JustYourCalculator. Check the units and assumptions above, and compare a known example before relying on the output. Calculations use browser arithmetic and may round displayed values.

Share links may contain your input values. Anyone with the URL can read them; avoid sharing sensitive personal or financial information.

Frequently asked questions