÷

GCD & LCM Calculator

Find the greatest common divisor and least common multiple, with clear step-by-step working.

Enter your numbers

Type two or more whole numbers. Negatives and decimals are supported.

Results

GCD
Greatest common divisor
LCM
Least common multiple
Step-by-step (Euclidean algorithm)

Prime factorization

Division method

Divisors & common divisors
About GCD & LCM

What is the GCD?

What is the LCM?

Key formula

Where it is used

Your results will appear here.