Train Speed Test
Live GPS Speedometer

Train Speed Test

Find out exactly how fast your train is moving. Train Speed Test uses your device's built-in GPS to give you a real-time speedometer right in your browser — no app install, no signup. Just tap Start and watch your speed in km/h, mph, m/s or knots.

Live Speed

064128192256320
0.0
km/h
Max Speed
0.0
km/h
Distance
0.00
km
Trip Time
0s
GPS Accuracy
--

Tip: For best accuracy, place your device near a window. Tunnels, dense forests, and steel-framed coaches can briefly degrade GPS readings.

Works on Any Device

Phones, tablets, and laptops with GPS or location services are all supported. Works in your browser, fully responsive.

Private & Local

Your location stays on your device. We never store or transmit GPS data — everything runs locally in your browser.

No App Required

Bookmark trainspeedtest.org. The page loads fast and works in any modern mobile or desktop browser.

How Train Speed Test Works

Train Speed Test uses your device's GPS chip via the browser's Geolocation API to calculate your current speed in real time. As the satellites receive your moving position, the API reports speed in meters per second, which we convert to your preferred unit. When the browser doesn't report speed directly, we calculate it ourselves using consecutive GPS coordinates and the haversine formula.

Step 1 — Allow Location

The first time you press Start, your browser will ask for permission to access your location. This is required for GPS-based speed measurement.

Step 2 — Place Near a Window

GPS works best with a clear line of sight to the sky. Sitting near a window dramatically improves accuracy inside trains.

Step 3 — Keep Screen On

Most browsers pause GPS updates when the screen is locked. Keep your device awake during measurement for continuous readings.

Step 4 — Watch Your Trip

Your live speed, max speed, distance and trip time update automatically. Reset stats at any time without stopping tracking.

How Accurate Is GPS Speed?

Modern phone GPS chips are accurate to within a few meters under good conditions, which translates to speed readings within roughly 1–3 km/h of the true value. Inside trains, accuracy can vary based on several factors:

  • Tunnels & cuttings — GPS signal is lost entirely; speed drops to zero until you exit.
  • Steel coaches — Some heavily shielded coaches reduce signal strength; sit closer to a window.
  • Urban canyons — Tall buildings can cause GPS jitter at low speeds, but high-speed rail measurements stay accurate.
  • Update rate — Most mobile browsers refresh GPS every 1–2 seconds, which is more than enough to track train speed.

Typical Train Speeds Around the World

Suburban / Metro
40 – 80 km/h
Local commuter trains with frequent stops.
Intercity Express
120 – 200 km/h
Long-distance trains in Europe and Asia.
High-Speed Rail
250 – 320 km/h
Shinkansen, TGV, ICE, China CRH.
Maglev
400 – 600 km/h
Magnetic levitation trains, e.g. Shanghai Maglev.

Frequently Asked Questions

Yes. As long as your device can receive a GPS signal (typically near a window), the speedometer updates in real time using the same satellites that power car navigation systems.
GPS signals are blocked in tunnels, underground stations, and some heavily shielded train coaches. The speedometer will resume once the signal is restored. Moving closer to a window usually helps.
No. Train Speed Test runs entirely in your web browser. Just visit the site, allow location access, and press Start.
No. All GPS data is processed locally on your device. We never store, upload, or share your coordinates with any server.
km/h is the most common worldwide, mph in the US and UK. m/s is useful for physics and engineering, and knots are used in aviation and shipping. Switch units anytime in the Options panel.
Typical phone GPS provides speed accuracy within a few km/h. For best results, keep your phone steady near a window with a clear sky view. The current GPS accuracy (in meters) is displayed in the stats panel.
Yes. Safari, Chrome, and Firefox on iOS all support the Geolocation API. You must allow location access when prompted.
The current trip stats (max speed, distance, trip time) are shown while tracking is active. Persistent trip logging is on our roadmap — for now, you can take a screenshot to keep a record.