Speed Calculator
Solve speed, distance or time from the other two — km/h, m/s, mph.
Speed Calculator
How was your experience with this tool?
Found a bug? Missing a feature? Tell us — it takes 10 seconds.
See how it works
Watch a quick simulation of this tool in action — no file needed.
How to use Speed Calculator
Follow these steps — everything happens instantly in your browser.
- 1
Step 1. Pick what to solve for: speed, distance or time.
- 2
Step 2. Enter the two known values (distance in km, time in hours).
- 3
Step 3. Choose the speed unit you want the result in (km/h, m/s or mph).
- 4
Step 4. Read the result and copy it to your clipboard.
Speed Calculator: Solve for Speed, Distance, or Time Instantly
Why this matters
The relationship between speed, distance, and time is one of the most frequently used formulas in daily life, yet people routinely calculate it wrong. Commuters estimate arrival times by dividing distance by a rough speed guess, often forgetting that average speed differs significantly from cruising speed due to traffic signals, congestion, and varying road conditions. Students in physics and engineering courses need to solve these problems dozens of times per semester, and manual unit conversions between km/h, m/s, and mph introduce errors that propagate through subsequent calculations.
This calculator handles the triangular relationship elegantly: you pick which variable to solve for, enter the other two, and select your preferred output unit. Internally it works in meters per second and converts to km/h (divide by 3.6) or mph (divide by 2.23694) for display. This single internal unit eliminates the conversion errors that happen when you try to chain manual conversions. The three-mode interface means you never have to rearrange the formula yourself — just tell the tool what you are looking for.
Calculation modes and unit conversions
| Solve for | Formula | Input fields |
| --- | --- | --- |
| Speed | distance / time | Distance (km) + Time (h) |
| Distance | speed x time | Speed (km/h) + Time (h) |
| Time | distance / speed | Distance (km) + Speed (km/h) |
|
| Output unit | Conversion from m/s |
| --- | --- |
| km/h | multiply by 3.6 |
| m/s | no conversion needed |
| mph | multiply by 2.23694 |
How to use it
Select what you want to solve for using the mode buttons: speed, distance, or time.
Enter the two known values — distance in kilometers and time in hours, or the appropriate pair based on your selected mode.
Choose your preferred output unit: km/h for everyday driving, m/s for physics problems, or mph for US contexts.
Read the result and click the copy button to transfer it to your clipboard.
Switch modes without clearing your values to quickly explore related calculations from the same inputs.
Testing your result
Verify with a simple known problem: 120 km covered in 2 hours should give 60 km/h. In m/s that is 16.67 m/s (60 / 3.6), and in mph that is approximately 37.28 mph (60 / 1.60934). Test the distance mode by entering 100 km/h for 3 hours and confirming the result is 300 km. Test the time mode by entering 500 km at 100 km/h and confirming the result is 5 hours. If any result looks wrong, check that you entered time in hours (not minutes) — a 30-minute trip should be entered as 0.5 hours.
Common mistakes
Entering time in minutes instead of hours — 30 minutes must be entered as 0.5 hours, otherwise the speed calculation will be off by a factor of 60.
Mixing unit systems in the input fields, such as entering distance in miles but the tool expects kilometers.
Forgetting that the speed calculated is an average, not a constant — real-world trips involve acceleration, deceleration, and stops that the formula does not account for.
Assuming m/s and km/h are close in magnitude — 100 km/h is approximately 27.78 m/s, not 100 m/s.
Using the calculator for complex multi-leg trips without computing each leg separately and summing the results.
Edge cases and options
The calculator uses a fixed internal unit of m/s, converting inputs to and from that base. One mph equals approximately 0.44704 m/s, and one km/h equals approximately 0.27778 m/s. For time inputs that are not whole hours, convert minutes to decimal hours (45 minutes = 0.75 hours) or express time as a fraction. The tool does not accept mixed time formats like '1 hour 30 minutes' — you must pre-convert to 1.5 hours. For very large distances like intercity or international travel, the calculator works the same way as for short trips.
Real-world use cases
Commuters estimating whether they can reach a destination by a specific time given current distance and average speed conditions.
Physics students solving kinematics problems that require converting between m/s, km/h, and mph for different parts of a calculation.
Road trip planners comparing two routes by total travel time when distances and expected average speeds differ.
Runners and cyclists calculating pace from known distance and time, then converting to speed for comparison across training sessions.
Frequently asked questions
Q: What units do the distance and time inputs use?
A: Distance is entered in kilometers and time in hours. If your time is in minutes, divide by 60 first (for example, 45 minutes = 0.75 hours). The result can then be displayed in km/h, m/s, or mph.
Q: How is speed converted between units?
A: Internally the calculator works in m/s. To convert to km/h it multiplies by 3.6. To convert to mph it multiplies by 2.23694 (since 1 mph equals approximately 0.44704 m/s).
Q: Can I solve for distance or time instead of speed?
A: Yes. Use the mode buttons at the top to select what you want to solve for. The other two fields become inputs and the third is calculated automatically.
Q: Why does my speed result look wrong?
A: The most common cause is entering time in minutes instead of hours. A 120 km trip in 30 minutes should be entered as 120 km and 0.5 hours, giving 240 km/h — not entering 30 hours which would give 4 km/h.
Q: Is this the same as average speed?
A: Yes. The formula speed = distance / time calculates average speed over the entire duration. It does not account for variations in speed during the trip, stops, or changes in road conditions.
Q: Can I use this for running or cycling pace?
A: Yes. Enter your total distance in km and total time in hours, then read the speed in km/h or m/s. To convert speed to pace (minutes per km), divide 60 by the speed in km/h.
Start using it now
Try the Speed Calculator tool. See also Unit Converter, Fuel Cost Calculator, and Scientific Calculator.
Want the extended step-by-step tutorial? Read it here.
Why use this tool
Private by design
All processing happens locally in your browser. Open DevTools → Network and you'll see zero file uploads. Ever.
Instant
No upload wait, no queue, no server round-trip. Results appear the moment you drop a file.
Free & unlimited
No accounts, no watermarks, no daily caps. Use it as many times as you like, forever.
Works everywhere
Desktop, tablet or phone — every tool is responsive and installable as a PWA for offline use.
Frequently asked questions
Everything you might want to know about speed calculator.
❤️ This tool is free — forever.
Sharing it helps more people discover it, and ad revenue from visitors is what keeps it free. No accounts, no catch.
Unit Converter
Length, weight, temperature, area, volume & speed — all in one.
Fuel Cost Calculator
Estimate fuel used and trip cost from distance, efficiency and price.
Scientific Calculator
A real working calculator: functions, constants, memory & percent.
Ratio Calculator
Solve the missing side of a ratio, or simplify it with GCD.