LCM 90, HCF 1
5 and 18 are coprime

Check1 × 90 = 90 = 5 × 18

1. Listing multiples (LCM)

Multiples of 5: 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60, 65, 70, 75, 80, 85, 90
Multiples of 18: 18, 36, 54, 72, 90
The first one in both lists is 90.

2. Listing factors (HCF)

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

3. Prime factors

5 = 5 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² × 5 = 90.

Euclid's method (HCF)

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

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

90
lowest common multiple (LCM)

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

Frequently asked questions

What is the LCM of 5 and 18?

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

What is the HCF of 5 and 18?

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

What is the GCF of 5 and 18?

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

Other pairs
Related calculators