Practice30.comCreate account

HCF and LCM

The HCF (highest common factor) is the largest number that divides two or more numbers exactly. The LCM (lowest common multiple) is the smallest number that all of them divide into. Prime factorisation finds both quickly.

Formulas

Prime factorisation method
For two numbers a and b

Worked examples

Example 1. Find the HCF and LCM of 12 and 18.
  1. and .
  2. HCF: lowest powers of the common primes, .
  3. LCM: highest powers of all primes, .
  4. Check: .
Answer: HCF = 6, LCM = 36
Example 2. The HCF of two numbers is 4 and their LCM is 120. One number is 24. Find the other.
  1. HCF × LCM = product of the numbers, so .
  2. .
Answer: 20
Example 3. Two bells ring every 12 minutes and every 18 minutes. They ring together at 8:00 a.m. When do they next ring together?
  1. They coincide every LCM(12, 18) minutes.
  2. LCM = 36 minutes, so the next time is 8:36 a.m.
Answer: 8:36 a.m.

Common mistakes

Practice questions with answers

1. What is the HCF of 12 and 18?
Show answer
Answer: A) 6
Factors of 12: 1,2,3,4,6,12. Factors of 18: 1,2,3,6,9,18. Common factors: 1,2,3,6. The highest is 6.
2. Three bells in a school ring at intervals of 9, 12 and 15 minutes.
They all ring together at 9:00 am.
How many times in the next 3 hours (from 9:00 am up to and including 12:00 noon) will they ring together again?
Show answer
Answer: A) 1
They ring together every LCM(9,12,15) minutes. , LCM = minutes = 3 hours. In the next 3 hours they ring together once, exactly at 12:00 noon.
3. Two numbers have HCF 11 and LCM 1694, and both numbers lie between 100 and 200.
Which pair is it?
Show answer
Answer: C) 121 and 154
Write the numbers as and with a, co-prime; LCM = gives 11. For both numbers to lie between 100 and 200, a and must lie between 10 and 18, and (a, b) = (11, 14) works, giving 121 and 154. The pair 11 and 1694 does have HCF 11 and LCM 1694 but lies outside the stated range; 132 and 143 give LCM 1716; 110 and 154 give HCF 22, not 11.
Practise 150+ questions free →

10 free questions a day without an account — unlimited with a free account.

Practice by class

Frequently asked questions

What is the difference between HCF and LCM?

The HCF is the biggest number that divides all the given numbers. The LCM is the smallest number that all of them divide into.

When do I use the LCM and when the HCF in word problems?

Use the LCM for "when will they happen together again" problems (bells, traffic lights, buses). Use the HCF for "largest equal groups or pieces" problems (cutting ropes, making equal rows).

What is the HCF of two prime numbers?

It is 1, because two different primes share no common factor other than 1.

Is there a shortcut for the LCM of two numbers?

Yes: . For 12 and 18 that is .

Related topics

Prime numbers and factorisationFractionsRatio and proportion