Skip to content

HCF and LCMUnderstandabout 45 min

Four ways to find the HCF and LCM

Listing, prime factors, long division and the ladder, and why they work

Precise definitions, then four methods: listing, prime factorisation with a Venn picture, long (continued) division for the HCF and common division for the LCM. Three numbers, the rule HCF × LCM = product, co-primes, fractions and the classic mix-ups.

Start at chapter 1

In this part you’ll

  • Find the HCF and LCM of two or three numbers by listing, prime factorisation, long division and common division.
  • Explain the prime-factor rules (smallest powers for HCF, highest powers for LCM) using a Venn diagram.
  • Use HCF × LCM = product of two numbers to find a missing number, and know why it fails for three.
  • Use the HCF to simplify fractions and the LCM to add and subtract them.
  • Spot and correct common mistakes in HCF and LCM working.

In Discover you found the HCF and LCM by listing: write out factors or multiples and look for the ones that match. That works well for small numbers. But try listing the multiples of 84 and 126 until they meet, or all the factors of 1,080, and you will soon want something better.

This layer gives you four methods and the reasons they work:

  1. Listing factors or multiples: good for small numbers and for seeing the idea.
  2. Prime factorisation, with a Venn diagram in your head: the method that shows why.
  3. Long division (continued division) for the HCF: fast for big numbers.
  4. Common division (the ladder) for the LCM: tidy for three or more numbers.

Along the way you will meet three facts that make HCF and LCM problems much quicker, the classic mix-ups, and the place where all this matters most in school maths: fractions.

Chapter 01

Precise definitions and notation

Read those definitions slowly, because every word matters.

  • "Each" means all of them. A common factor of 12, 18 and 20 must divide all three. 3 divides 12 and 18 but not 20, so it is not a common factor of the three.
  • "Exactly" means remainder 0.
  • "Positive" in the LCM rules out 0, which is a multiple of every number.
  • "Divides" has a direction. "4 divides 12" means 12 ÷ 4 is exact. We sometimes write this as 4 | 12, read "4 divides 12". So HCF(a, b) | a, HCF(a, b) | b, a | LCM(a, b) and b | LCM(a, b).

The order of the numbers never matters: HCF(12, 18) = HCF(18, 12), and the same for LCM.

Vocabulary for the methods

prime number
A whole number greater than 1 with exactly two factors: 1 and itself.
Example: 2, 3, 5, 7, 11, 13, …
composite number
A whole number greater than 1 with more than two factors.
Example: 4, 6, 8, 9, 10, 12, …
prime factor
A factor of a number that is itself prime.
Example: The prime factors of 12 are 2 and 3.
prime factorisation
Writing a number as a product of primes only.
Example: 60 = 2 × 2 × 3 × 5
index form
Prime factorisation written with powers (indices) for repeated primes.
Example: 60 = 2² × 3 × 5
power / index / exponent
The small raised number saying how many times a factor is repeated.
Example: In 2³ the index is 3: 2 × 2 × 2.
factor tree
A branching diagram that splits a number into factor pairs until every branch ends in a prime.
Example: 36 → 6 × 6 → 2 × 3 × 2 × 3
co-prime (relatively prime)
Two numbers whose only common factor is 1, so their HCF is 1.
Example: 8 and 15 are co-prime.
dividend, divisor, quotient, remainder
In 38 ÷ 5 = 7 remainder 3: 38 is the dividend, 5 the divisor, 7 the quotient, 3 the remainder.
Example: 38 = 5 × 7 + 3
continued division
The long division method for HCF: divide, then divide the divisor by the remainder, again and again, until the remainder is 0.
Example: HCF(252, 198) = 18
common division (ladder)
The LCM method that divides all the numbers together by primes, row by row.
Example: LCM(12, 18, 30) = 180
Venn diagram
Overlapping circles showing what two groups share; here, shared prime factors go in the overlap.
Example: HCF = product of the overlap

Chapter 02

Method 1: listing, and where it runs out

Worked example

0 / 5 steps shown

HCF and LCM of 20 and 30 by listing

Find HCF(20, 30) and LCM(20, 30) by listing.

Need a different angle?

Listing has two weaknesses.

  • It gets slow. LCM(84, 126) = 252. Counting in 126s, you need 2 tries, which is fine. But LCM(84, 125) = 10500: you would need 84 multiples of 125 before one works!
  • It is easy to miss a factor. 360 has 24 factors. Miss one and you might miss the HCF.

The next methods build the answer directly, instead of searching for it.

