GCD, LCM and Fractions: How They Connect
Money, health & time · Published October 17, 2026 · Updated October 24, 2026 · 3 min read
Written by Akinrinmade Michael · General information, not professional advice
Two ideas from school arithmetic make fractions easy: the greatest common divisor, which simplifies them, and the least common multiple, which lets you add them. They're also useful on their own, for tiling, scheduling and sharing things evenly.
Greatest common divisor (GCD)
The GCD, also called the highest common factor, is the biggest number that divides two numbers exactly. Euclid's method finds it by repeated division. For 48 and 18: 48 = 2 x 18 + 12, then 18 = 1 x 12 + 6, then 12 = 2 x 6 + 0. The last divisor, 6, is the GCD.
Finding it with prime factors
Another way is to break each number into primes. 36 is 2 x 2 x 3 x 3 and 48 is 2 x 2 x 2 x 2 x 3. The GCD takes the primes they share, the smaller count of each: two 2s and one 3, which is 12. The least common multiple takes the larger count of each prime: four 2s and two 3s, which is 144.
Least common multiple (LCM)
The LCM is the smallest number that both numbers divide into. Multiply the two numbers and divide by the GCD: 48 x 18 / 6 = 144. The GCD & LCM Calculator does this for any list of whole numbers, of any size, and shows the prime factors and Euclid's steps.
Simplifying a fraction
Divide the top and bottom by their GCD. For 18/48 the GCD is 6, so the fraction is 3/8. It can't be reduced any further. If the GCD is 1, the fraction is already in lowest terms.
Adding fractions
Fractions can only be added when their bottoms match. Use the LCM of the denominators as the common bottom. For 1/4 + 1/6 the LCM of 4 and 6 is 12, so you add 3/12 and 2/12 to get 5/12. Subtracting works the same way. To multiply, multiply tops and bottoms, and to divide, flip the second fraction and multiply.
A harder one: 5/6 + 3/8. The LCM of 6 and 8 is 24. Five sixths is 20/24 and three eighths is 9/24, so the sum is 29/24, which is the mixed number 1 5/24.
Where else they turn up
| Problem | Use | Example |
|---|---|---|
| Buses every 12 and 18 minutes leave together now. When again? | LCM | Every 36 minutes |
| Largest square tile for a 48 by 18 floor | GCD | 6 by 6 |
| Splitting 48 pens and 18 books into equal packs | GCD | 6 packs, each with 8 pens and 3 books |
| Adding 1/4 and 1/6 | LCM | Work in twelfths |
Mixed numbers and decimals
- A mixed number like 2 1/3 is the improper fraction 7/3, because 2 times 3 plus 1 is 7.
- Every fraction is a decimal that ends or repeats. 1/4 is 0.25, while 1/3 is 0.333... with the 3 repeating.
- The Fraction Calculator does all four operations, simplifies the result, and shows it as a mixed number, a decimal and a percentage.
- For everything else, the Scientific Calculator handles powers, roots and brackets.
Common mistakes
- Adding the tops and the bottoms. The sum 1/2 + 1/3 doesn't equal 2/5.
- Forgetting to flip the second fraction when dividing.
- Using any common multiple and forgetting to simplify. It still works, but the answer needs reducing.
- Forgetting that the GCD of two numbers where one divides the other is the smaller number.
Checking your answer
A quick sense check catches most slips. When you add two positive fractions, the answer must be bigger than either of them, so 1/2 plus 1/3 can't be less than a half. Convert to decimals as a second opinion: 0.5 plus 0.333 is about 0.833, and 5/6 is 0.833. When you simplify, multiply the top and the bottom of the result by the GCD you divided by, and you should get the original fraction back. The calculator shows the decimal and the percentage for exactly this reason.