anındahesapla

GCD and LCM calculator

Finds the greatest common divisor and least common multiple of two or more numbers.

· Updated:

WhatsApp X Facebook

GCD = 6, LCM = 72. The largest number that divides 12, 18 and 24 evenly is 6. The smallest number all three divide into is 72.

Students, teachers, people preparing for exams and anyone solving sharing or scheduling problems use this calculator.

Enter as many numbers as you like.

No sign-up is needed to use this tool.

Result

EBOB: 6 · EKOK: 72

GCD = 6, LCM = 72

GCD and LCM

GCD is the greatest common divisor.

LCM is the least common multiple.

Comparing the divisors of 12, 18 and 24 shows that 6 is the largest one they share, while comparing their multiples shows that 72 is the first number all three reach, and these two values unlock many everyday problems.

Prime factors are the quickest route.

Break each number into primes.

For the GCD take the shared primes with their smallest powers, and for the LCM take every prime with its largest power, then multiply, which works quickly even for large numbers.

GCD solves fair sharing.

Cutting ropes of different lengths into equal, longest pieces is a GCD problem.

LCM brings repeating events together. Buses leaving at different intervals next depart together after the LCM of their intervals.

Quick rule: GCD divides, LCM multiplies.

Two numbers have a neat link.

For any two numbers, the GCD times the LCM equals the product of the numbers, a shortcut often used in exams to find one value from the other, though it does not carry over directly to three or more numbers.

Fractions use both: GCD to simplify, LCM to find a common denominator.

Gear trains use the LCM too.

Two meshing gears return to their starting alignment after a number of turns set by the LCM of their tooth counts, which engineers consider to spread wear evenly across the teeth.

Calendars and planetary cycles use the same idea when working out when repeating patterns line up again.

Music rhythms that repeat over different counts also realign after the LCM of their lengths.

Tiling a floor with the largest square tiles that fit without cutting is a GCD problem based on the room's width and length.

Results appear instantly.

How to use it

The calculator factors the numbers and returns the GCD and LCM.

  1. Enter numbers separated by commas or spaces.
  2. Read the GCD.
  3. Read the LCM.
Input or resultValue
Numbers12, 18, 24
LCM (least common multiple)72
GCD (greatest common divisor)6

More than two numbers are allowed.

Before solving a word problem, decide whether it asks you to split something into equal parts or to find when repeating events meet again, since the first needs the GCD and the second the LCM, and picking the wrong one changes the answer completely.

Frequently Asked Questions

What is the GCD of 12, 18 and 24?
6.
What is their LCM?
72.
What is the GCD used for?
Equal sharing and simplifying fractions.
What is the LCM used for?
Finding when repeating events meet and common denominators.
What is the GCD of coprime numbers?
1, so their LCM equals their product, which makes coprime pairs easy to work with.

Related calculations