Chapter 03

Prime factorisation: every number’s recipe

Every whole number bigger than 1 is either prime or can be built by multiplying primes. Its prime factorisation is its recipe:

  • 36 = 2 × 2 × 3 × 3 = 2² × 3²
  • 48 = 2 × 2 × 2 × 2 × 3 = 2⁴ × 3
  • 60 = 2 × 2 × 3 × 5 = 2² × 3 × 5
  • 84 = 2 × 2 × 3 × 7 = 2² × 3 × 7

However you split a number, you always end up with the same primes the same number of times. (Split 36 as 4 × 9 or as 6 × 6 or as 2 × 18: you always reach two 2s and two 3s.) This fact, that the recipe is unique, is called the Fundamental Theorem of Arithmetic. It is the reason the prime-factor method for HCF and LCM works, and the Deepen layer explains why it is true.

Lab

Build factor trees and write each number’s prime factorisation in index form, ready for HCF and LCM.

Round 1 / 8★ 0 ptsBest: 0
36

Key: double green ring = prime leaf · dashed = still to do · thick amber ring = the branch you’re working on.

Choose two numbers that multiply to make 36.

Split 36 into a factor pair:

Wrong tries on this tree: 0

Text version of this activity

In this lab you split a number into two factors, then split each factor again, until every branch ends in a prime. The primes at the ends of the branches, multiplied together, give the prime factorisation.

The numbers and their factorisations:

  • 36 = 2 × 2 × 3 × 3 = 2² × 3²
  • 48 = 2 × 2 × 2 × 2 × 3 = 2⁴ × 3
  • 60 = 2 × 2 × 3 × 5 = 2² × 3 × 5
  • 84 = 2 × 2 × 3 × 7 = 2² × 3 × 7
  • 72 = 2 × 2 × 2 × 3 × 3 = 2³ × 3²
  • 120 = 2 × 2 × 2 × 3 × 5 = 2³ × 3 × 5
  • 180 = 2 × 2 × 3 × 3 × 5 = 2² × 3² × 5
  • 252 = 2 × 2 × 3 × 3 × 7 = 2² × 3² × 7

Try splitting 72 two different ways, say 8 × 9 and 6 × 12. The trees look different, but the ends are always three 2s and two 3s.

Need a different angle?
Long form
2 × 2 × 2 × 3 × 3Every prime written out: good for Venn diagrams.
Index form
2³ × 3²Repeated primes as powers: good for comparing powers quickly.
Value
72Both are recipes for the same number: 8 × 9 = 72.
Divisibility
d | 72A number divides 72 only if its recipe uses at most three 2s, at most two 3s, and no other prime.

Chapter 04

HCF by prime factorisation: the shared primes

A common factor of 36 and 48 must be made only from primes that both recipes contain, and it cannot use any prime more times than either recipe has it.

  • 36 = 2 × 2 × 3 × 3
  • 48 = 2 × 2 × 2 × 2 × 3

Pair up the primes they share: two 2s are in both (36 has only two), and one 3 is in both (48 has only one). The shared primes are 2 × 2 × 3, and their product is 12. That is the HCF.

In index form: 36 = 2² × 3² and 48 = 2⁴ × 3. Take each common prime with its smaller power: 2² × 3¹ = 12.

Lab

Drop each prime factor into the right part of a Venn diagram, then read the HCF from the overlap and the LCM from the whole picture.

Round 1 / 10★ 0 ptsBest: 0

Numbers: 36 and 48

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

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

This lab draws two overlapping circles and places each number’s prime factors in them. Shared primes go in the overlap. The HCF is the product of the overlap; the LCM is the product of every prime in the picture.

  • 36 and 48: 36 = 2² × 3², 48 = 2⁴ × 3. Overlap: 2 × 2 × 3; only 36: 3; only 48: 2 × 2. HCF = 12, LCM = 144.
  • 60 and 84: 60 = 2² × 3 × 5, 84 = 2² × 3 × 7. Overlap: 2 × 2 × 3; only 60: 5; only 84: 7. HCF = 12, LCM = 420.
  • 72 and 120: 72 = 2³ × 3², 120 = 2³ × 3 × 5. Overlap: 2 × 2 × 2 × 3; only 72: 3; only 120: 5. HCF = 24, LCM = 360.
  • 45 and 75: 45 = 3² × 5, 75 = 3 × 5². Overlap: 3 × 5; only 45: 3; only 75: 5. HCF = 15, LCM = 225.
  • 28 and 45: 28 = 2² × 7, 45 = 3² × 5. Overlap: (nothing); only 28: 2 × 2 × 7; only 45: 3 × 3 × 5. HCF = 1, LCM = 1260.

