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