Listed below are all the factors of 40 and 60, common ones highlighted and the HCF in red.

40: 1,2,4,5,8,10,20,40

60: 1,2,3,4,5,6,10,12,15,20,30,60

The highest common factor is very useful in simplifying fractions.

Related topic: lowest common denominator.