Every speed unit is stored as an exact number of metres per second. The tool turns your speed into metres per second and then into the unit you picked, so any two units agree with all the others.
A mile is exactly 1,609.344 metres, so 1 mph is 1.609344 km/h. A kilometre per hour is a thousand metres over 3,600 seconds, so 1 m/s is 3.6 km/h. A knot is one nautical mile per hour, and a nautical mile is exactly 1,852 metres, so 1 knot is 1.852 km/h or about 1.15078 mph.
The shortcut for mph to km/h is to multiply by 1.609. For km/h to mph, multiply by 0.6214. Many people use 8 over 5 and 5 over 8 as a mental method: 50 mph is about 80 km/h.
“kph” and “kmh” are other spellings for km/h, and they mean the same thing here.
Check it by hand: one mile is 1.609344 km, so 60 mph is 60 × 1.609344 = 96.56 km/h. For metres per second, 60 × 0.44704 = 26.82 m/s. One foot per second is 0.3048 m/s, so 26.8224 ÷ 0.3048 = 88 ft/s. A knot is 0.514444 m/s, so 26.8224 ÷ 0.514444 = 52.14 knots.