Find the greatest common divisor (GCD, also called HCF) and the least common multiple (LCM) of two or more numbers. The prime factorization of every number is shown so you can follow the working.
Last updated: 21 Sep 2026
How to use LCM & GCD Calculator
- Type or paste 2 to 10 whole numbers, separated by commas or spaces.
- Click Calculate.
- Read the GCD and LCM, then follow the prime factorization steps below them.
Frequently asked questions
What is the difference between GCD and LCM?
The GCD is the largest number that divides all of your numbers exactly. The LCM is the smallest number that all of your numbers divide into exactly.
Is GCD the same as HCF or GCF?
Yes. Greatest common divisor (GCD), highest common factor (HCF) and greatest common factor (GCF) are three names for the same value.
Is this calculator free to use?
Yes, it is completely free, with no signup or account required.
Does my data get uploaded anywhere?
No. Everything is calculated in your browser and nothing is sent to our servers.
User Reviews
No reviews yet — be the first to try this tool and leave one.
More Free Tools
Handy the next time you're here
Scientific Notation Converter
Calculators
Scientific Notation Converter, a free, instant tool.
Pythagorean Theorem Calculator
Calculators
Pythagorean Theorem Calculator, a free, instant tool.
Permutation & Combination Calculator
Calculators
Permutation & Combination Calculator, a free, instant tool.
Standard Deviation Calculator
Calculators
Standard Deviation Calculator, a free, instant tool.
Simplify Fractions Calculator
Calculators
Simplify Fractions Calculator, a free, instant tool.
Leave a review