GCD & LCM Calculator
GCD & LCM Calculator: free, accurate and easy to use. Works in your browser with no sign-up.
How to use
Find the greatest common divisor (GCD) and least common multiple (LCM) of two or more numbers, with the prime factorization of each. Enter integers separated by commas or spaces and see the results instantly. GCD and LCM are used for simplifying fractions, scheduling and solving divisibility problems.
- Enter your numbers.
- Results update instantly.
- Copy the result you need.
More tools
Frequently asked questions
What is the GCD?
The largest positive integer that divides every number in the list without a remainder.
How is the LCM related to the GCD?
For two numbers, LCM = (a × b) ÷ GCD, so finding the GCD also gives you the LCM.
Is it free?
Yes. All tools are free, with no sign-up and no limits.
Is my data stored or sent?
No. Everything is calculated in your browser and nothing you enter is sent anywhere.
Are the results exact?
Fractions, bases and GCD/LCM use exact integer arithmetic. Statistics use standard formulas on decimal numbers.