About 55 minutes · 3 things to learn By the end you can…
Find the HCF and LCM of two or three numbers from their prime factorisations.
Use HCF × LCM = product of two numbers, and know that it fails for three numbers.
Solve problems with unknown exponents or missing values (e.g. HCF given, find the LCM; find k).
Listing factors works for 12 and 18. It is hopeless for 1 050 and 1 386 — you would be writing lists for ten minutes. With prime factorisation, you can find the highest common factor and the lowest common multiple of those two numbers in about a minute, and be sure you are right. The trick is a small table.
What HCF and LCM mean
The HCF (highest common factor) of two or more numbers is the largest number that divides all of them exactly. HCF(12, 18) = 6.
The LCM (lowest common multiple) is the smallest positive number that all of them divide into exactly. LCM(12, 18) = 36.
So the HCF is never bigger than the smallest number, and the LCM is never smaller than the largest number. Keep this as a quick sense-check.
Reading HCF and LCM from the factorisations
Factorise each number, then put the powers of each prime in a table — one column per prime, one row per number:
2
3
7
11
84=22×3×7
22
31
71
—
198=2×32×11
21
32
—
111
HCF: smallest power of each common prime
21
31
—
—
LCM: largest power of every prime
22
32
71
111
So HCF(84,198)=2×3=6 and LCM(84,198)=22×32×7×11=2772.
Why the rules work
A factor of 84 can contain at most two 2s; a factor of 198 can contain at most one 2. A number that divides both can therefore contain only one 2 — the smaller power. A prime that is missing from one of the numbers (7 or 11 here) cannot appear in a common factor at all.
A multiple of 84 must contain at least 22, and a multiple of 198 must contain at least 32 and an 11. A common multiple needs all of these at once, so it must take the larger power of every prime. The lowest common multiple takes exactly those and nothing more.
Three numbers: the same table
For three numbers, add a third row. The HCF uses only primes found in all three rows; the LCM uses every prime in any row, at its highest power. Worked example 3 shows the layout.
HCF × LCM = product — for two numbers only
Multiply the HCF and LCM of 84 and 198: 6×2772=16632, and 84×198=16632. This always happens for two numbers:
HCF(a,b)×LCM(a,b)=a×bSwipe to see the whole equation →
Why? For each prime, one number has the smaller power and the other has the larger. The HCF takes the smaller, the LCM takes the larger, so between them they use each power exactly once — just like a×b. This gives a quick way to find the LCM when the HCF is known:
LCM(a,b)=HCF(a,b)a×bSwipe to see the whole equation →
For three numbers it is not true in general. Take 4, 6 and 10: HCF = 2 and LCM = 60, so HCF × LCM = 120, but 4×6×10=240. With three numbers, the middle power of a prime is used by neither the HCF nor the LCM. So the two sides match only in the special case where no two of the numbers share a prime (for example 8, 9 and 25: 1×1800=1800). You cannot rely on being in that special case, so never use the product rule to find an HCF or LCM of three numbers. Use the table.
Three more facts worth knowing
The HCF of two numbers always divides their LCM. (So numbers with HCF 12 and LCM 150 cannot exist — 12 does not divide 150.)
If two numbers have no common prime, their HCF is 1. They are called co-prime, and their LCM is simply their product.
If a power is unknown, compare the two sides prime by prime: for an LCM, the given power of each prime must equal the larger of the two powers; for an HCF, the smaller.
Setting out your answer
In the exam, write each factorisation on its own line, with the same primes one under the other, so the smallest and largest powers are easy to see. Then write two clear lines: "HCF = … = 18" and "LCM = … = 1584", each showing the powers you chose. If the question says verify, finish with both products worked out in full — "18×1584=28512 and 144×198=28512" — and the word "verified". Marking schemes usually give marks for the factorisations and for each correct result (in a 2-mark question, typically 1 mark for the factorisations and ½ for each result), so a neat layout protects marks even if one multiplication slips.
Visuals
Prime-power table for HCF and LCM (two and three numbers)The single layout for HCF and LCM, with the min/max choice made visible.Draw in examVenn diagram of prime factors (HCF = overlap, LCM = whole)A second way to see the rules — the common part is the HCF, the whole picture is the LCM — and why HCF × LCM uses every factor of both numbers exactly once.HCF–LCM explorer (interactive)Try their own numbers and see the min/max rules and the product rule (and its failure for three numbers) at work.
Worked examples
Worked example 1
HCF and LCM of two numbers
Question. Find the HCF and LCM of 144 and 198 by prime factorisation, and verify that HCF × LCM = product of the numbers.
Given: 144 and 198. Asked: HCF, LCM, and the check.
Concept used: the two rules (smallest power of common primes; largest power of every prime). Why it applies: both numbers are easy to factorise.
1
Factorise 144 (144=16×9).
144=24×32Swipe to see the whole equation →
2
Factorise 198 (198=2×99=2×9×11).
198=2×32×11Swipe to see the whole equation →
3
Common primes: 2 and 3. Smallest powers: 21 and 32.
HCF=2×32=18Swipe to see the whole equation →
4
All primes: 2, 3, 11. Largest powers: 24, 32, 111.
LCM=24×32×11=16×99=1584Swipe to see the whole equation →
5
Product of the numbers.
144×198=28512Swipe to see the whole equation →
6
Product of HCF and LCM.
18×1584=28512Swipe to see the whole equation →
Check: the two products are equal ✔. Also HCF 18 ≤ 144 and LCM 1584 ≥ 198 ✔.
Common trap: Taking 32 for the HCF because "3² is in one of them". For the HCF use the smaller power: 31.
Worked example 3
Three numbers
Question. Find the HCF and LCM of 48, 60 and 90.
Given: three numbers. Asked: HCF and LCM.
Concept used: the same table with three rows. Why it applies: the rules do not change; "common" now means common to all three.
1
Factorise each number.
48=24×3,60=22×3×5,90=2×32×5Swipe to see the whole equation →
2
Primes in all three: 2 and 3 (5 is missing from 48). Smallest powers: 21, 31.
HCF=2×3=6Swipe to see the whole equation →
3
Every prime: 2, 3, 5. Largest powers: 24 (from 48), 32 (from 90), 51.
LCM=24×32×5Swipe to see the whole equation →
4
Multiply: 16×9=144, 144×5=720.
LCM=720Swipe to see the whole equation →
Check: 6 divides 48, 60 and 90 ✔. 720÷48=15, 720÷60=12, 720÷90=8 — all exact ✔.
AnswerHCF=6,LCM=720
Common trap: Putting 5 in the HCF because 60 and 90 share it. A prime must be in all three numbers to enter the HCF.
Worked example 4
Does HCF × LCM = product for three numbers?
Question. Riya claims that HCF(8,12,20)×LCM(8,12,20)=8×12×20. Test her claim.
Given: 8, 12, 20. Asked: is the claim true?
Concept used: find HCF and LCM by the table, then compare. Why it applies: a single counter-example is enough to show a claim is false.
1
Factorise.
8=23,12=22×3,20=22×5Swipe to see the whole equation →
2
Only 2 is in all three; smallest power 22.
HCF=22=4Swipe to see the whole equation →
3
Largest powers: 23, 31, 51.
LCM=23×3×5=120Swipe to see the whole equation →
4
Left side.
HCF×LCM=4×120=480Swipe to see the whole equation →
5
Right side.
8×12×20=1920Swipe to see the whole equation →
6
Compare: 480=1920.
Check: look at the 2s. The numbers contain 23, 22, 22 — seven 2s in the product. HCF and LCM use only 22 and 23 — five 2s. One power is "lost" ✔.
AnswerRiya is wrong:4×120=480, but 8×12×20=1920. HCF × LCM = product works only for two numbers.
Common trap: Finding an LCM of three numbers by HCF8×12×20, which gives 41920=480 — four times too big.
Worked example 5
HCF given, find the LCM
Question. Given that HCF(391, 527) = 17, find LCM(391, 527).
Given: the two numbers and their HCF. Asked: the LCM.
Concept used:LCM(a,b)=HCF(a,b)a×b. Why it applies: there are exactly two numbers.
1
Write the rule.
LCM=17391×527Swipe to see the whole equation →
2
Divide first to keep the numbers small: 391÷17=23.
LCM=23×527Swipe to see the whole equation →
3
Multiply: 23×527=23×500+23×27=11500+621.
LCM=12121Swipe to see the whole equation →
Check:391=17×23 and 527=17×31, so the LCM is 17×23×31=12121 ✔.
AnswerLCM(391,527)=12121
Worked example 6
Unknown exponent; find k
Question. (a) The LCM of 23×3m×7 and 22×34×5 is 23×35×5×7. Find m. (b) HCF(165, 210) = 15 and LCM(165, 210) = 15×k. Find k.
Given: (a) two factorisations and their LCM; (b) two numbers, their HCF, and the LCM in terms of k. Asked: m and k.
Concept used: (a) the LCM takes the larger power of each prime; (b) HCF × LCM = product. Why it applies: (a) we can compare the powers of 3; (b) there are two numbers.
1
(a)
The LCM's power of 3 is the larger of 3m and 34.
larger of m and 4=5Swipe to see the whole equation →
2
4 is not 5, so the larger one must be m.
m=5Swipe to see the whole equation →
3
(b)
Use HCF × LCM = product.
15×15k=165×210Swipe to see the whole equation →
4
Simplify the left side.
225k=34650Swipe to see the whole equation →
5
Divide both sides by 225.
k=22534650=154Swipe to see the whole equation →
Check: (a) larger of 5 and 4 is 5 ✔. (b) 165=3×5×11, 210=2×3×5×7, LCM =2×3×5×7×11=2310=15×154 ✔.
Answer(a) m=5 (b) k=154
Common trap: In (b), writing 15×k=165×210 and getting k=2310 — that is the LCM itself. The LCM is 15k, so divide by 15 once more.
6 examples · they get harder as you go
Quick check
Answer without scrolling up
Quick check · 1 of 3MCQ1 mark
The HCF of 23×32×5 and 22×33×7 is:
Common primes 2 and 3, each at its smaller power.
This is the LCM — largest power of every prime.
Uses the larger powers of the common primes (the min/max swap).
5 and 7 are not common to both numbers, so they cannot be in the HCF.
Quick check · 2 of 3Very short answer1 mark
The HCF of two numbers is 9 and their product is 4 374. Find their LCM.
Answer:486
Working: LCM=94374=486.
If you multiplied (9×4374), remember: HCF × LCM = product, so LCM = product ÷ HCF.
Did you get it?
Quick check · 3 of 3True/False with justification2 marks
True or false? Justify. "HCF(4,6,9)×LCM(4,6,9)=4×6×9."
Answer:False.
Working:
HCF(4, 6, 9) = 1 (no prime is common to all three).
LCM(4, 6, 9) = 22×32=36.
HCF × LCM =1×36=36, but 4×6×9=216.
The product rule is true for two numbers only.
Did you get it?
Key points
Factorise, then use the table: HCF = smallest power of each common prime; LCM = largest power of every prime.
The same table works for three numbers; "common" means common to all of them.
For two numbers only: HCF(a,b)×LCM(a,b)=a×b, so LCM=HCFa×b.
For three numbers HCF × LCM is not the product (e.g. 4, 6, 10: 2×60=240).
The HCF always divides the LCM; co-prime numbers have HCF 1 and LCM = product.