That is (40 x 0.621371) = 24.85
Your query is how many miles in 40 KM and answer for your query is 24.85 Miles.