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
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
Frequently Asked Questions
More Useful Tools
Explore more travel and measurement tools to make your journey easier and more informative.
Speed Unit Converter
Convert between km/h, mph, m/s, and knots instantly. Useful for understanding speed readings from different sources.
How Train Speed Test Works
Learn how GPS-based speed measurement works, how accurate it is, and tips for the best readings inside a train.
Explore all of our train and speed-related tools