Answer – you can compare both institutes in different parameters like
Campus Area – IIT Kharagpur has a bigger campus area ( 2100 Acres ) than the IIT Kanpur ( 1100 Acres ).
IIT Kanpur has better sports culture, Academics, and placement services than the IIT Kharagpur but for better campus infrastructure, Alumni Network, and better career exposure you would get at IIT Kharagpur.