Gradient

Courses

∇\nabla∇The maths behind AI0/72
π\piπMaths0/84
⋆\star⋆AI for everyone0/10
Γ\GammaΓGame theory0/49
py\texttt{py}pyPython for AI0/15
y^\hat{y}y^​Build your own AI0/15
All courses

Tuition

My tuition

Practice

ProjectsAsk a questionTrain on a GPUExplorationsMaths StoriesUnsolved problemsPlaygroundScience labs

Reference

GlossaryBlogDiscoveries
Blog › Concepts explained

1 December 2026 · 1 min read

Maths equations written in chalk on a blackboard
Photo by Artturi Jalli on Unsplash

HCF and LCM the fast way, and how to tell which one a word problem wants

Prime factors give both in one go. Plus the simple test for word problems: are you splitting things up, or waiting for things to line up?

HCF and LCM questions are some of the most common in Classes 6 to 10, and the hardest part is often deciding which one the question wants. Here is a fast method for both, and a test for word problems.

Both from prime factors

Write each number as a product of primes. 84 = 2² × 3 × 7 and 90 = 2 × 3² × 5. For the HCF, take the primes they share, with the lowest power: 2 × 3 = 6. For the LCM, take every prime, with the highest power: 2² × 3² × 5 × 7 = 1260.

Check: HCF × LCM = 6 × 1260 = 7560 = 84 × 90. This only works for two numbers, but it is a great way to catch mistakes.

Which one does the question want?

  • Splitting into the largest equal pieces, groups or tiles: HCF. “The longest rope that measures both 84 m and 90 m exactly” → 6 m.
  • Waiting until things happen together again: LCM. “Two bells ring every 84 and 90 seconds; when do they next ring together?” → after 1260 s, or 21 minutes.

A quick check: the HCF can never be bigger than the smallest number, and the LCM can never be smaller than the largest one.

The division method

For the HCF of big numbers, Euclid’s method is quickest: divide the larger by the smaller and keep the remainder. 90 ÷ 84 leaves 6; 84 ÷ 6 leaves 0, so the HCF is 6. This is the method behind Class 10’s Euclid’s division lemma.

Keep going

  • LCM and HCF calculator
  • HCF vs LCM
  • Prime factorisation calculator
  • Class 6 factors and multiples practice
  • Class 6 factors formulas
  • Why does ice float? Density explained with everyday examples
  • Why a negative times a negative is positive
  • What is Ohm’s law? A circuit you can play with

Read and listen in

Indian languages

World languages

More articles

  • Why does ice float? Density explained with everyday examples
  • Why a negative times a negative is positive
  • What is Ohm’s law? A circuit you can play with