Distance Calculator
Calculate distance, time or speed for any journey.
All calculations happen locally in your browser — nothing is uploaded, stored or tracked.
Pick a direction
Find distance, or find time.
Enter the two knowns
Speed and time, or distance and speed.
Read the result
In the unit you need.
What Is a Distance Calculator?
The distance a vehicle or runner covers is speed multiplied by time. This calculator solves travel problems in both directions: how far you go at a given speed, and how long a given distance takes.
It pairs with the speed calculator (which finds average speed) — together they cover every combination of the distance–time–speed relationship.
The Formulas
Distances can be read in kilometres or miles; speeds in km/h, mph, m/s or knots. All conversions use exact factors.
Your data never leaves your device.
Every calculation on this site runs in your browser using vanilla JavaScript. Nothing is uploaded, stored or tracked.
- 100% local, client-side calculations
- No data stored on any server
- No tracking, no analytics, no ads scripts
- Works offline once loaded
Frequently Asked Questions
How do I calculate distance from speed and time?
Multiply them. Driving at 80 km/h for 3 hours covers 240 km.
How long does a journey take?
Divide the distance by the speed: 400 km at 100 km/h takes 4 hours.
How far is a 30-minute drive on the highway?
At 100 km/h, 30 minutes covers 50 km. The calculator handles any speed and time.
Can I convert miles to kilometres?
Yes — 1 mile = 1.609344 km, applied automatically when you switch display units.
Does it account for stops?
No — it assumes constant speed. For real trips, add stop and traffic time yourself.