GCD & LCM Calculator

Find the greatest common divisor and least common multiple of any numbers.

Ad placeholder (leaderboard)
Enjoying the tools? Go Pro for £4.99 (one-time) and remove all ads — forever, on this device. Remove ads — £4.99

GCD & LCM calculator

Find the greatest common divisor (GCD) and least common multiple (LCM) of any set of whole numbers. The GCD — also called the highest common factor (HCF) — is the largest number that divides every value exactly. The LCM is the smallest number that every value divides into.

Enter two or more numbers, separated by commas or spaces, and both results update instantly. Everything runs in your browser, so nothing you enter is uploaded.

Ad placeholder (rectangle)