That is (40 x 1.60934) = 64.37
Your query is how many km in 40 miles and answer for your query is 64.37 KM.