Naar de inhoud
OneKitly

LCM and GCD Explained

Gepubliceerd op 23-9-2025 · 3 min leestijd · Dagelijkse calculators

Lena Hoffmann

Lena Hoffmann — Redacteur wetenschap en onderwijs bij OneKitly

Wiskunde · Natuurkunde

Getoetst aan 2 bronnen

Profiel bekijken →
Kort gezegd

The greatest common divisor (GCD) is the largest number that divides two numbers evenly; the least common multiple (LCM) is the smallest number both divide into. For 12 and 18, the GCD is 6 and the LCM is 36. A quick link ties them: GCD × LCM equals the two numbers multiplied, so once you have one you can find the other.

Advertentie

The GCD is the biggest shared divisor; the LCM is the smallest shared multiple. Here's what each means, how to find them with prime factors, and the shortcut linking them.

What each one means

The two ideas are opposites. The greatest common divisor of two numbers is the biggest value that goes into both without a remainder — for 12 and 18 it's 6, since 6 divides both and nothing larger does. The least common multiple is the smallest number that both divide into — for 12 and 18 it's 36, the first number that appears in both times tables. One looks down for shared factors, the other looks up for shared multiples.

Advertentie

Finding them with prime factors

Break each number into its prime building blocks and both answers fall out. 12 is 2² × 3, and 18 is 2 × 3². For the GCD, take each prime they share at its lowest power: 2¹ × 3¹ = 6. For the LCM, take every prime at its highest power across both: 2² × 3² = 36. Prime factorisation makes it mechanical — no guessing which numbers divide, just compare the powers.

The shortcut that links them

There's an elegant relationship: for any two numbers, the GCD times the LCM equals the two numbers multiplied together. So GCD × LCM = a × b. That gives a shortcut — find the GCD (which is usually the easier one), then the LCM is simply a × b ÷ GCD. For 12 and 18: 12 × 18 = 216, divided by the GCD of 6 gives 36. It's also a neat check: multiply your GCD and LCM and you should get a × b back.

Where you use them

These aren't just exam exercises. The GCD is how you simplify a fraction to its lowest terms: divide top and bottom by their greatest common divisor, so 12/18 becomes 2/3. The LCM is how you add or compare fractions — it gives the least common denominator. It also solves timing puzzles: if one bus comes every 12 minutes and another every 18, they leave together every 36 minutes, their LCM. Anywhere cycles or fractions meet, one of these two is at work.

Uitgewerkt met onze eigen calculator

KGV-calculator

Gegeven

Getal A
8
Getal B
12

Resultaat

KGV
24
GGD
4

Deze cijfers komen uit de calculator hieronder, ze zijn niet met de hand ingetypt — ze worden opnieuw berekend telkens als de tool verandert.

Reken het door met je eigen cijfers →
Advertentie

Veelgestelde vragen

What's the difference between LCM and GCD?
GCD is the largest number dividing both; LCM is the smallest number both divide into.
How do I find the LCM of two numbers?
Multiply them and divide by their GCD, or take each prime to its highest power.
What are the GCD and LCM of 12 and 18?
GCD 6, LCM 36.

Artikelen die je misschien interesseren

Alle gidsen →

Vergelijkbare tools

Bronnen

Een fout in dit artikel gezien?