HCF and LCM of 8 and 12
For 8 and 12, the highest common factor is 4 and the least common multiple is 24.
HCF = 4. LCM = 24.
These two results answer different questions: the HCF is the largest shared divisor, while the LCM is the smallest positive shared multiple.
4 divides both 8 and 12 exactly.
24 is the first positive number both values divide into.
Factors of 8 and 12
- Factors of 8
- 1, 2, 4, 8
- Factors of 12
- 1, 2, 3, 4, 6, 12
- Common factors
- 1, 2, 4
The common factors are the values that divide both numbers with no remainder. The greatest one is 4, so HCF(8, 12) = 4.
Prime factorisation working
For the HCF, use only the shared primes at their smallest powers: 2² = 4. For the LCM, use every prime needed at its greatest power: 2³ × 3 = 24.
Need to calculate different numbers?
Enter any valid pair or longer list in the full calculators. They update as you type and show their own working.
What these answers mean
Use the HCF when you want the largest equal grouping size or to simplify a fraction. Use the LCM when you want the first time two repeating schedules meet, or a least common denominator for fractions.
This page is a worked answer for 8 and 12. It is not a replacement for checking your own question: use the calculators above for other inputs.