LCM 126, HCF 1
7 and 18 are coprime

Check1 × 126 = 126 = 7 × 18

1. Listing multiples (LCM)

Multiples of 7: 7, 14, 21, 28, 35, 42, 49, 56, 63, 70, 77, 84, 91, 98, 105, 112, 119, 126
Multiples of 18: 18, 36, 54, 72, 90, 108, 126
The first one in both lists is 126.

2. Listing factors (HCF)

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

3. Prime factors

7 = 7 and 18 = 2 × 3². The HCF multiplies the primes they share, each to its lowest power: they share none, so it's 1. The LCM multiplies every prime, each to its highest power: 2 × 3² × 7 = 126.

Euclid's method (HCF)

18 = 2 × 7 + 4; 7 = 1 × 4 + 3; 4 = 1 × 3 + 1; 3 = 3 × 1 + 0. The last number you divided by is the HCF: 1. Then LCM = 7 × 18 ÷ HCF = 126 ÷ 1 = 126.

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

126
lowest common multiple (LCM)

Highest common factor (HCF)1 (they're coprime: no common factor but 1)
By prime factors7 = 7; 18 = 2 × 3²; HCF = 1, LCM = 2 × 3² × 7
Check1 × 126 = 126 = 7 × 18

Frequently asked questions

What is the LCM of 7 and 18?

126: the smallest number that both 7 and 18 divide into exactly (126 = 7 × 18 = 18 × 7).

What is the HCF of 7 and 18?

1: the biggest number that divides both exactly. 7 and 18 have no common factor but 1, so they're coprime.

What is the GCF of 7 and 18?

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

Other pairs
Related calculators