Find the greatest common divisor and least common multiple of two numbers.Open tool →
Euclidean algorithm
Divide the larger by the smaller, replace the larger by the remainder and repeat until the remainder is zero. The last divisor is the GCD.
Get the LCM
Multiply the numbers and divide by the GCD. For 12 and 18, the GCD is 6 and the LCM is 36.
Why it matters
The GCD simplifies fractions and the LCM gives common denominators.
Frequently asked questions
What if the numbers share nothing?
Then the GCD is 1.
Does it work for more than two numbers?
Yes, apply it step by step.
Find the greatest common divisor and least common multiple of two numbers.Open tool →
Related guides
- 📖 How to Calculate Percentage Increase and Decrease (with Examples)
- 📖 The Pomodoro Technique: How 25-Minute Sprints Beat Procrastination
- 📖 How to Convert cm to Inches (and Inches to cm) Fast
- 📖 How to Schedule a Meeting Across Time Zones (Without Mistakes)
- 📖 How Much House Can I Afford? The Simple Rules Lenders Use
- 📖 What Is a Healthy BMI? How to Calculate and Read Your Result
- 📖 How Loan Interest Works: Monthly Payments and Total Cost Explained
- 📖 How Much to Tip in the US: Restaurants, Delivery, Salons and More
- 📖 All how-to guides