GCF and LCM of 6 and 18
The greatest common factor and least common multiple of 6 and 18.
GCF of 6 and 18
6
LCM of 6 and 18
18
How it works
Break each number into its prime factors:
- 6 = 2 × 3
- 18 = 2 × 3²
The GCF (6) multiplies the primes both share, at the lowest power each appears. The LCM (18) multiplies every prime that appears in either number, at the highest power — which is also 6 × 18 ÷ 6 = 18.
Try other numbers
Need a different pair? The LCM & GCF calculator computes the GCF and LCM for any two numbers.
Related pairs
Frequently asked questions
What is the GCF of 6 and 18?+
The greatest common factor (GCF) of 6 and 18 is 6 — the largest number that divides both 6 and 18 with no remainder.
What is the LCM of 6 and 18?+
The least common multiple (LCM) of 6 and 18 is 18 — the smallest number that both 6 and 18 divide into. It equals 6 × 18 ÷ GCF = 108 ÷ 6 = 18.