๐ข Number Theory Tool
LCM & GCF Calculator
Least Common Multiple · Greatest Common Factor
Find LCM and GCD/HCF for 2 to 6 numbers using prime factorization or Euclidean algorithm. Step-by-step breakdown.
lcm calculator
gcf calculator
hcf calculator
gcd calculator
Calculator
Enter Numbers (positive integers)
⚠️ Up to 6 numbers supported. All numbers must be positive integers.
LCM (Least Common Multiple)
—
smallest number divisible by all inputs
GCF / GCD (Greatest Common Factor)
—
largest number dividing all inputs
๐ Calculation Steps
Enter numbers and click "Calculate" to see detailed steps using prime factorization and Euclidean algorithm.
Quick Reference
Examples of LCM & GCF
| Numbers | LCM | GCF (HCF) |
|---|---|---|
| 12, 18 | 36 | 6 |
| 8, 12, 20 | 120 | 4 |
| 15, 25, 30 | 150 | 5 |
| 7, 11, 13 | 1001 | 1 |
| 24, 36, 48 | 144 | 12 |