Skip to content
ToolInstant

GCD & LCM Calculator

Local

Find the greatest common divisor (GCD or HCF) and least common multiple (LCM) of two or more whole numbers of any size, with Euclid's algorithm step by step.

Loading tool…

Ready · Runs in this browser · nothing uploaded

Utility tools · Free · No upload · No sign-up

How to use the gcd & lcm calculator for free

  1. 1Enter two or more whole numbers separated by commas or spaces.
  2. 2Read the GCD (HCF) and LCM.
  3. 3Follow Euclid's algorithm in the working panel.

Also useful for: gcd calculator, lcm calculator, hcf calculator, hcf and lcm, euclidean algorithm, greatest common divisor.

  • Completely free, no account needed
  • Your data never leaves your device
  • Works on desktop and mobile

Frequently asked questions

Is this GCD and LCM calculator free?+

Yes. Every tool on ToolInstant is free to use with no sign-up and no limits on how often you use it.

Is my data uploaded anywhere?+

No. Everything is processed inside your browser using JavaScript. Your input never leaves your device.

Does it work on mobile?+

Yes. ToolInstant works in any modern browser on phones, tablets and desktops.

Is HCF the same as GCD?+

Yes. Highest common factor (HCF), greatest common divisor (GCD) and greatest common factor (GCF) are three names for the same thing.