GCF and LCM of 12 and 18

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

GCF of 12 and 18
6
LCM of 12 and 18
36
TThe Crypto Tools69+ free crypto calculators — profit, fees, DCA and more.Our networkVisit →

How it works

Break each number into its prime factors:

  • 12 = 2² × 3
  • 18 = 2 × 3²

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

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 12 and 18?+

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

What is the LCM of 12 and 18?+

The least common multiple (LCM) of 12 and 18 is 36 — the smallest number that both 12 and 18 divide into. It equals 12 × 18 ÷ GCF = 216 ÷ 6 = 36.