Back to Prime Factorization Calculator

How to Use: Prime Factorization Calculator

Open the app

Prime Factorization, LCM & GCD breaks numbers into prime factors with the division ladder and uses the factors to find the least common multiple and greatest common divisor.

Division ladder for 12, 18 and 30
The ladder for 12, 18 and 30 with LCM = 180 and GCD = 6

How to use it

  1. Type the numbers in Numbers, separated by spaces or commas, e.g. 12 18 30. One number gives its factorization; two or more give LCM and GCD as well.
  2. Follow the ladder. Each row divides by the prime on the right. Numbers divisible by that prime are written in bold and divided; the others are copied down unchanged. The ladder ends when every number has become 1.
  3. Read the factorizations in power form for each number.
  4. Read LCM and GCD. The cards at the top give the values; the explanation below shows which prime powers were taken.
  5. Check coprime pairs – pairs whose GCD is 1.
  6. Press Copy results to copy the factorizations, LCM and GCD as text.
Factorizations, LCM, GCD and coprime pairs
Results below the ladder
Tip: the example chips load classic exercises: two numbers, three numbers, a classic LCM exercise, coprime numbers, a single number and bigger numbers.