Skip to content

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.

Start at chapter 1

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

  1. Step 01Start with 11 × 18

    Every number is 1 × itself. Write 1 on the left and 18 on the right.

  2. Step 02Try 22 × 9

    18 ÷ 2 = 9 exactly, so 2 and 9 are both factors.

  3. Step 03Try 33 × 6

    18 ÷ 3 = 6 exactly, so 3 and 6 are both factors.

  4. Step 04Try 4 and 5no

    18 ÷ 4 and 18 ÷ 5 leave remainders, so neither is a factor.

  5. 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.

  6. Step 06Read the list6 factors

    Factors of 18: 1, 2, 3, 6, 9, 18.

TableFactors of some everyday numbers (each list found with the pairs method)
NumberFactorsHow many
81, 2, 4, 84
121, 2, 3, 4, 6, 126
151, 3, 5, 154
181, 2, 3, 6, 9, 186
201, 2, 4, 5, 10, 206
241, 2, 3, 4, 6, 8, 12, 248
301, 2, 3, 5, 6, 10, 15, 308
361, 2, 3, 4, 6, 9, 12, 18, 369

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.

TableCircle the shared factors: 12 and 18
FactorDivides 12?Divides 18?Common?
1yesyesyes
2yesyesyes
3yesyesyes
4yesno
6yesyesyes
9noyes
12yesno
18noyes

Lab

List the factors of two numbers, spot the ones they share, and pick out the highest common factor.

Numbers: 12 and 18

HCF6= 2 × 3
LCM36= 2² × 3²

Magic check: HCF × LCM = 6 × 36 = 216, and 12 × 18 = 216. ✓ Same! This always works for two numbers.

Factors

Factors of 12:1 (common)2 (common)3 (common)46HCF12
Factors of 18:1 (common)2 (common)3 (common)6HCF918

Common factors: 1, 2, 3, 6 (marked ✓). The highest is 6, the HCF.

Multiples

Multiples of 12:122436LCM
Multiples of 18:1836LCM

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.

Need a different angle?

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 shown

Packing 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?

Need a different angle?

Predict first

Back to Puzzle 1. The courtyard is 240 cm × 180 cm. Which is the largest square tile that fits exactly, with no cutting?

Worked example

0 / 4 steps shown

Cutting 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

students

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.

TableFactors and multiples: the same fact, seen from two ends
CompareFactors of a numberMultiples of a number
DirectionGo into the numberThe number goes into them
Example for 121, 2, 3, 4, 6, 1212, 24, 36, 48, 60, …
How many?A limited, countable listNever ends
SmallestAlways 1The number itself
BiggestThe number itselfNone: they go on for ever

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.

Round 1 / 10★ 0 ptsBest: 0

Numbers: 2 and 3

Predict first! What is the HCF (highest common factor) and the LCM (lowest common multiple) of 2 and 3?

Tip: the HCF can't be bigger than the smallest number, and the LCM can't be smaller than the biggest.

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…

Need a different angle?

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 shown

Solving 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 shown

Two 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

Two school bells are tested together at 9:00. One rings every 6 minutes, the other every 9 minutes. When do they next ring together?

Try it

minutes

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.

TableHCF and LCM side by side (every value checked by computer)
NumbersHCFLCMSense check
4 and 62122 ≤ 4 and 12 ≥ 6 ✓
12 and 186366 ≤ 12 and 36 ≥ 18 ✓
8 and 124244 ≤ 8 and 24 ≥ 12 ✓
5 and 71351 ≤ 5 and 35 ≥ 7 ✓
6 and 126126 ≤ 6 and 12 ≥ 12 ✓
9 and 153453 ≤ 9 and 45 ≥ 15 ✓
10 and 255505 ≤ 10 and 50 ≥ 25 ✓

Predict first

Without listing anything, what are the HCF and LCM of 8 and 9?

Try it

Priya says the HCF of 20 and 30 is 60. Without calculating, how can you tell she is wrong?

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.

TableClue words and the idea behind them
Clue in the problemPicture it asYou need
largest tile, longest piece, biggest boxCutting into equal piecesHCF
greatest number of identical groupsSharing everything outHCF
maximum students in each rowArranging in equal rowsHCF
ring together, flash together, meet againCycles lining upLCM
smallest number divisible by …First shared stop on the trailsLCM
least number of sweets that can be shared equally among 4, 6 or 8 childrenA number every group size dividesLCM

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.

Need a different angle?

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.

  1. Room 240 cm × 180 cm
  2. Tile must fit both sides
  3. Common factor
  4. Largest = HCF
  5. 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 shown

Diyas 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 shown

Dhol 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 shown

An 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

seconds

Try it

mangoes

Try it

Which of these is an LCM problem?

TableA quick reference for small pairs (all computed)
PairCommon factorsHCFFirst three common multiplesLCM
2 and 3116, 12, 186
4 and 61, 2212, 24, 3612
6 and 81, 2224, 48, 7224
6 and 91, 3318, 36, 5418
8 and 121, 2, 4424, 48, 7224
9 and 121, 3336, 72, 10836
10 and 151, 5530, 60, 9030
12 and 161, 2, 4448, 96, 14448
7 and 211, 7721, 42, 6321
5 and 81140, 80, 12040

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.

  1. Q1Which of these is not a factor of 18?
  2. Q2Which number is a multiple of 7?
  3. Q3What are the common factors of 8 and 12?
  4. Q4HCF(15, 25) = ?
  5. Q5LCM(3, 4) = ?
  6. Q6LCM(6, 4) = ?
  7. Q7You want the largest square tiles for a room 300 cm × 240 cm. Which do you find?
  8. Q8Two bells ring every 10 and 15 minutes. To find when they ring together, you find the…
  9. Q9HCF(7, 10) = ?
  10. Q10Which statement is always true for two whole numbers?

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 numbers

Prime numbers are the building blocks for the fastest HCF and LCM methods; co-primes have HCF 1.

Related to

Four operations

Finding factors and multiples is multiplication and division: HCF and LCM depend on fluent times tables.

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.

The web

Explore a connection

  • Used in

    Number and shape patterns

    Two repeating cycles line up again after their LCM — the pattern behind blinking lights and bus timetables.

  • Used in

    Shape and space

    The 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