GCD and LCM Calculator
Enter two or more whole numbers to get their highest common factor (GCD) and lowest common multiple (LCM), plus the prime factors of each number.
Ce contenu est en anglais.
Exemples détaillés
Three numbers
12, 18, 30
Highest common factor (GCD): 6 Lowest common multiple (LCM): 180 Prime factors of 12: 2 × 2 × 3 Prime factors of 18: 2 × 3 × 3 Prime factors of 30: 2 × 3 × 5
The GCD is 6 and the LCM is 180.
Two numbers
8 and 12
Highest common factor (GCD): 4 Lowest common multiple (LCM): 24 Prime factors of 8: 2 × 2 × 2 Prime factors of 12: 2 × 2 × 3
Words between the numbers are ignored.
À propos de GCD and LCM Calculator
This calculator finds the highest common factor and the lowest common multiple of two or more whole numbers. Type your numbers separated by commas or spaces and both are shown, along with the prime factors of each number.
The highest common factor, also called the greatest common divisor, is the largest number that divides all of them exactly. The lowest common multiple is the smallest number that all of them divide into. Together they help you simplify fractions and add fractions with different denominators.
Comment utiliser GCD and LCM Calculator
- Type or paste two or more whole numbers.
- Read the GCD and the LCM.
- Check the prime factors if you want to see the working.
Usages courants
- Simplifying a fraction
- Finding a common denominator
- Solving a maths homework problem
- Working out when repeating events line up
Questions fréquentes
What is the difference between GCD and LCM?
The GCD is the biggest number that divides into all your numbers. The LCM is the smallest number that all of them divide into. For 12 and 18 the GCD is 6 and the LCM is 36.
Is HCF the same as GCD?
Yes. Highest common factor and greatest common divisor are two names for the same thing.
How many numbers can I use?
Up to 50 whole numbers of up to 18 digits each. Prime factors are shown for the first eight numbers.
What if the GCD is 1?
Then the numbers have no common factor other than 1, and they are called coprime.