HCF and LCM by prime factorisation: Class 6 practice
The HCF is the product of the prime factors two numbers share; the LCM uses every prime factor the larger number of times it appears. The quick answer and an example come first; then the method, worked examples and six graded questions.
HCF and LCM by prime factorisation: quick answer
The HCF is the product of the prime factors two numbers share; the LCM uses every prime factor the larger number of times it appears. For any two numbers, HCF × LCM = product of the numbers.
Example: Find the HCF and LCM of 15 and 20. Answer: HCF = 5, LCM = 60.
- Where it is taught: Older NCERT Class 6 chapter name.
- On this page: the method, 3 worked examples and 6 graded questions with a full answer key.
How to use this page (about 30 minutes)
- Read the method once, then cover the worked examples and try them yourself before reading the steps.
- Do the two Basic questions without notes. If either is wrong, re-read the matching worked example.
- Do the Standard and Challenge questions, then check every line of working against the answer key — not only the final answer.
- Write down the mistake behind each wrong answer and redo that question the next day.
What you should know first
- Divisibility rules for 2, 3, 5
- Recognising prime numbers
The idea behind hcf and lcm by prime factorisation
The HCF is the product of the prime factors two numbers share; the LCM uses every prime factor the larger number of times it appears. For any two numbers, HCF × LCM = product of the numbers.
Step-by-step method
- Write each number as a product of primes.
- HCF: multiply the common primes (lowest power).
- LCM: multiply every prime at its highest power.
- Check: HCF × LCM should equal the product of the two numbers.
Worked example 1 (Basic)
Find the HCF and LCM of 15 and 20.
- 15 = 3 × 5
- 20 = 2 × 2 × 5
- Common part: HCF = 5
- LCM = (15 × 20) ÷ 5 = 60
- Answer: HCF = 5, LCM = 60
Worked example 2 (Standard)
Find the HCF and LCM of 72 and 84.
- 72 = 2 × 2 × 2 × 3 × 3
- 84 = 2 × 2 × 3 × 7
- Common part: HCF = 12
- LCM = (72 × 84) ÷ 12 = 504
- Answer: HCF = 12, LCM = 504
Worked example 3 (Challenge)
Find the HCF and LCM of 90 and 108.
- 90 = 2 × 3 × 3 × 5
- 108 = 2 × 2 × 3 × 3 × 3
- Common part: HCF = 18
- LCM = (90 × 108) ÷ 18 = 540
- Answer: HCF = 18, LCM = 540
Common mistakes and misconceptions
- Adding factors instead of multiplying them
- Using the HCF where a question about 'smallest common multiple' needs the LCM
Practice questions
- (Basic) Find the HCF and LCM of 6 and 21.
- (Basic) Find the HCF and LCM of 25 and 10.
- (Standard) Find the HCF and LCM of 16 and 40.
- (Standard) Find the HCF and LCM of 32 and 40.
- (Challenge) Find the HCF and LCM of 126 and 162.
- (Challenge) Find the HCF and LCM of 105 and 120.
Answer key with full working
- Q1: 6 = 2 × 3 → 21 = 3 × 7 → Common part: HCF = 3 → LCM = (6 × 21) ÷ 3 = 42 → Answer: HCF = 3, LCM = 42
- Q2: 25 = 5 × 5 → 10 = 2 × 5 → Common part: HCF = 5 → LCM = (25 × 10) ÷ 5 = 50 → Answer: HCF = 5, LCM = 50
- Q3: 16 = 2 × 2 × 2 × 2 → 40 = 2 × 2 × 2 × 5 → Common part: HCF = 8 → LCM = (16 × 40) ÷ 8 = 80 → Answer: HCF = 8, LCM = 80
- Q4: 32 = 2 × 2 × 2 × 2 × 2 → 40 = 2 × 2 × 2 × 5 → Common part: HCF = 8 → LCM = (32 × 40) ÷ 8 = 160 → Answer: HCF = 8, LCM = 160
- Q5: 126 = 2 × 3 × 3 × 7 → 162 = 2 × 3 × 3 × 3 × 3 → Common part: HCF = 18 → LCM = (126 × 162) ÷ 18 = 1134 → Answer: HCF = 18, LCM = 1134
- Q6: 105 = 3 × 5 × 7 → 120 = 2 × 2 × 2 × 3 × 5 → Common part: HCF = 15 → LCM = (105 × 120) ÷ 15 = 840 → Answer: HCF = 15, LCM = 840
Which textbook this practice follows
NCERT's newer Class 6–8 Maths books (Ganita Prakash) organise topics under different chapter names. This page uses the earlier chapter name "Playing with Numbers", which many ICSE, state-board and private-publisher books still use. Check your child's own textbook for where this topic sits.
Answers on this page are generated and automatically re-checked by a second, independent calculation. They have not been reviewed by a teacher — if you spot a problem, tell us on WhatsApp.
Still stuck after the answer key?
If the same step in hcf and lcm by prime factorisation keeps going wrong, a short live 1 on 1 class can find the exact gap. The first demo class is free; send the class, board and chapter on WhatsApp (+91 9379416374).
Related practice and notes
- Playing with Numbers chapter notes (Class 6)
- Prime and composite numbers
- Divisibility rules for 3, 4, 9 and 11
- HCF and LCM word problems
- LCM and HCF of three numbers
- Adding and subtracting unlike fractions
- Unitary method word problems
- Perimeter and area of rectangles
- Indian and international place value
- All Class 6 practice
More Class 6 Maths practice
Continue with this syllabus
Frequently asked questions
Which chapter is hcf and lcm by prime factorisation in?
NCERT's newer Class 6–8 Maths books (Ganita Prakash) organise topics under different chapter names. This page uses the earlier chapter name "Playing with Numbers", which many ICSE, state-board and private-publisher books still use. Check your child's own textbook for where this topic sits.
Which question should I start with?
Start with the Basic questions. Move to Standard only when both Basic answers match the key with the same working; the Challenge questions combine this skill with earlier ones.
How were the answers checked?
Answers on this page are generated and automatically re-checked by a second, independent calculation. They have not been reviewed by a teacher — if you spot a problem, tell us on WhatsApp.
Is this only for CBSE?
The skill names follow NCERT/CBSE, but the method is the same for ICSE, state boards, IGCSE and IB. Only the chapter name and order differ.
Can I get live help with this topic?
Yes. RG's E-Learning teaches live 1 on 1 online classes; the first demo class is free and fees are shared after it.