The nautical mile (n mile) is a unit of length for distances traveled at sea and is a non-SI unit selected by the state as a legal unit of measurement. The international nautical mile, 1 n mile = 1852 m, is used only for navigation distances. The imperial system also has a British nautical mile, equal to 6080 ft, i.e., 1853.184 m, about 0.06% longer than the international nautical mile; the corresponding British knot is 1.00064 kn.
The two nautical miles share the same symbol, so check which one a reference means. In petroleum engineering, well depth and pipe length are expressed in meters or feet, never in nautical miles.