All tools

GCD & LCM Calculator

Common divisors and multiples.

Greatest common divisor

6

Least common multiple

36

Optional: sends these inputs and this result to AI. Avoid confidential or sensitive information.

About GCD & LCM Calculator

The greatest common divisor is the largest integer dividing both numbers exactly. The least common multiple is the smallest positive integer divisible by both, useful for fractions and repeating schedules.

Important considerations

Accepts two positive whole numbers up to 1,000,000. Zero, negatives, and fractions are outside this tool's input range; results use exact integer arithmetic within these limits.

Want to understand the math?

Read our plain-language guide: How to Find GCD and LCM (and When to Use Each)