➗ GCD & LCM Calculator

Greatest common divisor (GCD)6
Least common multiple (LCM)36

Enter two or more integers and instantly get the greatest common divisor (GCD) and least common multiple (LCM). Handy for simplifying fractions, homework, or lining up events that repeat on different cycles.

How to use

  1. Enter two or more integers (use "Add number" to add up to 6).
  2. The GCD and LCM are calculated automatically.

FAQ

Can I calculate the GCD/LCM of more than 2 numbers?

Yes — use the "Add number" button to add up to 6 numbers, and the tool computes the GCD and LCM across all of them.

Is this useful for simplifying fractions?

Yes — dividing both the numerator and denominator by their GCD simplifies a fraction to its lowest terms.

Can I enter decimals or negative numbers?

This tool only supports positive integers. Decimals and negative values are excluded from the calculation.