Math · NUMORA

Gcd Lcm Calculator

Greatest common divisor and least common multiple.

Open interactive calculator

How to use

Euclid’s algorithm for gcd, then ab/gcd for lcm.

Formula

lcm(a,b) = ab / gcd(a,b)

FAQ

Is this Gcd Lcm calculator accurate?

The formula and assumptions are shown on the page, and the engine is covered by audit tests. Results are for reference — not financial or medical advice.

Do I need an account?

No. Calculations run in your browser. Recents can stay on this device.

What inputs do I need?

Euclid’s algorithm for gcd, then ab/gcd for lcm.

Related calculators