LCM of 8 and 12

The least common multiple (LCM) of 8 and 12 is 24. Their greatest common factor (GCF) is 4.

LCM24
GCF4
Prime factors of 82^3
Prime factors of 122^2 × 3

Prime factorization method

Write each number as a product of primes: 8 = 2^3 and 12 = 2^2 × 3. The LCM takes every prime with its highest power, which gives 24. The GCF takes only the shared primes with their lowest power, which gives 4.

Check with the formula

For two numbers, LCM × GCF = a × b. Here 24 × 4 = 96, and 8 × 12 = 96, so the answer is correct.

Multiples of 8 and 12

Multiples of 8: 8, 16, 24, 32, 40, 48, 56, 64 … Multiples of 12: 12, 24, 36, 48, 60, 72, 84, 96 … The first number that appears in both lists is 24.

Open the LCM & GCF Calculator

Popular calculations

Frequently asked questions

What is the LCM of 8 and 12?

The LCM of 8 and 12 is 24. It is the smallest positive number that both 8 and 12 divide into exactly.

What is the GCF of 8 and 12?

The greatest common factor of 8 and 12 is 4. It is the largest number that divides both without a remainder.

How do I find the LCM of 8 and 12 quickly?

Divide the product by the GCF: 8 × 12 = 96, and 96 ÷ 4 = 24.