Skip to content
Local

Study

GCD and LCM Calculator

Find the GCD (HCF) and LCM of two or more whole numbers, with each number’s prime factors and Euclid’s method step by step.

Runs in your browser. Nothing leaves this device.

Open GCD and LCM Calculator

Free, no account, no watermark and no daily limit.

Open GCD and LCM Calculator

How to use GCD and LCM Calculator

  1. 1Type two or more whole numbers, separated by commas or spaces.
  2. 2Read the GCD and LCM.
  3. 3See the prime factors of each number and the steps of Euclid’s method.

Questions

Are GCD and HCF the same?

Yes. Greatest common divisor and highest common factor are two names for the biggest number that divides them all.

How does Euclid’s method work?

Divide the bigger number by the smaller and keep the remainder. Repeat with the smaller number and the remainder. The last non-zero remainder is the GCD.

How big can the numbers be?

Any size for GCD and LCM. Prime factors are found quickly for most numbers up to about 20 digits; a very large number with two big prime factors may be too slow to split, and the page says so.

Is it free?

Yes. No account, no watermark and no daily limit.

Esc