Skip to content
RiverMath

GCD and LCM

GCD is Euclid’s algorithm on the absolute values. LCM is |a| / GCD × |b|. Both inputs must be integers. 0 and 0 is refused.

GCD
6
LCM
36

GCD: 6

GCD(12, 18) is 6 and LCM is 36. Fractions are not this page.

Recent on this tool

Full history

This list is the copy in this browser. Click a result to reopen those fields. The server copy sits behind the site owner's PIN.

No results yet. Use a calculator — the first reading appears here.

An educational estimate. Not medical, tax or credit advice.

Related calculators