ToolsKitFull site

GCD/LCM

Greatest common divisor

Loading interactive tool…

Open the full tool for saved settings, clipboard access, or more space.

How to use this tool

Enter two positive whole numbers and select GCD. The tool uses Euclid’s remainder algorithm to find their greatest common divisor and derives the least common multiple.

Worked example

For 48 and 36, the GCD is 12 and the LCM is 144. GCD is useful when simplifying fractions.

What to keep in mind

Use positive safe integers. LCM is a × b ÷ GCD and may exceed safe numeric precision even when both inputs are individually safe.

tools4freeonline.com google.com, pub-5366955859957266, DIRECT, f08c47fec0942fa0google.com, pub-5366955859957266, DIRECT, f08c47fec0942fa0