GCF and LCM of 5 and 8

The greatest common factor and least common multiple of 5 and 8.

GCF of 5 and 8
1
LCM of 5 and 8
40
TThe Crypto Tools69+ free crypto calculators — profit, fees, DCA and more.Our networkVisit →

How it works

Break each number into its prime factors:

  • 5 = 5
  • 8 =

The GCF (1) multiplies the primes both share, at the lowest power each appears. The LCM (40) multiplies every prime that appears in either number, at the highest power — which is also 5 × 8 ÷ 1 = 40.

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 5 and 8?+

The greatest common factor (GCF) of 5 and 8 is 1 — the largest number that divides both 5 and 8 with no remainder.

What is the LCM of 5 and 8?+

The least common multiple (LCM) of 5 and 8 is 40 — the smallest number that both 5 and 8 divide into. It equals 5 × 8 ÷ GCF = 40 ÷ 1 = 40.