This calculator estimates how long a train trip will take and how much it will cost based on four key inputs: total distance, average speed, number of intermediate stops, and a fare rate per kilometre. It is designed for commuters, students, and travellers who want a quick way to compare routes, check whether a trip fits into a schedule, or build a rough budget for upcoming rail journeys.
The tool does not use live timetable or ticketing data. Instead, it applies simple, transparent formulas that you can adjust by changing the inputs. That makes it useful for what-if scenarios such as comparing an express train to a slower local service, or checking how much extra time a few additional stops might add to your journey.
The total journey time is split into two parts:
You enter the total distance in kilometres and an average speed in kilometres per hour (km/h). The calculator first finds the base running time by dividing distance by speed:
Base travel time (hours) = distance (km) ÷ average speed (km/h)
For example, if you travel 120 km at an average of 80 km/h, the running time is:
120 ÷ 80 = 1.5 hours (that is, 1 hour 30 minutes).
Next, the tool adds an allowance for each intermediate stop. By default, it assumes 5 minutes of dwell time per stop. This is intended to cover slowing down, stopping, passengers boarding and alighting, and accelerating back to cruising speed.
The total time is therefore:
Total time (hours) = (distance ÷ speed) + (number of stops × 5 / 60)
Written in a more formal way using variables:
Then the formula becomes:
t = d ÷ v + n × (5 ÷ 60)
where t is the total travel time in hours.
In MathML form, the same idea can be expressed as:
This structure lets you see clearly that the total time is a combination of motion at average speed plus a fixed time cost for each stop.
Train operators price tickets in many different ways, but a common and easy-to-understand method is a per kilometre fare. In this calculator, you enter a rate in your chosen currency per kilometre, and the tool multiplies that by the total distance of your trip.
Estimated fare = distance (km) × fare per km
For instance, if your rate is $0.10 per km and your journey is 200 km long, the estimated fare is:
200 × 0.10 = $20.00
In the real world, many networks use more complex pricing:
Because of that, the fare output here should be treated as a baseline estimate. You can tune the fare per km value so that the result roughly matches the route or operator you have in mind, then use official booking channels to check precise prices.
The average speed you enter is usually lower than the train’s maximum speed. It averages together acceleration, braking, speed limits, curves, and any scheduled stops. If you are not sure what number to use, the following guidelines can help:
If you have access to an actual timetable, you can estimate the average speed by dividing the scheduled distance by the scheduled time. For example, if a direct train covers 300 km in 2 hours 30 minutes, the average speed is roughly 120 km/h. Use that figure in the calculator if you want a result that mirrors that type of service.
For exploratory planning, you can experiment with several average speeds to see how much difference an express service might make compared with a slower, more frequent-stopping train.
When you run the calculator, you typically see:
Use the total time to answer practical questions such as:
The fare estimate is helpful for budgeting and comparing options:
Remember that both outputs are approximations. Always verify actual schedules and ticket prices with the rail operator before finalising plans.
To see how the formulas come together, consider a sample journey with the following details:
Base travel time (hours) = distance ÷ speed
150 ÷ 90 = 1.666… hours
Converting 0.666… hours to minutes:
0.666… × 60 ≈ 40 minutes
So the running time is about 1 hour 40 minutes.
Each stop is assumed to take 5 minutes. With 3 stops:
3 × 5 = 15 minutes
Total journey time is therefore:
1 hour 40 minutes + 15 minutes = 1 hour 55 minutes (about 1.92 hours).
Fare = distance × fare per km
150 × 0.12 = $18.00
So, with these settings, the calculator would estimate a journey time of just under 2 hours and a fare of about $18.
The following table shows three stylised train journeys using the same assumption of 5 minutes per intermediate stop and a fare rate of $0.12 per km. These are illustrative values to demonstrate how distance, speed, and stops interact.
| Route type | Distance (km) | Stops | Average speed (km/h) | Total time | Estimated fare ($) |
|---|---|---|---|---|---|
| Regional commuter | 85 | 6 | 70 | ≈ 1 h 28 min | 10.20 |
| Intercity express | 320 | 2 | 110 | ≈ 3 h 08 min | 38.40 |
| Overnight sleeper | 640 | 5 | 90 | ≈ 7 h 35 min | 76.80 |
You can recreate and modify these scenarios in the calculator by entering the same distances, speeds, and stop counts, then adjusting the fare per kilometre to reflect your local rail system. This helps you quickly understand how much time and money different types of services might require.
To get the most value from the tool, consider these common use cases:
This calculator is built for simplicity and transparency rather than precision matching of any specific railway operator. It relies on several important assumptions:
Because of these assumptions, you should treat the outputs as planning estimates rather than exact predictions. Always cross-check actual schedules and fares with official operator websites or booking platforms before committing to any travel arrangements.
The journey time is usually within a reasonable range for planning, especially if you choose a realistic average speed based on typical services. However, it cannot account for specific timetable details, speed restrictions, or unexpected delays, so it should not be treated as an exact arrival time.
No. The time estimate only covers in-train travel along a single route, plus a fixed dwell time for intermediate stops. It does not include time for platform transfers, connections between different trains, queueing, or possible delays.
If you know an actual ticket price and distance for a similar route, you can divide the price by the distance to approximate a per-kilometre rate. Otherwise, you can start with a round figure, such as $0.10 or $0.15 per km, and adjust it until the estimate feels realistic for your region.
No. This tool is intended for planning, comparison, and education. You should always check real departure times, journey durations, and ticket prices on official rail websites or authorised booking platforms before you travel.
In this version, the dwell time per stop is fixed at 5 minutes inside the calculation. If you expect longer or shorter station stops on your route, consider slightly adjusting the average speed or mentally adding a time buffer to the result.
Keep the train on schedule by balancing speed and stop time. Match the target ETA as the track throws signal shifts and station pauses.
Arrival Report
Score 0 · Best 0
ETA = distance ÷ speed + stop dwell time. Stay close to schedule to win.
Best: 0
ETA window: ±5 min
Speed 0 km/h
Tap/click to move throttle. Keyboard: ← slow, → speed up, space to coast.