Speed Calculator
Calculate speed, distance, or time using the classic Speed = Distance ÷ Time formula — with unit conversion, a full step-by-step solution, and a labeled Speed-Distance-Time triangle diagram.
Try an example
Speed–Distance–Time Diagram
The magic triangle shows exactly how the three quantities relate — cover the one you're solving for, and the formula for the other two is what's left. Every value is shown directly on the diagram, including the motion strip below.
Step-by-Step Solution
Here's exactly how this answer was calculated, one step at a time.
Given: Distance = 150 km, Time = 3 h
Step 1: Write the speed formula
Speed tells you how much distance is covered per unit of time.
Speed (S) = Distance (D) ÷ Time (T)Step 2: Convert to consistent base units
All calculations are done in meters and seconds first, then converted to your chosen output unit.
D = 150 km = 150,000 m T = 3 h = 10,800 sStep 3: Substitute the values
S = 150,000 m ÷ 10,800 sStep 4: Divide to get speed in m/s
S = 13.889 m/sStep 5: Convert to km/h
S = 13.889 m/s × conversion factor = 50 km/hStep 6: Final answer
Speed = 50 km/h
The result is:
50 km/h
Free Online Speed Calculator
This speed calculator instantly solves for speed, distance, or time using the fundamental motion formula Speed = Distance ÷ Time. Enter any two known values — distance and time, speed and time, or distance and speed — in any common unit, and the calculator converts everything automatically, works through the full step-by-step solution, and plots your numbers on a labeled Speed-Distance-Time triangle diagram so the whole calculation is visible at a glance.
Whether you're a physics student solving a distance-time-speed word problem, a driver estimating how long a trip will take, or a runner checking pace, this tool handles any equation you throw at it — kilometers, miles, meters, feet, seconds, minutes, or hours — and always shows its complete working, not just the final number.
What Is Speed? (Definition and Formula)
Speed is a measure of how fast an object is moving — specifically, the distance covered per unit of time. Unlike velocity, speed is a scalar quantity, meaning it has magnitude only and no direction. If a car covers 150 kilometers in 3 hours, its speed is 50 kilometers per hour, regardless of which direction it traveled in.
The formula for speed is simple and universal:
- Speed (S) = Distance (D) ÷ Time (T)
- The SI unit of speed is meters per second (m/s), though km/h and mph are common in everyday use.
- Example: a train travels 300 km in 4 hours → Speed = 300 ÷ 4 = 75 km/h
Speed vs Velocity: What's the Difference?
Speed and velocity are often used interchangeably in casual conversation, but in physics they mean different things. Speed only tells you how fast something is moving (a scalar), while velocity tells you how fast and in which direction (a vector). A car driving in a circle at a constant 60 km/h has constant speed but constantly changing velocity, because its direction keeps changing.
How to Find Distance from Speed and Time
If you already know the speed an object is traveling at and how long it travels for, you can rearrange the speed formula to solve for distance instead.
- Distance (D) = Speed (S) × Time (T)
- Example: a cyclist rides at 20 km/h for 2.5 hours → Distance = 20 × 2.5 = 50 km
- This rearrangement comes directly from multiplying both sides of S = D ÷ T by T.
How to Find Time from Distance and Speed
If you know the total distance and the speed of travel, you can find out how long the journey will take by rearranging the formula once more.
- Time (T) = Distance (D) ÷ Speed (S)
- Example: a flight covers 4,500 miles at 550 mph → Time = 4,500 ÷ 550 ≈ 8.18 hours
- This rearrangement comes from dividing both sides of S = D ÷ T by S.
The Speed–Distance–Time Triangle
A popular way to remember all three versions of the formula is the Speed-Distance-Time triangle (sometimes called the 'magic triangle'). Speed sits at the top, with Distance and Time on the bottom row. To find any one quantity, cover it with your finger — what's left shows you the formula: covering S leaves D over T (D ÷ T); covering D leaves S next to T (S × T); covering T leaves D over S (D ÷ S). This calculator's diagram builds exactly this triangle using your real numbers.
Common Speed Units and How to Convert Between Them
Speed can be expressed in many different units depending on context — science labs typically use meters per second, road travel uses kilometers per hour or miles per hour, and aviation and shipping sometimes use knots.
- 1 m/s = 3.6 km/h
- 1 km/h ≈ 0.6214 mph
- 1 mph ≈ 1.609 km/h
- 1 m/s ≈ 2.237 mph
How to Use This Speed Calculator
Choose what you want to find — Speed, Distance, or Time — from the dropdown. Then fill in the two values you already know, picking whichever unit matches your problem (meters, kilometers, miles, or feet for distance; seconds, minutes, or hours for time; m/s, km/h, or mph for speed). The calculator instantly converts everything to a common base unit, applies the correct formula, and shows the result in your chosen unit — plus automatically converted into m/s, km/h, and mph for quick reference.
Scroll down for the complete step-by-step solution, which mirrors exactly how you'd solve it by hand: the formula first, then your real values substituted in with unit conversion shown explicitly, then the arithmetic worked through to the final answer.
Worked Examples
Finding speed: a car covers 150 km in 3 hours → Speed = 150 ÷ 3 = 50 km/h.
Finding distance: a plane flies at 800 km/h for 2.5 hours → Distance = 800 × 2.5 = 2,000 km.
Finding time: a runner covers 100 meters at 10 m/s → Time = 100 ÷ 10 = 10 seconds.
Unit conversion example: a speed of 90 km/h equals 90 ÷ 3.6 = 25 m/s, or roughly 55.9 mph.
Average Speed for a Multi-Leg Journey
For a trip made of several legs at different speeds, average speed is not simply the average of the individual speeds — it's the total distance traveled divided by the total time taken.
- Average Speed = Total Distance ÷ Total Time
- Example: driving 100 km at 50 km/h (2 hours) then 100 km at 100 km/h (1 hour) covers 200 km in 3 hours → average speed = 200 ÷ 3 ≈ 66.7 km/h, not the simple average of 75 km/h.
Real-World Applications of the Speed Formula
The distance-speed-time relationship shows up constantly in everyday life and across science and engineering:
- Travel planning — estimating trip duration for road trips, flights, and train journeys.
- Sports and athletics — calculating pace and race splits for runners, cyclists, and swimmers.
- Physics and engineering — analyzing motion in kinematics problems, vehicle design, and traffic engineering.
- Astronomy — calculating how long light or spacecraft take to travel vast distances.
- Everyday driving — estimating arrival time or checking whether a speed limit was likely exceeded.
Speed in Kinematics: Connecting to Other Motion Equations
The basic speed formula is the starting point for the broader set of kinematics equations used throughout physics to describe motion. Once acceleration is introduced, speed (or more precisely, velocity) is no longer constant, and additional equations like v = u + at, s = ut + ½at², and v² = u² + 2as come into play, where u is initial velocity, v is final velocity, a is acceleration, t is time, and s is displacement.
For everyday problems involving constant speed — cars on a highway, planes cruising at altitude, or a person walking at a steady pace — the simple Speed = Distance ÷ Time formula is all that's needed, which is exactly what this calculator is built around. For problems involving changing speed, check out the dedicated Acceleration Calculator and Free Fall Calculator for the appropriate formulas.
Why Unit Conversion Matters When Calculating Speed
One of the most common mistakes in speed calculations is mixing units — for example, dividing a distance in kilometers by a time in minutes without converting first. Doing this gives a numerically meaningless result that looks like an answer but isn't actually speed in any recognized unit.
This calculator avoids that problem entirely by converting every input to a common base (meters and seconds) before applying the formula, then converting the result back into whichever unit you asked for. That's also exactly why the step-by-step solution always shows an explicit 'convert to consistent base units' step — it's the part of the calculation that's easiest to skip by hand, and easiest to get wrong.
Tips for Solving Speed, Distance, and Time Word Problems
Most textbook and exam word problems involving speed follow a predictable pattern, and a few habits make them far easier to solve correctly:
- Identify which two quantities are given and which one is being asked for — this tells you whether to use S = D÷T, D = S×T, or T = D÷S.
- Write down the units of every given value before doing any arithmetic, and convert everything to the same unit system first.
- Watch for 'average speed' problems involving multiple legs of a journey — these require total distance ÷ total time, not an average of the individual speeds.
- Sanity-check your final answer: a walking speed should be a few km/h, a car speed usually 20–120 km/h, and a commercial flight speed roughly 800–900 km/h. If your answer is wildly outside a reasonable range, a unit conversion was likely missed.
Frequently Asked Questions
What is the formula for speed? Speed = Distance ÷ Time. This is the most basic equation of motion and applies to any object moving at a constant rate.
How do you calculate speed in km/h? Divide the distance traveled in kilometers by the time taken in hours. For example, 120 km in 2 hours gives a speed of 60 km/h.
What is the difference between speed and average speed? Instantaneous speed is how fast something is moving at one exact moment; average speed is total distance divided by total time over an entire journey, which smooths out any variation in speed along the way.
How do I convert m/s to km/h? Multiply the value in m/s by 3.6. For example, 20 m/s × 3.6 = 72 km/h.
Can this calculator solve for distance or time, not just speed? Yes — switch the 'What do you want to find?' dropdown to Distance or Time, and the calculator rearranges the formula automatically and solves for whichever value you need.
Frequently Asked Questions
What is the formula for speed?
Speed = Distance ÷ Time. This is the fundamental equation relating how far an object travels to how long it takes.
How do you find distance if you know speed and time?
Distance = Speed × Time — rearranged directly from the speed formula.
How do you find time if you know distance and speed?
Time = Distance ÷ Speed — rearranged directly from the speed formula.
What is the SI unit of speed?
The SI unit of speed is meters per second (m/s), though km/h and mph are also very commonly used.
What is the difference between speed and velocity?
Speed is a scalar (magnitude only), while velocity is a vector that also includes direction of motion.
How is average speed different from regular speed?
Average speed is total distance divided by total time over an entire journey, which can differ from the speed at any single moment if the speed varied along the way.