A knot is indeed a measure of speed for ships (and aircraft). One knot equals one nautical mile per hour, which is approximately 1.852 km/h or 1.151 mph. It has been used in maritime navigation for centuries and is based on the length of a nautical mile.