GCF and LCM of 6 and 12
The greatest common factor and least common multiple of 6 and 12.
GCF of 6 and 12
6
LCM of 6 and 12
12
How it works
Break each number into its prime factors:
- 6 = 2 × 3
- 12 = 2² × 3
The GCF (6) multiplies the primes both share, at the lowest power each appears. The LCM (12) multiplies every prime that appears in either number, at the highest power — which is also 6 × 12 ÷ 6 = 12.
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 12?+
The greatest common factor (GCF) of 6 and 12 is 6 — the largest number that divides both 6 and 12 with no remainder.
What is the LCM of 6 and 12?+
The least common multiple (LCM) of 6 and 12 is 12 — the smallest number that both 6 and 12 divide into. It equals 6 × 12 ÷ GCF = 72 ÷ 6 = 12.