How to Use the Calculator?
To use the calculator, simply type your numbers into any two of the input boxes, and the calculator will instantly fill in the third box for you. If you need to change your units (like switching from kilometer to meter), just use the dropdown menus; the calculator will neatly convert your numbers on the fly.
Understanding the Meaning of Speed, Distance, and Time
Let’s first understand the meaning of speed, distance, and time.
Distance tells us how far an object travels. If you walk from your house to a shop that is 500 meters away, then the distance you travel is 500 meters.
Time tells us how long the journey takes. If it takes you 10 minutes to walk to the shop, then the time is 10 minutes.
Speed tells us how fast an object is moving. Speed compares distance with time. If a car travels a large distance in a small amount of time, it is moving fast. If it travels a small distance in a large amount of time, it is moving slowly. So speed is really the distance covered in one unit of time.
This gives us the most important idea in the whole topic: speed depends on both distance and time. If the distance increases while the time stays the same, speed increases. If the time increases while the distance stays the same, speed decreases.
The Main Formula
The basic relationship between speed, distance, and time is:
$$\text{Speed} = \frac{\text{Distance}}{\text{Time}}$$
This means that to find speed, we divide the distance traveled by the time taken.
From this one formula, we can also get the other two formulas. If we rearrange it, we get:
$$\text{Distance} = \text{Speed} \times \text{Time}$$
$$\text{Time} = \frac{\text{Distance}}{\text{Speed}}$$
The Speed-Distance-Time Triangle
Remembering which formula to use can feel confusing at first. That is where the Speed-Distance-Time Triangle becomes very useful. It helps you remember all three formulas quickly without having to rearrange the equation every time.
The triangle is divided into three sections: D (Distance) at the top, S (Speed) at the bottom left, and T (Time) at the bottom right.

To use the triangle, cover the quantity you want to find with your finger, and the part that remains visible will show you the formula.
Cover S: You see D over T, so $S = D/T$
Cover D: You see S and T side by side, so $D = S \times T$
Cover T: You see D over S, so $T = D/S$

