Find the prime factors of both numbers 40 2*2*2*5 32 2*2*2* 2*2 2*2*2 GCF=product of the shared factors=2*2*2=8