HCF and LCMDiscoverabout 35 min
Sharing and meeting: meet the HCF and LCM
The biggest equal pieces and the next time things line up
Start from two puzzles, the biggest tile for a courtyard and the next time two lights flash together, and discover factors, multiples, common factors, common multiples, the HCF and the LCM, and how to tell which one a problem needs.
In this part you’ll
- List the factors of a number using pairs, and the multiples of a number by skip-counting.
- Find common factors and the HCF of two numbers by listing.
- Find common multiples and the LCM of two numbers by listing.
- Decide whether a real problem is about sharing (HCF) or meeting again (LCM).
- Use the sense check HCF ≤ each number ≤ LCM to catch mistakes.
Here are two puzzles that look completely different.
Puzzle 1. Meera's grandmother wants to tile a courtyard that is 240 cm long and 180 cm wide with square tiles, all the same size, with no cutting and no gaps. She wants the tiles to be as big as possible, so there are fewer joins to clean. How big should each tile be?
Puzzle 2. At Diwali, two strings of lights are switched on at the same moment. One string flashes every 4 seconds, the other every 6 seconds. After how many seconds do they flash together again?
The first puzzle is about cutting something into equal pieces. The second is about two repeating things meeting again. By the end of this layer you will be able to solve both in your head, and you will know the two special numbers hiding inside them: the HCF and the LCM.
- HCF
- Share / cutHighest Common Factor: the biggest number that divides two numbers exactly. Used when you split things into the largest equal parts.
- LCM
- Meet / matchLowest Common Multiple: the smallest number that two numbers both divide into. Used when repeating things line up again.
- Built from
- FactorsHCF is built from factors: the numbers that go into a number.
- Built from
- MultiplesLCM is built from multiples: the numbers a number goes into (its times table).
Chapter 01
Factors: the numbers that fit exactly
Take 12 marbles. Can you put them into equal rows with none left over?
- 1 row of 12 ✓
- 2 rows of 6 ✓
- 3 rows of 4 ✓
- 4 rows of 3 ✓
- 6 rows of 2 ✓
- 12 rows of 1 ✓
- 5 rows? 12 ÷ 5 = 2 remainder 2. ✗ Two marbles are left over.
The numbers that worked, 1, 2, 3, 4, 6, 12, are the factors of 12. A factor of a number divides it exactly, with no remainder.
Notice they came in pairs: 1 and 12, 2 and 6, 3 and 4. Each pair multiplies to 12. That pairing trick is the fastest way to list factors without missing any.
Listing factors without missing any: the pairs method
- Step 01Start with 11 × 18
Every number is 1 × itself. Write 1 on the left and 18 on the right.
- Step 02Try 22 × 9
18 ÷ 2 = 9 exactly, so 2 and 9 are both factors.
- Step 03Try 33 × 6
18 ÷ 3 = 6 exactly, so 3 and 6 are both factors.
- Step 04Try 4 and 5no
18 ÷ 4 and 18 ÷ 5 leave remainders, so neither is a factor.
- Step 05Stop when you meet6 already found
The next number to try is 6, which is already on the right. The pairs have met in the middle, so you are done.
- Step 06Read the list6 factors
Factors of 18: 1, 2, 3, 6, 9, 18.
| Number | Factors | How many |
|---|---|---|
| 8 | 1, 2, 4, 8 | 4 |
| 12 | 1, 2, 3, 4, 6, 12 | 6 |
| 15 | 1, 3, 5, 15 | 4 |
| 18 | 1, 2, 3, 6, 9, 18 | 6 |
| 20 | 1, 2, 4, 5, 10, 20 | 6 |
| 24 | 1, 2, 3, 4, 6, 8, 12, 24 | 8 |
| 30 | 1, 2, 3, 5, 6, 10, 15, 30 | 8 |
| 36 | 1, 2, 3, 4, 6, 9, 12, 18, 36 | 9 |
Try it
Chapter 02
Common factors and the Highest Common Factor
Now take two numbers, 12 and 18, and write their factors side by side.
- Factors of 12: 1, 2, 3, 4, 6, 12
- Factors of 18: 1, 2, 3, 6, 9, 18
Some numbers appear in both lists: 1, 2, 3, 6. These are the common factors of 12 and 18. "Common" here means shared, just as a common room is a room everyone shares.
The highest (biggest) of the common factors is 6. It is called the Highest Common Factor, or HCF, of 12 and 18.
We write this as HCF(12, 18) = 6.
| Factor | Divides 12? | Divides 18? | Common? |
|---|---|---|---|
| 1 | yes | yes | yes |
| 2 | yes | yes | yes |
| 3 | yes | yes | yes |
| 4 | yes | no | — |
| 6 | yes | yes | yes |
| 9 | no | yes | — |
| 12 | yes | no | — |
| 18 | no | yes | — |
Lab
List the factors of two numbers, spot the ones they share, and pick out the highest common factor.
Numbers: 12 and 18
Magic check: HCF × LCM = 6 × 36 = 216, and 12 × 18 = 216. ✓ Same! This always works for two numbers.
Factors
Common factors: 1, 2, 3, 6 (marked ✓). The highest is 6, the HCF.
Multiples
The first number in every list is 36: that's the LCM (lowest common multiple).
Text version of this activity
This lab shows two factor lists side by side and lights up the factors that appear in both.
- 12 and 18: factors of 12 are 1, 2, 3, 4, 6, 12; of 18 are 1, 2, 3, 6, 9, 18. Shared: 1, 2, 3, 6. HCF = 6.
- 8 and 12: factors of 8 are 1, 2, 4, 8; of 12 are 1, 2, 3, 4, 6, 12. Shared: 1, 2, 4. HCF = 4.
- 16 and 24: shared factors 1, 2, 4, 8. HCF = 8.
- 15 and 25: shared factors 1, 5. HCF = 5.
- 9 and 14: factors of 9 are 1, 3, 9; of 14 are 1, 2, 7, 14. The only shared factor is 1, so HCF = 1.
What to notice: 1 is always a common factor. Every other common factor is also a factor of the HCF. For 12 and 18, the common factors 1, 2, 3 and 6 are exactly the factors of 6.
Try it
Chapter 03
Using the HCF: sharing and cutting
The HCF appears whenever you want to split things into equal groups or equal pieces, as big as possible, with nothing left over.
The key words are largest, greatest, maximum, longest, as many as possible (identical groups), and a feeling of cutting, dividing, sharing or packing. The answer is always smaller than or equal to the numbers you started with, because you are breaking them down.
Worked example
0 / 6 steps shownPacking sweets for a family function
A sweet shop in Jaipur has 24 laddoos and 36 barfis. The owner wants to pack them into identical boxes, each box with the same number of laddoos and the same number of barfis, with nothing left over. What is the greatest number of boxes she can make, and what goes in each box?
Predict first
Worked example
0 / 4 steps shownCutting ribbons for rakhis
Arjun has two ribbons, 18 m and 24 m long. He wants to cut both into pieces that are all the same length, as long as possible, with no ribbon wasted. How long is each piece, and how many pieces does he get?
Try it
Chapter 04
Multiples: the skip-counting trail
Now for the other idea. Count in 4s: 4, 8, 12, 16, 20, 24, 28, 32, 36, 40, … These are the multiples of 4. They are just the 4 times table, and they go on for ever.
A multiple of a number is what you get when you multiply it by 1, 2, 3, 4, and so on. So 20 is a multiple of 4 (because 4 × 5 = 20), but 22 is not.
Factors and multiples are two sides of one fact. 4 × 5 = 20 tells you that 4 and 5 are factors of 20, and that 20 is a multiple of 4 and of 5.
| Compare | Factors of a number | Multiples of a number |
|---|---|---|
| Direction | Go into the number | The number goes into them |
| Example for 12 | 1, 2, 3, 4, 6, 12 | 12, 24, 36, 48, 60, … |
| How many? | A limited, countable list | Never ends |
| Smallest | Always 1 | The number itself |
| Biggest | The number itself | None: they go on for ever |
Words to know
All maths vocabulary →Words for this chapter and the last
- factor
- A whole number that divides another whole number exactly, with no remainder.
- Example: The factors of 10 are 1, 2, 5 and 10.
- divisor
- Another word for a factor: a number that divides another exactly.
- Example: 3 is a divisor of 21.
- divisible
- A number is divisible by another if it can be divided by it with no remainder.
- Example: 36 is divisible by 9.
- multiple
- A number you get by multiplying a given number by 1, 2, 3, …
- Example: Multiples of 7: 7, 14, 21, 28, …
- common factor
- A number that is a factor of two or more numbers at once.
- Example: 3 is a common factor of 12 and 18.
- common multiple
- A number that is a multiple of two or more numbers at once.
- Example: 24 is a common multiple of 6 and 8.
- HCF
- Highest Common Factor: the greatest number that divides all the given numbers exactly.
- Example: HCF(12, 18) = 6.
- GCD / GCF
- Greatest Common Divisor / Greatest Common Factor: other names for the HCF.
- Example: GCD(8, 12) = 4.
- LCM
- Lowest (or Least) Common Multiple: the smallest number that is a multiple of all the given numbers.
- Example: LCM(4, 6) = 12.
- remainder
- What is left over after dividing as many times as possible.
- Example: 17 ÷ 5 = 3 remainder 2.
Chapter 05
Common multiples and the Lowest Common Multiple
Write the multiples of 4 and of 6 side by side:
- Multiples of 4: 4, 8, 12, 16, 20, 24, 28, 32, 36, 40, …
- Multiples of 6: 6, 12, 18, 24, 30, 36, 42, 48, …
Some numbers are on both trails: 12, 24, 36, … These are the common multiples of 4 and 6. Unlike common factors, they never run out: 12, 24, 36, 48, 60 and so on.
The lowest (smallest) common multiple is 12. It is called the Lowest Common Multiple, or LCM. We write LCM(4, 6) = 12.
Look at the list of common multiples again: 12, 24, 36, 48… They are all multiples of 12. Once you know the LCM, every other common multiple is just a multiple of it.
Lab
Watch two frogs hop along a line of stones at different step sizes and predict the first stone they both land on.
Numbers: 2 and 3
Text version of this activity
In this game two frogs start together at stone 0 on a long line of numbered stones. Each frog always takes jumps of the same size. The stones each frog lands on are the multiples of its jump size. The first stone both frogs land on is the LCM.
- Jumps of 2 and 3: frog A lands on 2, 4, 6, 8…; frog B on 3, 6, 9… First shared stone: 6.
- Jumps of 3 and 4: 3, 6, 9, 12 and 4, 8, 12. First shared stone: 12.
- Jumps of 4 and 6: 4, 8, 12 and 6, 12. First shared stone: 12, not 24.
- Jumps of 3 and 5: first shared stone 15.
- Jumps of 6 and 8: 6, 12, 18, 24 and 8, 16, 24. First shared stone: 24, not 48.
In challenge mode you predict the meeting stone before the frogs hop. After the first meeting, the frogs keep meeting at every multiple of that stone: for jumps 4 and 6, at 12, 24, 36…
Try it
Chapter 06
Using the LCM: when things meet again
The LCM appears whenever two or more repeating things start together and you want to know when they will next line up: lights flashing, bells ringing, buses leaving, runners lapping, or just the smallest number that several numbers all divide.
The key words are together again, at the same time, next, first time, smallest or least (number that…), and a feeling of repeating, cycles and meeting. The answer is always bigger than or equal to the numbers you started with, because you are waiting for both cycles to finish.
Worked example
0 / 5 steps shownSolving Puzzle 2: the Diwali lights
One string of lights flashes every 4 seconds, another every 6 seconds. They flash together at the start. When do they next flash together?
Worked example
0 / 4 steps shownTwo buses at the depot
At a bus stand in Chennai, the airport bus leaves every 15 minutes and the beach bus every 20 minutes (an imagined timetable, not a real one). Both leave together at 8:00 a.m. When do they next leave together?
Predict first
Try it
Chapter 07
HCF is small, LCM is big
Put the two answers for 12 and 18 next to each other:
- HCF(12, 18) = 6. It is at most the smaller number, 12.
- LCM(12, 18) = 36. It is at least the bigger number, 18.
This gives you a quick sense check. If you are asked for an HCF and your answer is bigger than one of the numbers, something went wrong. If you are asked for an LCM and your answer is smaller than one of the numbers, something went wrong.
The HCF divides each number. Each number divides the LCM. So the HCF always sits at the bottom and the LCM at the top, with the numbers themselves in between.
| Numbers | HCF | LCM | Sense check |
|---|---|---|---|
| 4 and 6 | 2 | 12 | 2 ≤ 4 and 12 ≥ 6 ✓ |
| 12 and 18 | 6 | 36 | 6 ≤ 12 and 36 ≥ 18 ✓ |
| 8 and 12 | 4 | 24 | 4 ≤ 8 and 24 ≥ 12 ✓ |
| 5 and 7 | 1 | 35 | 1 ≤ 5 and 35 ≥ 7 ✓ |
| 6 and 12 | 6 | 12 | 6 ≤ 6 and 12 ≥ 12 ✓ |
| 9 and 15 | 3 | 45 | 3 ≤ 9 and 45 ≥ 15 ✓ |
| 10 and 25 | 5 | 50 | 5 ≤ 10 and 50 ≥ 25 ✓ |
Predict first
Try it
Chapter 08
Sharing or meeting? Choosing HCF or LCM
Most word problems about HCF and LCM are easy once you decide which one you need. Ask yourself one question:
Am I breaking things into equal parts, or waiting for repeating things to line up?
If you are breaking, sharing, cutting, packing or arranging into the biggest equal groups, you want the HCF. The answer will be smaller than the numbers.
If you are waiting for things to happen together, or looking for the smallest number that several numbers all divide, you want the LCM. The answer will be bigger than the numbers.
| Clue in the problem | Picture it as | You need |
|---|---|---|
| largest tile, longest piece, biggest box | Cutting into equal pieces | HCF |
| greatest number of identical groups | Sharing everything out | HCF |
| maximum students in each row | Arranging in equal rows | HCF |
| ring together, flash together, meet again | Cycles lining up | LCM |
| smallest number divisible by … | First shared stop on the trails | LCM |
| least number of sweets that can be shared equally among 4, 6 or 8 children | A number every group size divides | LCM |
Lab
Sort everyday problems into HCF problems and LCM problems by asking: am I sharing things out, or waiting for things to meet?
Is each problem about sharing into the biggest equal parts (HCF) or about things meeting again (LCM)?
10 cards, 2 bins. Tap a card, then tap its bin. You can also drag, or press a bin’s number key.
Text version of this activity
This game shows ten problem cards and two bins, "HCF problem" and "LCM problem".
HCF problems (cutting or sharing into the biggest equal parts): the largest square tile for a 240 cm × 180 cm floor (60 cm); the most identical boxes for 24 laddoos and 36 barfis (12 boxes); the longest equal pieces from 18 m and 24 m ribbons (6 m); the most students per row for 32 boys and 40 girls (8); the biggest jug measuring 12 L and 20 L exactly (4 L).
LCM problems (repeating things meeting again, or the smallest number several numbers divide): lights flashing every 4 s and 6 s (together every 12 s); buses every 15 and 20 minutes (60 minutes); the smallest number 6 and 8 both divide (24); joggers with 8- and 12-minute laps (24 minutes); bells every 6 and 9 minutes (18 minutes).
The test: HCF answers are smaller than the given numbers; LCM answers are bigger.
Chapter 09
HCF and LCM around you
Explore
Where the two ideas turn up
Pick a situation to see which idea it uses and why.
- Room 240 cm × 180 cm
- Tile must fit both sides
- Common factor
- Largest = HCF
- 60 cm tiles
HCF
Masons choose tile sizes so that whole tiles fit along the walls. A tile whose side divides both the length and the width fits without cutting; the biggest such tile is the HCF. In real homes masons also leave small gaps for grout and cut edge tiles, so the maths is the ideal version.
Lab
Match small HCF and LCM questions to their answers from memory.
Flip the cards and match each question to its answer.
12 face-down cards hide 6 pairs. Flip two at a time and remember where things are!
Text version of this activity
This memory game has twelve face-down cards: six questions and six answers. Turn two over at a time; keep them if they match.
The pairs are: HCF of 12 and 18 → 6; LCM of 4 and 6 → 12; HCF of 9 and 14 → 1 (they share no factor except 1); LCM of 3 and 5 → 15; HCF of 16 and 24 → 8; LCM of 6 and 9 → 18.
Tip: an HCF answer is never bigger than the smaller number, and an LCM answer is never smaller than the bigger number. That alone rules out many wrong matches.
Try it
Chapter 10
More sharing and meeting problems
The best way to get comfortable is to meet lots of problems. For each one below, first decide: sharing (HCF) or meeting (LCM)? Then find the answer by listing, and finally do the sense check: an HCF answer is small, an LCM answer is big.
Worked example
0 / 5 steps shownDiyas in rows for Diwali
For Diwali, Ananya has 45 red diyas and 60 yellow diyas. She wants to arrange them in rows on the steps so that every row has the same number of diyas and each row is only one colour. What is the greatest number of diyas she can put in each row, and how many rows will there be?
Worked example
0 / 4 steps shownDhol and cymbals in a Ganpati procession
In a Ganpati procession, the big dhol booms every 3 seconds and the cymbals clash every 5 seconds. They start together. After how many seconds do they sound together again? How many times do they sound together in the first minute (not counting the start)?
Worked example
0 / 4 steps shownAn over and a graphic
In a cricket match, each over has 6 balls. The TV channel shows a speed graphic every 4 balls. Counting from the first ball of the match, after how many balls does the end of an over happen at the same moment as a graphic, for the first time?
Try it
Try it
Try it
| Pair | Common factors | HCF | First three common multiples | LCM |
|---|---|---|---|---|
| 2 and 3 | 1 | 1 | 6, 12, 18 | 6 |
| 4 and 6 | 1, 2 | 2 | 12, 24, 36 | 12 |
| 6 and 8 | 1, 2 | 2 | 24, 48, 72 | 24 |
| 6 and 9 | 1, 3 | 3 | 18, 36, 54 | 18 |
| 8 and 12 | 1, 2, 4 | 4 | 24, 48, 72 | 24 |
| 9 and 12 | 1, 3 | 3 | 36, 72, 108 | 36 |
| 10 and 15 | 1, 5 | 5 | 30, 60, 90 | 30 |
| 12 and 16 | 1, 2, 4 | 4 | 48, 96, 144 | 48 |
| 7 and 21 | 1, 7 | 7 | 21, 42, 63 | 21 |
| 5 and 8 | 1 | 1 | 40, 80, 120 | 40 |
Chapter 11
Check yourself and look back
Quick check
Sharing and meeting: quick check
10 questions · answer what you can, then check. Getting one wrong is useful.
Keep this
Cheat sheet
- Factor: divides a number exactly. Factors of 12: 1, 2, 3, 4, 6, 12. Find them in pairs.
- Multiple: the number’s times table. Multiples of 4: 4, 8, 12, 16, … They never end.
- Common factors are in both factor lists; the biggest is the HCF (also called GCD or GCF). HCF(12, 18) = 6.
- Common multiples are on both multiple trails; the smallest is the LCM. LCM(4, 6) = 12.
- HCF problems: cutting, sharing, packing or arranging into the largest equal parts. The answer is small.
- LCM problems: things repeating and meeting again, or the smallest number several numbers divide. The answer is big.
- Sense check: HCF ≤ each number ≤ LCM.
- Co-primes (like 8 and 9) share only the factor 1: HCF = 1 and LCM = their product.
- Common mistake: the LCM is not always the product. LCM(4, 6) = 12, not 24.
Reflect
This stays on this page only. It isn’t saved or sent anywhere.
Helps you understand
Prime and composite numbersPrime numbers are the building blocks for the fastest HCF and LCM methods; co-primes have HCF 1.
Related to
Four operationsFinding factors and multiples is multiplication and division: HCF and LCM depend on fluent times tables.
Related to
Number and shape patternsMultiples form number patterns; common multiples repeat in a regular pattern every LCM.
Where this comes from
Sources
Ganita Prakash: Mathematics Textbook for Grade 6, Chapter 5: Prime Time (opens another website) — NCERTawaiting owner check
Supports the Class 6 syllabus treatment of factors, multiples, common factors, common multiples, co-prime numbers and prime factorisation. Note: this 2024 textbook builds the ideas but does not use the terms HCF and LCM, which now appear later in the syllabus.
Greatest Common Factor (opens another website) — Math is Funawaiting owner check
Supports the names HCF / GCF / GCD, finding the greatest common factor by listing factors and by prime factorisation, and using it to simplify fractions, with simple worked examples.
Least Common Multiple (opens another website) — Math is Funawaiting owner check
Supports the definition of multiple, common multiple and least common multiple, and finding the LCM of two or three numbers by listing multiples until the first match. (This page does not cover the prime-factorisation method or fractions.)
Factors and multiples (6th grade) (opens another website) — Khan Academyawaiting check
Intended to support practice-level explanations of GCF and LCM, including word problems that ask learners to choose between them. NOT CHECKED: khanacademy.org returns a bot-challenge page, so no agent has read the body. Open it by hand before approving.
Factors, Multiples and Primes (Age 11-16) (opens another website) — NRICH, Millennium Mathematics Project, University of Cambridgeawaiting owner check
A curated collection of problems on factors, multiples, primes, HCF and LCM for ages 11-16 (Factors and Multiples Game, LCM Sudoku, Counting Factors and others). Supports the problem-solving and 'which one does this need?' tasks in these layers.
End of Discover
What you just read
- List the factors of a number using pairs, and the multiples of a number by skip-counting.
- Find common factors and the HCF of two numbers by listing.
- Find common multiples and the LCM of two numbers by listing.
- Decide whether a real problem is about sharing (HCF) or meeting again (LCM).
- Use the sense check HCF ≤ each number ≤ LCM to catch mistakes.
- Next depthGo deeper: UnderstandHow and why it works, including common mix-ups.
- Practise79 questionsHints and a worked solution for every question — or play a 10-question round.
- TopicAll of hcf and lcmThe whole ladder, the connections and the words to know, on one page.
The web
Explore a connection
Builds on
Prime and composite numbersPrime factorisation is the fastest route to both the HCF and the LCM.
Used in
Number and shape patternsTwo repeating cycles line up again after their LCM — the pattern behind blinking lights and bus timetables.
Used in
Shape and spaceThe largest square tile that fits a rectangular floor exactly has a side equal to the HCF of its length and width.
Want to save topics or ask for new ones? Invited families can connect a learning device. Everything here stays free to read without signing in.
Revision 1 · release preview-7e1cbbcc4f · accepted 20/09/2026