Units of Speed, Distance, and Time
Units are extremely important in this topic. If you ignore units, you can easily make mistakes even when your method is correct. Distance is usually measured in meters, kilometers, or centimeters. Time is usually measured in seconds, minutes, or hours. Speed is measured using a distance unit and a time unit together, such as $m/s$, $km/h$, or $cm/s$.
For example, if a runner covers 100 meters in 20 seconds, then the speed is:
$$\text{Speed} = \frac{100\text{ m}}{20\text{ s}} = 5\text{ m/s}$$
If a bus covers 180 kilometers in 3 hours, then the speed is:
$$\text{Speed} = \frac{180\text{ km}}{3\text{ h}} = 60\text{ km/h}$$
Notice that the unit of speed comes from distance divided by time. That is why $km$ and $h$ become $km/h$, and $m$ and $s$ become $m/s$.
A very common source of error is using distance in kilometers and time in minutes without converting them properly. If the units do not match the required form, the answer may be wrong. So before using the formula, always check the units carefully.
Converting Units
Since questions may use different units, you must know how to convert them. The most common conversions are between meters and kilometers, between minutes and hours, and between $m/s$ and $km/h$.
We know that:
$$1\text{ km} = 1000\text{ m}$$
$$1\text{ hour} = 60\text{ minutes}$$
$$1\text{ minute} = 60\text{ seconds}$$
These basic facts are enough for most basic questions.
Now let us understand how to convert $m/s$ into $km/h$. Suppose something moves at $1$ meter per second. In $1$ second it travels $1$ meter. In $3600$ seconds, which is $1$ hour, it will travel $3600$ meters. Since $1000$ meters make $1$ kilometer, $3600$ meters is $3.6$ kilometers. So:
$$1\text{ m/s} = 3.6\text{ km/h}$$
Similarly:
$$1\text{ km/h} = \frac{5}{18}\text{ m/s}$$
So when converting from $m/s$ to $km/h$, multiply by $3.6$ or by $\frac{18}{5}$. When converting from $km/h$ to $m/s$, multiply by $\frac{5}{18}$.
Let us try a quick example. Convert $20\text{ m/s}$ into $km/h$.
$$20 \times \frac{18}{5} = 72$$
So:
$$20\text{ m/s} = 72\text{ km/h}$$
Now convert $54\text{ km/h}$ into $m/s$.
$$54 \times \frac{5}{18} = 15$$
So:
$$54\text{ km/h} = 15\text{ m/s}$$
These conversions are asked very often, so you should practice them until they feel simple.
Solving Problems
In most problems, you should follow these steps. First, read carefully and identify what is given. Second, decide what you need to find. Third, choose the correct form of the formula. Fourth, substitute the values with correct units. Fifth, calculate and write the final answer with units.
Let us try several examples.
Example 1: Finding Speed
A train travels 150 kilometers in 3 hours. Find its speed.
We first identify the given information. The distance is $150$ kilometers. The time is $3$ hours. Since the distance is already in kilometers and the time is already in hours, we do not need to convert anything.
Now apply the formula:
$$\text{Speed} = \frac{150}{3} = 50\text{ km/h}$$
So the speed of the train is $50\text{ km/h}$.
Let us do another example with meters and seconds. A swimmer covers 200 meters in 40 seconds. Find the speed.
Here the distance is $200$ meters and the time is $40$ seconds.
$$\text{Speed} = \frac{200}{40} = 5\text{ m/s}$$
So the swimmer’s speed is $5\text{ m/s}$.
Example 2: Finding Distance
Suppose a car travels at a speed of $60\text{ km/h}$ for $4$ hours. How far does it travel?
Here the speed is $60\text{ km/h}$ and the time is $4$ hours. Multiply them:
$$\text{Distance} = 60 \times 4 = 240\text{ km}$$
So the car travels $240$ kilometers.
Let us look at another example. A child walks at $2\text{ m/s}$ for $30$ seconds. Find the distance covered.
$$\text{Distance} = 2 \times 30 = 60\text{ m}$$
So the child covers $60$ meters.
Example 3: Finding Time
A bus covers 180 kilometers at a speed of $45\text{ km/h}$. How much time does it take?
The distance is $180$ kilometers and the speed is $45\text{ km/h}$.
$$\text{Time} = \frac{180}{45} = 4\text{ h}$$
So the bus takes $4$ hours.
Now consider a smaller example. A runner covers 400 meters at a speed of $8\text{ m/s}$. Find the time taken.
$$\text{Time} = \frac{400}{8} = 50\text{ s}$$
So the runner takes $50$ seconds.
Example 4: A unit conversion example
Now let us solve a problem where unit conversion is necessary.
A motorbike travels 90 kilometers at a speed of $15\text{ m/s}$. Find the time taken.
Here the distance is in kilometers, but the speed is in meters per second. We must convert one of them so the units match. Let us convert the speed into $km/h$.
$$15 \times \frac{18}{5} = 54$$
So the speed is $54\text{ km/h}$.
Now apply the formula for time:
$$\text{Time} = \frac{90}{54} = \frac{5}{3}\text{ h}$$
Since $\frac{5}{3}$ hour is not the most convenient form, convert it into hours and minutes. We know that:
$$\frac{5}{3}\text{ h} = 1\text{ h }40\text{ min}$$
So the motorbike takes $1$ hour $40$ minutes.
Understanding Average Speed
Average speed is another very important idea. Many people think average speed is found by simply adding speeds and dividing by two, but that is not always correct. Average speed means total distance divided by total time.
The formula is:
$$\text{Average Speed} = \frac{\text{Total Distance}}{\text{Total Time}}$$
This is the safest and most accurate way to solve average speed questions.
Suppose a boy cycles 20 kilometers in 1 hour and then 30 kilometers in 2 hours. What is the average speed?
First find the total distance:
$$\text{Total Distance} = 20 + 30 = 50\text{ km}$$
Then find the total time:
$$\text{Total Time} = 1 + 2 = 3\text{ h}$$
Now divide:
$$\text{Average Speed} = \frac{50}{3}\text{ km/h}$$
So the average speed is $16.\overline{6}\text{ km/h}$, or about $16.67\text{ km/h}$.
Notice that this is not the same as just averaging $20\text{ km/h}$ and $15\text{ km/h}$ unless the time intervals are equal in a way that fits the situation. That is why the best method is always total distance divided by total time.
When the Same Distance Is Covered at Different Speeds
Let us study a special average speed case. A car goes from town A to town B at $60\text{ km/h}$ and returns along the same road at $40\text{ km/h}$. Find the average speed for the whole trip.
Many people incorrectly do:
$$\frac{60 + 40}{2} = 50\text{ km/h}$$
But this is not correct in general. We should use total distance divided by total time.
Let the one-way distance be $d$ kilometers. Then total distance is $2d$.
Time for first part:
$$\text{Time}_1 = \frac{d}{60}$$
Time for second part:
$$\text{Time}_2 = \frac{d}{40}$$
Total time:
$$\text{Total Time} = \frac{d}{60} + \frac{d}{40}$$
Take the LCM of $60$ and $40$, which is $120$:
$$\frac{d}{60} + \frac{d}{40} = \frac{2d}{120} + \frac{3d}{120} = \frac{5d}{120} = \frac{d}{24}$$
Now average speed:
$$\text{Average Speed} = \frac{2d}{d/24} = 48\text{ km/h}$$
So the correct average speed is $48\text{ km/h}$, not $50\text{ km/h}$.
Relative Speed
Relative speed is used when two objects move in the same direction or in opposite directions. It helps us understand how fast one object is approaching another.
When two objects move in opposite directions, their relative speed is the sum of their speeds.
$$\text{Relative Speed} = \text{Speed}_1 + \text{Speed}_2$$
When two objects move in the same direction, their relative speed is the difference of their speeds.
$$\text{Relative Speed} = \text{Speed}_1 – \text{Speed}_2$$
Suppose two trains start from the same station and move in opposite directions, one at $50\text{ km/h}$ and the other at $70\text{ km/h}$. How far apart will they be after 3 hours?
Since they move in opposite directions, add their speeds:
$$\text{Relative Speed} = 50 + 70 = 120\text{ km/h}$$
Now find distance apart after 3 hours:
$$\text{Distance Apart} = 120 \times 3 = 360\text{ km}$$
So after 3 hours, they will be $360$ kilometers apart.
Now consider two cars moving in the same direction at $80\text{ km/h}$ and $60\text{ km/h}$. The faster car is behind the slower one. How much distance does the faster car gain in 2 hours?
Since they move in the same direction:
$$\text{Relative Speed} = 80 – 60 = 20\text{ km/h}$$
In 2 hours, the distance gained is:
$$20 \times 2 = 40\text{ km}$$
So the faster car gains $40$ kilometers in 2 hours.
