Home / Math / GCD and LCM Calculator

GCD and LCM Calculator

Greatest common divisor and least common multiple.

How it works

GCD uses the Euclidean algorithm. LCM = |a × b| ÷ GCD.

FAQ

Is this calculator free?

Yes. No signup is needed and nothing you enter is stored.

Is the result exact?

Results are rounded for display. For financial, medical, or legal decisions, confirm with a professional.

Do my numbers leave my device?

No. The calculation runs in your browser.