GCD and LCM Calculator
Find the greatest common divisor and least common multiple of numbers.
Enter the numbers separated by commas; we'll calculate the GCD and LCM values.
Result
EBOB: 6 · EKOK: 72
GCD = 6, LCM = 72
Result in all units
Step-by-step solution
What Are GCD and LCM?
The GCD (greatest common divisor) is the largest number that divides two numbers without a remainder. The LCM (least common multiple) is the smallest number that is a multiple of both.
How is it calculated?
How to Calculate?
- Enter the numbers.
- For the GCD, multiply the lowest powers of the common prime factors.
- For the LCM, multiply the highest powers of all factors.
GCD × LCM = product of the numbers.
Frequently Asked Questions
What are the GCD and LCM of 12 and 18?
GCD = 6, LCM = 36.