Free calculatorLive resultsSteps and sourcesEmbed on your site, free

Common Multiple Calculator

Least Common Multiple works out Greatest common factor and Least common multiple from Numbers and Maximum factors to list. The default figures on this page give greatest common factor of 2; change any entry and the result, the working and the sources update together.

Greatest common factor
2
GCF and LCM Calculator
Least common multiple
12
GCF (exact)
2
LCM (exact)
12
Numbers are coprime
No
GCF x LCM (two numbers only)
24
How many numbers
2
Worked out from Euclid, Elements, Book VII, Propositions 1-3 (the Euclidean algorithm) and 2 other sources.

Your figures

Updates as you type
Whole numbers separated by commas or spaces, e.g. 12, 18, 24. Negative values are treated by magnitude.

How this is worked out

5 steps
  1. 4 = 2^2
  2. 6 = 2 x 3
  3. GCF = the product of every prime raised to its lowest shared power = 2.
  4. LCM = the product of every prime raised to its highest power = 12.
  5. Check: GCF x LCM = 2 x 12 = 24, which equals 4 x 6.
All common factorstable
1, 2
Prime factorizationstable
4 = 2^2, 6 = 2 x 3
numbersUsedtable
4, 6

Its 5 worked examples are re-run on every release, last on 15 September 2026. What changed

Sources and references

3 sources

What the Least Common Multiple calculates

Finds the greatest common factor (GCD/HCF) and least common multiple of two or more whole numbers, with the Euclidean, prime-factorization or factor-listing working shown.

How to use this Least Common Multiple

Enter Numbers and Maximum factors to list. Greatest common factor updates as you type. Change one figure at a time to see what drives the result.

How the result is worked out

Open “How this is worked out” beside the result for the step-by-step calculation behind Greatest common factor, Least common multiple and GCF (exact).

The method follows Euclid, Elements, Book VII, Propositions 1-3 (the Euclidean algorithm), NIST Digital Library of Mathematical Functions, §27.1-27.2 (divisibility, fundamental theorem of arithmetic) and Common Core State Standards for Mathematics, 6.NS.B.4 (greatest common factor and least common multiple).

What you can compare

Change one input at a time to see how it affects Greatest common factor, Least common multiple and GCF (exact). The inputs you can vary are Numbers and Maximum factors to list.

Results are general information, not financial, tax, legal, medical or engineering advice. Check any decision that matters with a qualified professional.

Embed this calculator on your website

Copy this code into any page. The calculator appears with the figures currently entered, sizes itself to fit, and a small credit line links back here. Free, no account, no ads inside it, no tracking of your readers. Set your own figures and fixed fields; Personal removes the credit line, sets your colour and shows you which sites use it.

Preview

See something wrong? Report a problem with this calculator

Frequently asked questions

What's the easiest way to find LCM?

Finds the greatest common factor (GCD/HCF) and least common multiple of two or more whole numbers, with the Euclidean, prime-factorization or factor-listing working shown. On this page it is computed from Numbers and Maximum factors to list and shown as Greatest common factor, Least common multiple and GCF (exact).

What information do I need for the Least Common Multiple?

You need Numbers and Maximum factors to list. The page opens with default figures that give greatest common factor of 2, so you can see the scale before entering your own.

What does this Least Common Multiple show?

It shows Greatest common factor, Least common multiple, GCF (exact), LCM (exact), All common factors, Prime factorizations, Numbers are coprime and GCF x LCM (two numbers only), with the working and any warnings for your entries.

Can I check how the Least Common Multiple result was calculated?

Yes. The “How this is worked out” section shows the calculation steps, and the sources section identifies the references used for the method.

Related calculators

View all related calculators12 more