My Calculator

Time Calculator

Calculate time taken from distance and speed, from velocity change and acceleration, or from distance with initial velocity and acceleration — with unit conversion, full step-by-step solutions, and a labeled diagram.

Try an example

Time5 h
Time in seconds18,000 s
Time in minutes300 min
Time in hours5 h

Distance–Speed–Time Diagram

The formula triangle shows how the three quantities relate, with your real values labeled directly in each box.

DISTANCE300 kmSPEED60 km/hTIME5 ht = d ÷ v

Step-by-Step Solution

Here's exactly how this answer was calculated, one step at a time.

Given: Distance = 300 km, Speed = 60 km/h

  1. Step 1: Write the time formula

    This is the most common time formula, used whenever an object travels a known distance at a constant speed.

    Time (t) = Distance (d) ÷ Speed (v)
  2. Step 2: Convert to consistent base units

    d = 300 km = 300,000 m v = 60 km/h = 16.667 m/s
  3. Step 3: Divide distance by speed

    t = 300,000 m ÷ 16.667 m/s
  4. Step 4: Result in seconds

    t = 18,000 s
  5. Step 5: Convert to h

    t = 18,000 s ÷ conversion factor = 5 h
  6. Step 6: Final answer

    Time = 5 h

The result is:

5 h

Free Online Time Calculator

This time calculator solves for the time taken in a motion problem using whichever values you already have — distance and speed, a change in velocity with acceleration, or distance together with initial velocity and acceleration. Pick the method that matches your problem, enter your known values in any common unit, and the calculator instantly converts everything, works through a complete step-by-step solution, and draws a labeled diagram — either a formula triangle or a velocity-time graph — so the whole calculation is visible in one picture.

Rather than forcing you to remember which rearranged formula applies to your situation, this tool brings together the three most common ways physics and everyday problems ask 'how long did it take?' into a single calculator, each with its own clear explanation and diagram.

Three Ways to Calculate Time

Depending on what you already know, time can be found using one of three related formulas, all of which this calculator supports.

  • Method 1 — From Distance & Speed: Time = Distance ÷ Speed (t = d ÷ v). Use this when an object covers a known distance at a constant speed.
  • Method 2 — From Velocity Change & Acceleration: Time = (Final Velocity − Initial Velocity) ÷ Acceleration (t = (v − u) ÷ a). Use this when an object's speed changes at a constant rate.
  • Method 3 — From Distance, Initial Velocity & Acceleration: solved from s = ut + ½at² using the quadratic formula. Use this when an object starts with some velocity, accelerates, and you know the total distance covered.

Method 1: Time from Distance and Speed

This is the most familiar time formula, taught from a young age: time equals distance divided by speed.

  • Time (t) = Distance (d) ÷ Speed (v)
  • Example: a road trip covers 300 km at a constant 60 km/h → t = 300 ÷ 60 = 5 hours
  • Example: a runner covers 400 m at 5 m/s → t = 400 ÷ 5 = 80 seconds

Method 2: Time from Velocity Change and Acceleration

When an object is speeding up or slowing down at a steady rate, this formula finds how long that change takes.

  • Time (t) = (Final Velocity (v) − Initial Velocity (u)) ÷ Acceleration (a)
  • Example: a car accelerates from 0 to 27 m/s at 3 m/s² → t = (27 − 0) ÷ 3 = 9 seconds
  • Example: a car brakes from 25 m/s to 0 at −5 m/s² → t = (0 − 25) ÷ (−5) = 5 seconds

Method 3: Time from Distance, Initial Velocity, and Acceleration

This is the most advanced of the three, since the underlying equation s = ut + ½at² is quadratic in time whenever acceleration is present. This calculator rearranges it into the standard quadratic form ½at² + ut − s = 0, solves it with the quadratic formula t = (−u ± √(u² + 2as)) ÷ a, and automatically keeps the physically valid positive root.

  • Example: an object starts from rest and accelerates at 4 m/s² to cover 500 m → t = √(2 × 500 ÷ 4) ≈ 15.81 seconds
  • When acceleration is zero, this formula automatically simplifies to the linear case t = s ÷ u, matching Method 1.

How to Choose the Right Method

Picking the right method just comes down to which three quantities you already have.

  • If you have a distance and a constant speed → use Method 1 (Distance & Speed).
  • If you have a starting and ending velocity plus a constant acceleration, but no distance → use Method 2 (Velocity Change & Acceleration).
  • If you have a distance, a starting velocity, and an acceleration, but not the ending velocity → use Method 3 (Distance, Initial Velocity & Acceleration).

Reading the Diagrams

Method 1 uses the classic distance-speed-time formula triangle: cover the quantity you're solving for, and the relationship between the remaining two is what's left. Methods 2 and 3 use a velocity-time graph instead, since acceleration is best understood as the slope of a line on that graph — the steeper the line, the faster velocity is changing. In Method 3, the diagram goes a step further and shades the area under the line, since that area is exactly the distance you entered, visually confirming the calculated time is consistent with the given distance.