For 28 and 45 the overlap is empty: they are co-prime, the HCF is 1 and the LCM is 28 × 45 = 1,260. In challenge mode you predict the HCF and LCM before the primes are placed.

Need a different angle?

Worked example

0 / 6 steps shown

HCF of 60 and 84 by prime factorisation

Find HCF(60, 84) using prime factorisation.

Try it

Chapter 05

LCM by prime factorisation: every prime, enough times

A common multiple of 36 and 48 must contain the recipe of 36 and contain the recipe of 48. So it needs every prime that appears in either number, each as many times as the greedier number needs it.

  • 36 needs two 2s and two 3s.
  • 48 needs four 2s and one 3.

The smallest recipe that satisfies both needs four 2s and two 3s: 2⁴ × 3² = 144. That is the LCM.

Rule: LCM = every prime that appears, each with its highest power.

TableThe two prime-factor rules side by side
Numbers (index form)HCF: common primes, smallest powersLCM: all primes, highest powers
36 = 2² × 3²; 48 = 2⁴ × 32² × 3 = 122⁴ × 3² = 144
60 = 2² × 3 × 5; 84 = 2² × 3 × 72² × 3 = 122² × 3 × 5 × 7 = 420
72 = 2³ × 3²; 120 = 2³ × 3 × 52³ × 3 = 242³ × 3² × 5 = 360
45 = 3² × 5; 75 = 3 × 5²3 × 5 = 153² × 5² = 225
28 = 2² × 7; 45 = 3² × 51 = 12² × 3² × 5 × 7 = 1,260
96 = 2⁵ × 3; 180 = 2² × 3² × 52² × 3 = 122⁵ × 3² × 5 = 1,440

Worked example

0 / 5 steps shown

LCM of 72 and 120 by prime factorisation

Find LCM(72, 120).

Try it

Chapter 06

Method 3: long division for the HCF

For big numbers, factorising can be hard. Try factorising 391 quickly! The long division method (also called continued division, or Euclid’s algorithm) avoids factorising altogether.

The rule:

  1. Divide the bigger number by the smaller one.
  2. If the remainder is 0, the divisor is the HCF. Stop.
  3. Otherwise, make the old divisor the new dividend and the remainder the new divisor. Go back to step 1.

The last non-zero remainder, which is the last divisor, is the HCF.

Why on earth should this work? Here is the short version: any number that divides both 252 and 198 also divides their difference, and so it also divides the remainder 252 − 198 = 54. So the pair (252, 198) has exactly the same common factors as the pair (198, 54), and the numbers keep shrinking until the answer is obvious. The Deepen layer turns this into a proper argument.

Worked example

0 / 5 steps shown

HCF of 252 and 198 by long division

Find HCF(252, 198) by the continued division method.

Need a different angle?

