GCF vs LCM: What’s the Difference? (With Examples + Easy Trick)

Direct answer: The GCF (greatest common factor) is the largest number that divides both numbers evenly, while the LCM (least common multiple) is the smallest number both numbers divide into evenly. For 12 and 18, the GCF is 6 and the LCM is 36. The trick: GCF goes DOWN — smaller than both numbers — and LCM goes UP — bigger than both numbers.

If GCF and LCM keep getting mixed up in your head, you are not alone. They are taught together, they use the same starting skill — finding factors — and their names sound almost the same. But once you see the difference clearly, with a worked example and a memory trick, they stay separate.

This guide explains what each one means, shows you how to find both with prime factorization, gives you a self-check formula, and shows where each one is actually used in real life. You can verify every answer with Calcrio’s free tool, which finds the GCF and LCM of any two numbers instantly.

What Is the GCF?

GCF stands for greatest common factor — also called the GCD (greatest common divisor), and in the UK and India it is usually called the HCF (highest common factor). All three names mean the same thing: the largest whole number that divides two or more numbers evenly.

Take 12 and 18. The factors of 12 are 1, 2, 3, 4, 6, and 12; the factors of 18 are 1, 2, 3, 6, 9, and 18. The factors they share — the common factors — are 1, 2, 3, and 6. The greatest is 6.

The GCF of 12 and 18 is 6.

What Is the LCM?

LCM stands for least common multiple: the smallest whole number that is a multiple of both numbers — the smallest number both numbers divide into evenly.

The multiples of 12 are 12, 24, 36, 48, 60, 72… The multiples of 18 are 18, 36, 54, 72, 90… The first multiple they share is 36.

The LCM of 12 and 18 is 36.

GCF vs LCM: The Comparison Table

Here is the difference at a glance — this is the table most students screenshot:

GCF LCM
Full name Greatest Common Factor Least Common Multiple
Also called GCD, or HCF (UK/India) —
Built from Factors (numbers that divide in) Multiples (numbers you count up to)
Size Smaller than both numbers (or equal) Bigger than both numbers (or equal)
For 12 and 18 6 36
Question it answers What is the biggest piece both numbers share? When do both numbers meet again?
Used for Simplifying fractions, splitting into equal groups Adding fractions, timetables, repeating events
Memory trick Goes Down — divides, smaller Goes Up — multiples, bigger

The size row is the fastest way to check your work: if your “GCF” comes out bigger than one of the numbers, it is wrong. If your “LCM” comes out smaller than one of the numbers, it is wrong too. The GCF can never exceed the smaller number, and the LCM can never be smaller than the larger number.

How to Find the GCF and LCM with Prime Factorization

The listing method works for small numbers, but for bigger numbers there is a faster way: prime factorization. Break both numbers into primes, then:

  • GCF: take the lowest power of each prime the numbers share.
  • LCM: take the highest power of each prime that appears in either number.

Worked Example: GCF and LCM of 12 and 18

First, break both numbers into primes:

  • 12 = 2² × 3
  • 18 = 2 × 3²

The primes they share are 2 and 3.

  • GCF: take the lowest power of each shared prime: 2¹ × 3¹ = 2 × 3 = 6.
  • LCM: take the highest power of each prime: 2² × 3² = 4 × 9 = 36.

So for 12 and 18, the GCF is 6 and the LCM is 36.

This matches the listing method exactly — and it scales to numbers far too big to list by hand. If you need a refresher on the breaking-down step, our guides to prime factorization methods and factor trees cover it with worked examples.

The Self-Check Formula

Here is a fact worth memorizing: for any two numbers, GCF × LCM = the product of the two numbers.

Check it with 12 and 18: GCF × LCM = 6 × 36 = 216, and 12 × 18 = 216. They match.

Use it as a self-check on every problem: if your GCF and LCM do not multiply to the product of the two numbers, one of them is wrong.

Worked Example: GCF and LCM of 24 and 36

Let us run the full method on a second pair.

First, the prime factorizations:

  • 24 = 2³ × 3
  • 36 = 2² × 3²

The shared primes are 2 and 3.

  • GCF: lowest powers: 2² × 3¹ = 4 × 3 = 12.
  • LCM: highest powers: 2³ × 3² = 8 × 9 = 72.

The GCF of 24 and 36 is 12, and the LCM of 24 and 36 is 72.

Self-check: 12 × 72 = 864, and 24 × 36 = 864. They match — the answers are correct.

