GCD & LCM Calculator
Calculate the Greatest Common Divisor (GCD) and Least Common Multiple (LCM) of two numbers.
Input Numbers
Results
GCD / HCF
Greatest Common Divisor
6
LCM
Least Common Multiple
36
GCD & LCM Calculator
Solve common math problems instantly with our GCD & LCM Calculator. This tool computes two important properties of integer pairs:
- GCD (Greatest Common Divisor): Also known as the Greatest Common Factor (GCF) or Highest Common Factor (HCF). It is the largest positive integer that divides each of the integers.
- LCM (Least Common Multiple): The smallest positive integer that is divisible by both integers.
Real-World Applications
- Fractions: GCD is used to simplify fractions to their lowest terms. LCM is used to find the Lowest Common Denominator (LCD) when adding or subtracting fractions.
- Scheduling: LCM helps determine when two repeating events will occur at the same time (e.g., if one bell rings every 4 minutes and another every 6 minutes, they will ring together every 12 minutes).
- Tiling: GCD helps determine the largest square tile size that can perfectly cover a rectangular floor of a given size.
How to Use
- Enter the first integer.
- Enter the second integer.
- The tool instantly calculates and displays the GCD and LCM.
Mathematical Relationship
There is a simple relationship between GCD and LCM for any two numbers a and b:
a × b = GCD(a, b) × LCM(a, b)