How the working looks on paper

  1. Step 01Set up198 ) 252 ( 1

    Write the divisor 198 outside and the dividend 252 inside. 198 goes into 252 once.

  2. Step 02Subtract252 − 198 = 54

    Write 198 under 252 and subtract. The remainder is 54.

  3. Step 03Shift54 ) 198 ( 3

    The remainder 54 becomes the new divisor; the old divisor 198 becomes the dividend. 54 × 3 = 162.

  4. Step 04Subtract198 − 162 = 36

    Remainder 36. Shift again: 36 ) 54 ( 1.

  5. Step 05Subtract54 − 36 = 18

    Remainder 18. Shift again: 18 ) 36 ( 2.

  6. Step 06Finish36 − 36 = 0

    Remainder 0. The last divisor, 18, is the HCF.

Lab

Step through long division for the HCF and the common division ladder for the LCM, one row at a time.

Round 1 / 10★ 0 ptsBest: 0

Numbers: 252 and 198

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

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

This lab shows the division methods one row at a time.

Long division for the HCF:

  • HCF(252, 198): 252 = 198 × 1 + 54; 198 = 54 × 3 + 36; 54 = 36 × 1 + 18; 36 = 18 × 2 + 0. HCF = 18.
  • HCF(84, 126): 126 = 84 × 1 + 42; 84 = 42 × 2 + 0. HCF = 42.
  • HCF(391, 544): 544 = 391 × 1 + 153; 391 = 153 × 2 + 85; 153 = 85 × 1 + 68; 85 = 68 × 1 + 17; 68 = 17 × 4 + 0. HCF = 17.

Common division ladder for the LCM:

  • LCM(12, 18, 30): ÷ 2 → 6, 9, 15; ÷ 3 → 2, 3, 5. LCM = 2 × 3 × 2 × 3 × 5 = 180.
  • LCM(16, 24, 40): ÷ 2 → 8, 12, 20; ÷ 2 → 4, 6, 10; ÷ 2 → 2, 3, 5. LCM = 2 × 2 × 2 × 2 × 3 × 5 = 240.

Notice 391 and 544: neither is easy to factorise in your head, but three divisions show their HCF is 17 (391 = 17 × 23 and 544 = 2⁵ × 17).

Need a different angle?

Try it

Chapter 07

Method 4: common division (the ladder) for the LCM

The common division method finds the LCM of several numbers at once. Write the numbers in a row. Divide by a prime that divides at least two of them. Numbers it divides are replaced by the quotient; numbers it does not divide are brought down unchanged. Repeat until no prime divides two of the numbers in the row.

The LCM is the product of all the divisors on the left and all the numbers left in the bottom row.

Many textbooks carry on dividing until every number in the bottom row is 1, even when a prime divides only one number. Both ways give the same LCM; the version above is just shorter.

Worked example

0 / 6 steps shown

LCM of 12, 18 and 30 by common division

Find LCM(12, 18, 30) by the common division method.

Chapter 08

HCF and LCM of three numbers

Every method extends to three (or more) numbers.

  • Prime factorisation: for the HCF take the primes common to all three, with the smallest power; for the LCM take every prime that appears in any of them, with the highest power.
  • Two at a time: HCF(a, b, c) = HCF(HCF(a, b), c), and LCM(a, b, c) = LCM(LCM(a, b), c). So you can use long division twice.
  • Ladder: works directly for the LCM, as you just saw.

Worked example

0 / 6 steps shown

HCF and LCM of 18, 30 and 42

Find HCF(18, 30, 42) and LCM(18, 30, 42).

Lab

Find the HCF and LCM of three numbers with lists, a three-circle Venn diagram and the ladder, and compare the methods.

Round 1 / 10★ 0 ptsBest: 0

Numbers: 18, 30 and 42

Predict first! What is the HCF (highest common factor) and the LCM (lowest common multiple) of 18, 30 and 42?

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

This lab works with three numbers at once. In the Venn view, a prime in the middle of all three circles is shared by all three.

  • 18, 30, 42: 18 = 2 × 3², 30 = 2 × 3 × 5, 42 = 2 × 3 × 7. HCF = 6, LCM = 630.
  • 12, 18, 30: 12 = 2² × 3, 18 = 2 × 3², 30 = 2 × 3 × 5. HCF = 6, LCM = 180.
  • 8, 12, 20: 8 = 2³, 12 = 2² × 3, 20 = 2² × 5. HCF = 4, LCM = 120.
  • 4, 6, 9: 4 = 2², 6 = 2 × 3, 9 = 3². HCF = 1, LCM = 36.
  • 6, 10, 15: 6 = 2 × 3, 10 = 2 × 5, 15 = 3 × 5. HCF = 1, LCM = 30.

Look at 6, 10 and 15: every pair shares a factor (6 and 10 share 2, 6 and 15 share 3, 10 and 15 share 5), yet no number except 1 divides all three, so the HCF is 1. The LCM is 30.

Need a different angle?

Try it

Chapter 09

Three facts that save time

Fact 1: HCF × LCM = product of the two numbers. For 12 and 18: HCF = 6, LCM = 36, and 6 × 36 = 216 = 12 × 18. For 36 and 48: 12 × 144 = 1728 = 36 × 48. The Venn picture shows why: the two circles together use every prime of both numbers once, with the overlap counted twice. HCF × LCM also counts the overlap twice (once in the HCF, once in the LCM).

This fact is only for two numbers. For 18, 30 and 42: HCF × LCM = 6 × 630 = 3780, but 18 × 30 × 42 = 22,680. Not equal!

Fact 2: co-primes. If HCF(a, b) = 1, then LCM(a, b) = a × b. (Put HCF = 1 into Fact 1.) Example: LCM(8, 15) = 120.

Fact 3: the HCF always divides the LCM. The HCF divides a, and a divides the LCM, so the HCF divides the LCM. For 36 and 48: 144 ÷ 12 = 12.

HCF(a, b) × LCM(a, b) = a × b
Two numbers only. For 12 and 18: 6 × 36 = 216 = 12 × 18.
LCM(a, b) = a × b ÷ HCF(a, b)
Find the HCF first (fast by long division), then the LCM for free.
HCF(a, b) = 1 ⇒ LCM(a, b) = a × b
Co-prime numbers: nothing shared, so the LCM is the full product.
HCF(a, b) | LCM(a, b)
The HCF always divides the LCM exactly.
HCF ≤ min(a, b) ≤ max(a, b) ≤ LCM
A quick sense check on any answer.
a | b ⇒ HCF = a, LCM = b
When one number divides the other, e.g. HCF(6, 24) = 6, LCM(6, 24) = 24.

Worked example

0 / 4 steps shown

Finding the missing number

The HCF of two numbers is 6 and their LCM is 180. One number is 36. Find the other.

Predict first

Could two numbers have HCF 8 and LCM 60?

Chapter 10

HCF and LCM in fractions

This is where most people use HCF and LCM every week without noticing.

Simplifying a fraction uses the HCF. To write 84⁄126 in its simplest form, divide top and bottom by the largest number that divides both, HCF(84, 126) = 42. That gives 2⁄3 in one step. Dividing by a smaller common factor, like 2, also works, but you would have to keep going.

Adding or subtracting fractions uses the LCM. To add 5⁄12 + 7⁄18 you need a common denominator: a common multiple of 12 and 18. The smallest one, LCM(12, 18) = 36, keeps the numbers small. It is called the lowest common denominator.

Worked example

0 / 5 steps shown

Adding 5⁄12 and 7⁄18

Work out 5⁄12 + 7⁄18 using the LCM.

Need a different angle?

Try it

Write 96⁄120 in its simplest form.

Try it

Work out 3⁄8 + 5⁄12 and give the answer in simplest form.

Chapter 11

Common mix-ups and choosing the right one

Lab

Match each HCF or LCM expression to its value, using whichever method you like.

Connect each pair of numbers to its HCF or LCM.

8 pairs are hiding in two mixed-up columns. Pick one from each side to join them.

Text version of this activity

This game shows eight expressions on one side and eight values on the other; connect each to its value.

  • HCF(36, 48) = 12 (2² × 3)
  • LCM(36, 48) = 144 (2⁴ × 3²)
  • HCF(252, 198) = 18 (by long division)
  • LCM(12, 18, 30) = 180 (by the ladder)
  • HCF(28, 45) = 1 (co-prime)
  • LCM(8, 15) = 120 (co-prime, so the product)
  • HCF(18, 30, 42) = 6
  • LCM(60, 84) = 420

Use the sense check to eliminate: an HCF value must be no bigger than the smallest number in its brackets.

Lab

Sort harder, textbook-style word problems into HCF and LCM, including measuring rods, smallest squares and remainder problems.

Decide whether each word problem needs the HCF or the 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 has ten word-problem cards to drop into an HCF bin or an LCM bin.

HCF: the greatest measuring rod for 4 m 50 cm and 6 m 30 cm (90 cm); the most identical gift bags from 144 pens and 180 pencils (36); the largest square tile for a hall 18 m 72 cm by 13 m 20 cm (24 cm); the biggest can measuring 403 L, 434 L and 465 L (31 L); the largest number dividing 70 and 125 leaving remainders 5 and 8 (13, from HCF of 65 and 117).

LCM: the least number of sweets shareable among 12, 15 or 20 children (60); traffic lights every 48, 72 and 108 s (together every 432 s); the smallest square from 6 cm × 8 cm tiles (side 24 cm); runners with 60, 72 and 90 s laps (360 s); the smallest number leaving remainder 3 when divided by 4, 6 and 9 (39).

The tricky ones: "smallest square from tiles" is LCM, because the square is built up from tiles, not cut into them.

Worked example

0 / 4 steps shown

The biggest can for three tankers

Three milk tankers hold 403 L, 434 L and 465 L. What is the biggest can that can measure the milk of each tanker an exact number of times?

Chapter 12

One more of each method, and word problems

Worked example

0 / 4 steps shown

Listing: HCF and LCM of 16 and 40

Find HCF(16, 40) and LCM(16, 40) by listing.

Worked example

0 / 5 steps shown

Venn method: 120 and 144

Find HCF(120, 144) and LCM(120, 144) with a prime-factor Venn diagram.

Worked example

0 / 8 steps shown

Long division with bigger numbers: 4,052 and 12,576

Find HCF(4,052, 12,576) by the long division method.

Worked example

0 / 5 steps shown

Ladder with four numbers: 15, 25, 35 and 40

Find LCM(15, 25, 35, 40) by common division.

Worked example

0 / 4 steps shown

Mumbai local trains and a metro connection

At a station in Mumbai, a fast local stops every 12 minutes, a slow local every 8 minutes and a metro feeder bus every 20 minutes (made-up timings, not a real timetable). All three are there together at 7:00 a.m. When are all three next together?

Worked example

0 / 4 steps shown

Cutting fabric for school uniforms

A tailor in Surat has three bolts of cloth: 84 m, 126 m and 210 m. He wants to cut all of them into pieces of the same length, as long as possible, with nothing wasted. How long is each piece and how many pieces are there?

Try it

Try it

Try it

crates

Try it

Work out 3⁄10 + 7⁄15 in simplest form.

Chapter 13

Check yourself

Quick check

Methods and facts

10 questions · answer what you can, then check. Getting one wrong is useful.

  1. Q1If a = 2³ × 3² × 5 and b = 2² × 3⁴ × 7, what is HCF(a, b)?
  2. Q2For the same a and b, LCM(a, b) = ?
  3. Q3In the long division method for HCF(1,071, 462), the first step is 1,071 = 462 × 2 + 147. What is the next division?
  4. Q4Two numbers have HCF 4 and LCM 96. One is 12. What is the other?
  5. Q5Which pair is co-prime?
  6. Q6Which could not be the HCF and LCM of two numbers?
  7. Q7HCF(24, 36, 60) = ?
  8. Q8To add 7⁄15 + 3⁄20 with the smallest common denominator, which denominator do you use?
  9. Q9Which number should you divide by to simplify 60⁄84 in one step?
  10. Q10For 2, 3 and 4, is HCF × LCM equal to 2 × 3 × 4?

Keep this

Cheat sheet

  • HCF (GCD, GCF): largest number dividing each number exactly. LCM: smallest positive number each number divides.
  • Listing: fine for small numbers. For the LCM, skip-count the bigger number and test with the smaller.
  • Prime factorisation: HCF = common primes with smallest powers; LCM = all primes with highest powers.
  • Venn picture: shared primes in the overlap. HCF = product of the overlap; LCM = product of everything.
  • Long division (Euclid): divide, then divide the divisor by the remainder; the last non-zero remainder is the HCF.
  • Ladder (common division): divide the row by a prime that divides at least two numbers; LCM = divisors × bottom row.
  • Three numbers: HCF(a, b, c) = HCF(HCF(a, b), c); LCM likewise. Prime rules: HCF needs primes in all, LCM in any.
  • Two numbers only: HCF × LCM = a × b. Not true for three numbers.
  • Co-primes: HCF = 1, LCM = a × b. Co-prime numbers need not be prime (8 and 9).
  • HCF always divides LCM. Use this to spot impossible questions.
  • Fractions: HCF to simplify in one step; LCM for the lowest common denominator when adding or subtracting.

Reflect

This stays on this page only. It isn’t saved or sent anywhere.

Helps you understand

Prime and composite numbers

Prime factorisation and factor trees are the engine of the prime-factor method; co-primes have HCF 1.

Used in

Four operations

Long division with remainders is the heart of Euclid’s method for the HCF.

Related to

Properties of numbers

Divisibility rules and properties of multiplication explain why the HCF divides every common factor.

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.

  • Mathematics Textbook for Class X, Chapter 1: Real Numbers (opens another website) — NCERTawaiting owner check

    Supports the Fundamental Theorem of Arithmetic, Euclid's division algorithm, HCF as the product of smallest powers of common primes, LCM as the product of greatest powers, and HCF × LCM = product for two numbers but not for three.

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

  • Greatest common divisor (opens another website) — Wikipediaawaiting owner check

    Reference for properties of the GCD: every common divisor divides the GCD, gcd(a, 0) = |a|, co-prime numbers, the gcd × lcm identity for two numbers and Bézout’s identity.

  • 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 Understand

What you just read

  • Find the HCF and LCM of two or three numbers by listing, prime factorisation, long division and common division.
  • Explain the prime-factor rules (smallest powers for HCF, highest powers for LCM) using a Venn diagram.
  • Use HCF × LCM = product of two numbers to find a missing number, and know why it fails for three.
  • Use the HCF to simplify fractions and the LCM to add and subtract them.
  • Spot and correct common mistakes in HCF and LCM working.

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