GCD/LCM Calculator
Calculate the greatest common divisor and least common multiple of two numbers.
12GCD
72LCM
How to use GCD/LCM Calculator
- 1Enter two positive integers.
- 2The GCD and LCM update live.
Why use this tool
- Uses the Euclidean algorithm for fast, accurate GCD computation.
Frequently asked questions
How is LCM calculated from GCD?
LCM(a, b) = (a × b) / GCD(a, b) — this tool computes GCD first via the Euclidean algorithm, then derives LCM from it.