LCM and HCF Word Problem Solver

Decide whether a word problem needs the LCM or the HCF, see the prime factors, a timeline of when things meet and the full method for six problem types.

Runs in your browser. Your files never leave your device. See how to check

…

How to do it

  1. 1
    Choose the situation

    Pick bells, tiles, packs, track, remainder or equal remainders.

  2. 2
    Enter the numbers

    Type the intervals, lengths or counts.

  3. 3
    Read the factors

    Check the prime factorisation and the LCM or HCF built from it.

  4. 4
    Look at the timeline

    For repeating events, see where the repeats line up.

  5. 5
    Follow the steps

    Read the final step that turns the LCM or HCF into the answer.

  6. 6
    Practise

    Use the Practice tab and save problems to the notebook.

About this tool

Finding an LCM or HCF is easy once you know which one a question wants. The difficulty in word problems is the decision, and the steps after it: converting minutes into a clock time, counting tiles, or adjusting for a remainder. This solver covers six classic situations. Bells or lights that repeat and happen together again need the LCM, as do runners meeting at the start of a track. The largest square tile for a floor and the largest number of identical packs need the HCF. The smallest number that leaves the same remainder for several divisors is the LCM plus the remainder, and the largest divisor that leaves equal remainders is the HCF of the differences. Each answer shows the prime factorisation, the LCM or HCF built from it and a timeline of the repeats where that helps.

Who it is for

Students aged about 10 to 15, aptitude test candidates, and parents helping with homework who want a clear rule for choosing between LCM and HCF.

LCM or HCF?

Ask whether the answer should be bigger or smaller than the numbers given. Things that repeat and coincide again ("when will they next…") give a bigger number: the LCM. Splitting into the largest equal groups or pieces ("largest", "greatest number of identical…") gives a smaller number: the HCF.

Prime factorisation

Write each number as a product of primes. The LCM uses every prime to its highest power; the HCF uses only the primes common to all, to the lowest power. 12 = 2² × 3, 18 = 2 × 3², 30 = 2 × 3 × 5, so the LCM is 2² × 3² × 5 = 180 and the HCF is 2 × 3 = 6. A useful check for two numbers is LCM × HCF = product of the numbers.

Problem types

Bells ringing every 12, 18 and 30 minutes from 08:00 ring together again after 180 minutes, at 11:00; the timeline shows each bell's rings meeting at 180. A floor 840 cm by 600 cm takes square tiles of at most 120 cm, and 7 × 5 = 35 of them. For remainder problems, a number leaving remainder 5 when divided by 6, 8 and 12 is a multiple of 24 plus 5, so the smallest is 29.

Worked example

Find the largest number that divides 43, 91 and 183 leaving the same remainder. If the remainders are equal, the differences 48, 92 and 140 are exact multiples of the divisor. Their HCF is 4, so the answer is 4, and each number leaves remainder 3.

Limits

The solver works with whole numbers and does not accept fractions or decimals. Clock times are shown within one day; for intervals longer than 24 hours, add the days yourself. It covers the six common types; problems that mix LCM and HCF in several stages should be split into parts.

Worked example

Bells every 12, 18 and 30 minutes from 08:00: LCM 180, so together again at 11:00.

Quick facts

Frequently asked questions

How do I know whether to use LCM or HCF?

If things repeat and you want them to happen together again, use the LCM. If you are splitting things into the largest equal groups or pieces, use the HCF.

How is the LCM found from prime factors?

Take every prime that appears in any of the numbers, each to the highest power it has, and multiply them.

How is the HCF found from prime factors?

Take only the primes common to all the numbers, each to the lowest power, and multiply them.

Why use the differences for equal remainders?

If two numbers leave the same remainder, their difference is an exact multiple of the divisor, so the divisor must divide all the differences.

Can I use three numbers?

Yes. Most types accept a third number; leave it at 0 when there are only two.

Does it show clock times?

For bells and lights you give a start time in minutes after midnight, and the answer shows when they next coincide.

Guides for this tool

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages