GCD & LCM Calculator

Calculate Greatest Common Factor (GCD) and Least Common Multiple (LCM) of multiple numbers with step-by-step solutions.

Calculator

Enter 2 or more positive integers (1 to 10,000,000,000)

Enter two or more positive integers to calculate their GCD (Greatest Common Factor) and LCM (Least Common Multiple).

Complete User Guide

What is GCD?

GCD (Greatest Common Divisor) or GCF (Greatest Common Factor) is the largest positive integer that divides each of the given numbers without leaving a remainder.

For example, GCD of 24 and 36 is 12, because 12 is the largest number that divides both 24 and 36 evenly.

What is LCM?

LCM (Least Common Multiple) is the smallest positive integer that is a multiple of each of the given numbers.

For example, LCM of 24 and 36 is 72, because 72 is the smallest number that is divisible by both 24 and 36.

How to Use This Calculator

  1. Enter two or more positive integers (separated by commas or new lines)
  2. Click 'Calculate GCD & LCM' to find the results
  3. View the GCD and LCM values
  4. Review the step-by-step solution to understand the calculation process
  5. Use charts to visualize the numbers and their relationships

Examples

Example 1: Two Numbers

Numbers: 24, 36

GCD: 12

LCM: 72

Example 2: Three Numbers

Numbers: 12, 18, 24

GCD: 6

LCM: 72

📤 Share This Tool