How to Use This Time Calculator

Select the method that matches the values you already know, fill in those values in whichever units suit your problem, and choose the unit you'd like the answer displayed in. The calculator instantly converts everything to a common base unit, applies the correct formula for your chosen method, and shows the result — plus automatically converted into seconds, minutes, and hours 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, unit conversion shown explicitly, then the arithmetic worked through to the final answer.

Worked Examples

Method 1: a road trip of 300 km at 60 km/h → t = 300 ÷ 60 = 5 hours.

Method 2: a car accelerates from rest to 27 m/s at 3 m/s² → t = 27 ÷ 3 = 9 seconds.

Method 2 (deceleration): a car brakes from 25 m/s to a stop at −5 m/s² → t = −25 ÷ −5 = 5 seconds.

Method 3: an object starting from rest covers 500 m while accelerating at 4 m/s² → t ≈ 15.81 seconds.

Real-World Applications of Time Calculations

Calculating time from motion shows up constantly in travel planning, physics, and engineering:

  • Travel and logistics — estimating trip duration from distance and expected average speed.
  • Automotive engineering — calculating 0-to-60 acceleration times or braking time from a given speed.
  • Physics and kinematics — solving classic word problems involving constant speed, or constant acceleration.
  • Sports science — analyzing how long it takes an athlete to reach a target speed during a sprint.
  • Manufacturing and robotics — timing how long a motor-driven system takes to move a known distance.

How These Formulas Fit Into Kinematics

All three methods in this calculator come from the same small set of constant-acceleration kinematics equations: v = u + at, s = ut + ½at², and t = d ÷ v for the simplest constant-speed case. Rather than memorizing which version to rearrange, this tool lets you pick based on what you already know and handles the algebra automatically. For problems specifically involving gravity, the Free Fall Calculator applies these same equations with acceleration fixed at g ≈ 9.8 m/s².

Why Unit Conversion Matters When Calculating Time

One of the most common errors in time calculations is mixing units — dividing a distance in kilometers by a speed in meters per second without converting first, which silently produces a meaningless number. This calculator avoids that by converting every input into a common base (meters, seconds, and m/s²) before applying any formula, then converting the final answer back into whichever time unit was requested. This is also why every step-by-step solution explicitly shows a 'convert to consistent base units' step.

Tips for Solving Time Word Problems

A few habits make time-related word problems significantly easier to solve without mistakes:

  • Identify exactly which three values the problem gives you, and match them to one of the three methods above.
  • Watch for the word 'rest,' which means initial velocity is zero.
  • Convert every value to the same unit system before doing any arithmetic.
  • Remember that Method 3 requires the quadratic formula whenever acceleration is present — simple division only works when acceleration is zero.
  • Sanity-check your answer: a road trip measured in hours, a sprint measured in seconds, and typical vehicle acceleration measured in single-digit seconds are useful references.

Frequently Asked Questions

What is the formula to calculate time? The formula depends on what you know: Time = Distance ÷ Speed for constant-speed motion, Time = (Final Velocity − Initial Velocity) ÷ Acceleration for changing velocity, or the quadratic solution of s = ut + ½at² when distance and acceleration are both known.

How do you find time without knowing final velocity? Use Method 3 — Distance, Initial Velocity & Acceleration — which solves the quadratic equation s = ut + ½at² for time directly.

Can time be negative? No, physically meaningful time is always positive; this calculator automatically selects the positive root when solving the quadratic equation in Method 3.

What if acceleration is zero? All three methods reduce to the simplest form, Time = Distance ÷ Speed, since there's no change in velocity to account for.

How do I convert the time answer to a different unit? Use the 'Show time in' dropdown, or check the automatically converted seconds, minutes, and hours values shown in the results panel.

Frequently Asked Questions

What is the formula for time?

It depends on what you know: Time = Distance ÷ Speed for constant-speed motion, Time = (Final Velocity − Initial Velocity) ÷ Acceleration for changing velocity, or the quadratic solution of s = ut + ½at² when distance and acceleration are both known but final velocity is not.

How do you calculate time from distance and speed?

Divide distance by speed: Time = Distance ÷ Speed. For example, 300 km at 60 km/h takes 5 hours.

How do you calculate time from acceleration?

If you know the initial and final velocity, use Time = (Final Velocity − Initial Velocity) ÷ Acceleration. If you only know the distance covered, solve the quadratic equation ½at² + ut − s = 0 for t.

Can this calculator handle deceleration (negative acceleration)?

Yes — enter the acceleration as a negative value, and the calculator correctly computes the time it takes to slow down or come to a stop.

What happens if I don't know the final velocity?

Use the 'From Distance, Initial Velocity & Acceleration' method, which solves for time directly from the distance formula without needing the final velocity.

Why does the calculator sometimes use a quadratic formula?

Because the distance formula s = ut + ½at² is quadratic in time whenever acceleration is present — the calculator solves it correctly and automatically keeps only the physically valid positive time.