Two numbers
gcd: 6
Load this exampleMath & School
GCD and LCM of two or three numbers, with a worked example.
Back to category: Math & School
Examples
gcd: 6
Load this examplegcd: 4
Load this examplegcd: 2
Load this exampleFAQ
The greatest common divisor is the largest number by which all entered numbers are divisible without a remainder.
The least common multiple is the smallest number that is a multiple of all the numbers entered.
For two numbers the following applies: a × b = gCD(a, b) × kgV(a, b).
Especially for reducing fractions: the numerator and denominator are divided by their GCD.
Especially for finding the main denominator when adding and subtracting fractions.
Yes. Enter the third number. Leave it at 0 if you only need two numbers.
Related calculators
Decompose a number into its prime factors and check whether it is prime.
Reduce, expand, add, subtract, multiply and divide fractions.
Solve direct and reverse rule of three with step-by-step calculations.
Sources and notes