Skip to main content
Calculate Kilometers To Miles Per Hour

Specialized Speed and Data Tools

CSV Speed Converter

Convert speed columns in uploaded comma-separated datasets between units.

CSV Speed Converter Inputs

Converted column sample Exact 0.621371 / 1.609344 factor

59.03

Column transformation factor
0.621371
Step-by-step working
  1. Column transformation factor: 0.621371
  2. Sample row calculation: 95 × 0.621371 = 59.03

What Is the CSV Speed Converter?

A CSV Speed Converter is a tool that finds the exact multiplier to convert a speed column in a comma-separated values (CSV) file between km/h, mph, m/s and knots, and tests it on a sample value.

Large data sets from GPS loggers, traffic counters and weather stations store speed in 1 unit per column. Converting the column needs 1 multiplier applied to every row. The tool gives that multiplier to 6 decimals and checks it on a sample row.

The tool has 3 inputs: a sample speed, the original column unit and the target unit. The default 95 km/h to mph returns 59.030 mph with a column factor of 0.621371.

Paste the factor into a spreadsheet formula such as =A2*0.621371 and fill it down the column. The same factor works in Python (df["mph"] = df["kmh"] * 0.621371), R and SQL.

How Does the CSV Speed Converter Work?

The tool divides the m/s value of 1 source unit by the m/s value of 1 target unit to get the column factor, then multiplies the sample value by that factor.

  1. Enter a sample value: Type one value from the column, such as 12.4.
  2. Pick the source unit: Choose the unit the column uses now, such as m/s.
  3. Pick the target unit: Choose the unit you need, such as km/h.
  4. Copy the factor: m/s to km/h shows a factor of 3.600000; the sample becomes 44.640 km/h.

CSV Speed Converter Formula

The column conversion formula is factor = fsource ÷ ftarget, where f is the m/s value of 1 unit.

converted = value × (f_source ÷ f_target)

  • f(km/h) = 1 ÷ 3.6 = 0.277778 m/s
  • f(mph) = 0.44704 m/s
  • f(knots) = 1852 ÷ 3600 = 0.514444 m/s
Variables in the CSV Speed Converter formula
SymbolMeaning
f_sourcem/s in 1 source unit
f_targetm/s in 1 target unit
factorMultiplier to apply to every row

CSV Speed Converter Example

A weather station CSV stores wind in knots. An analyst needs a km/h column.

  1. Factor: 0.514444 ÷ 0.277778 = 1.852000
  2. Sample row: 18 kn × 1.852000 = 33.336 km/h
  3. Spreadsheet: =B2*1.852 filled down the column

The knots to km/h column factor is 1.852000.

CSV Speed Converter Conversion Table

The table lists the 12 factors needed to convert any speed column between km/h, mph, m/s and knots.

Column conversion factors between 4 speed units
FromToFactorSpreadsheet formula
km/hmph0.621371=A2*0.621371
km/hm/s0.277778=A2*0.277778
km/hknots0.539957=A2*0.539957
mphkm/h1.609344=A2*1.609344
mphm/s0.447040=A2*0.447040
mphknots0.868976=A2*0.868976
m/skm/h3.600000=A2*3.600000
m/smph2.236936=A2*2.236936
m/sknots1.943844=A2*1.943844
knotskm/h1.852000=A2*1.852000
knotsmph1.150779=A2*1.150779
knotsm/s0.514444=A2*0.514444

Factors derive from exact definitions: 1 mi = 1,609.344 m and 1 NM = 1,852 m.

What Are the Uses of the CSV Speed Converter?

The CSV Speed Converter has 4 main uses: telematics exports, weather data cleaning, research data preparation, and dashboard unit switching.

  • Telematics exports: Fleet analysts convert m/s tracker exports into km/h or mph.
  • Weather data: Climatologists unify station files that mix knots and m/s.
  • Research prep: Scientists convert US mph data into SI units before analysis.
  • Dashboards: BI teams add a converted column for regional reports.

CSV Speed Converter FAQ

Does the tool upload my file?

No, the tool does not upload files; it gives the factor to apply in your own spreadsheet or script.

How many decimals should the factor have?

Use 6 decimals, which keeps conversion error below 0.0001%.

Sources and Review

Unit factors follow the exact definitions in NIST Special Publication 811 (Guide for the Use of the International System of Units): 1 mile = 1,609.344 m, 1 nautical mile = 1,852 m, 1 foot = 0.3048 m. For the main km/h and mph conversion, use the kilometers per hour to miles per hour converter on the homepage.

Written and reviewed by . Last updated .