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