You can also confirm it the slow way: the common factors of 24 and 36 are 1, 2, 3, 4, 6, and 12, and the greatest is 12. The factor-pair method and prime factorization are two routes to the same answer — our factor pairs guide shows how common factors lead straight to the GCF.

When Do You Use GCF vs LCM?

The rule is simple: use the GCF when you are splitting things down, and the LCM when you are lining things up.

When to use the GCF

  • Simplifying fractions. To reduce 18/24, divide top and bottom by their GCF, 6: 18 ÷ 6 = 3 and 24 ÷ 6 = 4, so 18/24 = 3/4. The GCF is what makes a fraction simplest.
  • Splitting into equal groups. With 24 pencils and 36 erasers, the GCF of 24 and 36 is 12 — so you can make 12 identical gift bags, each with 2 pencils and 3 erasers.
  • Tiling and cutting. Cutting a 12-inch by 18-inch board into the largest possible equal squares? The side is the GCF: 6 inches.

When to use the LCM

  • Adding fractions. To add 1/4 + 1/6, you need a common denominator — the LCM of 4 and 6 is 12. So 1/4 = 3/12 and 1/6 = 2/12, giving 3/12 + 2/12 = 5/12.
  • Repeating events. Bus A comes every 12 minutes and bus B every 18 minutes. They meet again after 36 minutes — the LCM.
  • Scheduling. Two lights blink every 12 and 18 seconds. They blink together again after 36 seconds — the LCM.

A one-line version for the exam: GCF = biggest shared divisor, used to divide down. LCM = smallest shared multiple, used to line up.

3 Common Mistakes with GCF and LCM

Mistake 1: Mixing up which is bigger. The GCF is always the smaller answer and the LCM the bigger one (for two different numbers). If your GCF comes out as 36 and your LCM as 6 for the numbers 12 and 18, you have them backwards.

Mistake 2: Using the highest power for the GCF. The GCF takes the lowest power of each shared prime; the LCM takes the highest. For 12 = 2² × 3 and 18 = 2 × 3², the GCF uses 2¹ and 3¹ (giving 6), while the LCM uses 2² and 3² (giving 36). Swap them and both answers flip.

Mistake 3: Forgetting the self-check. GCF × LCM must equal the product of the two numbers. For 12 and 18: 6 × 36 = 216 = 12 × 18. If your numbers do not match, recheck before moving on.

How Calcrio’s Free Tool Helps

The free tool at Calcrio finds the GCF and LCM of any two numbers, along with each number’s full list of factors of a number, its factor pairs, and its prime factorization. Enter 12 and 18 and you get GCF 6 and LCM 36 in one step. It is free, with no sign-up — a fast way to check homework and to verify the self-check formula on any pair you like.

But the method is what matters for the exam: break both numbers into primes, take lowest powers for the GCF and highest powers for the LCM, and check that GCF × LCM equals the product. Once that routine is automatic, GCF and LCM problems become free marks.

If you are still building the basics, start with how to find factors of a number — the step-by-step method and square-root shortcut behind everything on this page.

Frequently Asked Questions

What is the difference between GCF and LCM?

The GCF is the largest number that divides both numbers evenly, while the LCM is the smallest number both numbers divide into evenly. For 12 and 18, the GCF is 6 and the LCM is 36. The GCF is always smaller; the LCM is always bigger.

How do you find the GCF and LCM?

Break both numbers into prime factors. For the GCF, take the lowest power of each prime the numbers share. For the LCM, take the highest power of each prime in either number. For 12 = 2² × 3 and 18 = 2 × 3², the GCF is 2 × 3 = 6 and the LCM is 2² × 3² = 36.

What is the GCF of 12 and 18?

The GCF of 12 and 18 is 6. The common factors of 12 and 18 are 1, 2, 3, and 6, and 6 is the greatest. By prime factorization: 12 = 2² × 3 and 18 = 2 × 3², so the GCF is 2 × 3 = 6.

What is the LCM of 12 and 18?

The LCM of 12 and 18 is 36. The multiples of 12 are 12, 24, 36, 48… and the multiples of 18 are 18, 36, 54… The first multiple they share is 36. By prime factorization, the LCM is 2² × 3² = 36.

When do you use GCF vs LCM?

Use the GCF when you are splitting something down — simplifying a fraction or dividing items into equal groups. Use the LCM when you are lining things up — adding fractions with different denominators or finding when two repeating events happen together.

Is the GCF always smaller than the LCM?

Yes, for two different numbers the GCF is always smaller than the LCM. The GCF can never be bigger than the smaller of the two numbers, and the LCM can never be smaller than the larger one. For 12 and 18, the GCF is 6 and the LCM is 36.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top