GCF and LCM of 8 and 12

The greatest common factor and least common multiple of 8 and 12.

GCF of 8 and 12
4
LCM of 8 and 12
24
TThe Crypto Tools69+ free crypto calculators — profit, fees, DCA and more.Our networkVisit →

How it works

Break each number into its prime factors:

  • 8 =
  • 12 = 2² × 3

The GCF (4) multiplies the primes both share, at the lowest power each appears. The LCM (24) multiplies every prime that appears in either number, at the highest power — which is also 8 × 12 ÷ 4 = 24.

Try other numbers

Need a different pair? The LCM & GCF calculator computes the GCF and LCM for any two numbers.

Related pairs

Frequently asked questions

What is the GCF of 8 and 12?+

The greatest common factor (GCF) of 8 and 12 is 4 — the largest number that divides both 8 and 12 with no remainder.

What is the LCM of 8 and 12?+

The least common multiple (LCM) of 8 and 12 is 24 — the smallest number that both 8 and 12 divide into. It equals 8 × 12 ÷ GCF = 96 ÷ 4 = 24.