LCM 36, HCF 6
of 12 and 18

Check6 × 36 = 216 = 12 × 18

1. Listing multiples (LCM)

Multiples of 12: 12, 24, 36
Multiples of 18: 18, 36
The first one in both lists is 36.

2. Listing factors (HCF)

Factors of 12: 1, 2, 3, 4, 6, 12
Factors of 18: 1, 2, 3, 6, 9, 18
Common factors: 1, 2, 3, 6, so the highest is 6.

3. Prime factors

12 = 2² × 3 and 18 = 2 × 3². The HCF multiplies the primes they share, each to its lowest power: 2 × 3 = 6. The LCM multiplies every prime, each to its highest power: 2² × 3² = 36.

Euclid's method (HCF)

18 = 1 × 12 + 6; 12 = 2 × 6 + 0. The last number you divided by is the HCF: 6. Then LCM = 12 × 18 ÷ HCF = 216 ÷ 6 = 36.

Two or more numbers. The HCF is also called the GCF (greatest common factor) or GCD (greatest common divisor).

36
lowest common multiple (LCM)

Highest common factor (HCF)6
By prime factors12 = 2² × 3; 18 = 2 × 3²; HCF = 2 × 3, LCM = 2² × 3²
Check6 × 36 = 216 = 12 × 18

Frequently asked questions

What is the LCM of 12 and 18?

36: the smallest number that both 12 and 18 divide into exactly (36 = 12 × 3 = 18 × 2).

What is the HCF of 12 and 18?

6: the biggest number that divides both exactly.

What is the GCF of 12 and 18?

6. The greatest common factor (GCF) is the same as the highest common factor (HCF).

Other pairs
Related calculators