Simplify Your Workflow: Search MiniWebtool.
Add Extension
Home Page > Math > Algebra Calculators > Distance-Speed-Time Triangle Calculator

Distance-Speed-Time Triangle Calculator

Solve any one of distance, speed, or time given the other two. Use the interactive D-S-T triangle to pick the unknown, mix units freely (km, mi, m, ft, km/h, mph, m/s, ft/s, knots, sec/min/hr/day), enter time as 1h 30m or 5400 sec, and see an animated journey, full step-by-step solution, plus bonus modes for multi-leg average speed and round-trip harmonic-mean speed.

Distance-Speed-Time Triangle Calculator
Quick examples →
1 Tap a corner to pick what you are solving for.
Tip: switch the unit to mixed to type natural strings like 1h 30m, 90 min, or 1:30:00.
1 Up to four legs — fill the distance and speed for each leg you actually travelled.
1
2
3
4
Average speed of a journey is total distance ÷ total time, NOT the average of the individual speeds. The calculator handles the time-weighting automatically.
1 Same distance there and back — only the two speeds matter.
A famous trap: 60 mph there and 40 mph back averages to 48 mph, not 50. The harmonic mean weights the slower leg by its longer time.

Embed Distance-Speed-Time Triangle Calculator Widget

About Distance-Speed-Time Triangle Calculator

The Distance-Speed-Time Triangle Calculator turns the classic schoolbook DST triangle into an interactive solver. Tap any corner of the triangle — Distance, Speed, or Time — and the tool hides that field, asks for the other two, and returns the answer with a step-by-step LaTeX explanation, an animated journey visualization, and an intuition tag that translates the result into something familiar (walking pace, highway driving, cruising airliner). Distances accept km, miles, metres, feet, yards, and nautical miles. Speeds accept km/h, mph, m/s, ft/s, knots, and Mach. Time accepts seconds, minutes, hours, days, or natural strings like 1h 30m, 90 min, 1:30:00, or 5400 sec. Two bonus modes go beyond the basic triangle: a multi-leg average-speed solver (up to four legs) and a round-trip solver that correctly returns the harmonic mean of the two speeds.

How to use this calculator

  1. Tap the corner you want to solve for. Click D, S, or T directly on the triangle. The corresponding mode is selected automatically and the unknown field disappears so you only see the two values you actually need to provide.
  2. Enter the two known values in any units — the calculator converts everything to consistent SI (metres, seconds, m/s) before solving and shows the result back in the unit family of your inputs.
  3. Type time naturally by switching the time unit to mixed. Strings like 1h 30m, 90 min, 1:30:00, and 5400 sec are all accepted.
  4. Click Solve to see the headline answer, alternative-unit conversions, an animated journey strip, and a numbered LaTeX-formatted step-by-step solution.
  5. Switch tabs for bonus problems. The Multi-leg tab averages a journey with multiple distance-and-speed legs (correctly using total-distance over total-time). The Round-trip tab handles the famous "60 mph there, 40 mph back" puzzle with the harmonic mean.

The DST triangle, explained

The triangle is a finger-cover memory aid that bakes three formulas into one picture:

Cover D → S × T

D sits at the top. Cover it with your finger and the bottom row reads "S times T".

\( d = s \times t \)

Cover S → D ÷ T

S is bottom-left. Cover it and the remaining shape reads "D over T".

\( s = \dfrac{d}{t} \)

Cover T → D ÷ S

T is bottom-right. Cover it and the remaining shape reads "D over S".

\( t = \dfrac{d}{s} \)

The horizontal divider in the middle of the triangle is the fraction bar. The empty space between S and T is multiplication. That single picture is enough to derive every distance-speed-time formula you will ever need.

Worked example: solving for time

You drive 240 km at a steady 80 km/h. How long does it take?

  1. Cover T on the triangle. The remaining shape reads \( t = d / s \).
  2. Convert nothing — both values are already in compatible units.
  3. \( t = 240 / 80 = 3 \) hours, or 10,800 seconds, or 180 minutes.

Worked example: solving for distance with mixed units

A train cruises at 25 m/s for 1 hour 30 minutes. How far does it go?

  1. Convert time to seconds: \( 1\,\text{h}\,30\,\text{min} = 5400\,\text{s} \).
  2. Apply \( d = s \times t \): \( d = 25 \times 5400 = 135{,}000 \) m = 135 km.
  3. That's about an 85-mile commute — roughly the highway distance from London to Birmingham.

Worked example: round-trip harmonic mean

You drive 60 miles to a town at 60 mph and return at 40 mph. What is your average speed for the whole trip?

  1. Outbound time: \( 60 / 60 = 1 \) hour. Return time: \( 60 / 40 = 1.5 \) hours.
  2. Total distance \( D = 60 + 60 = 120 \) mi. Total time \( T = 1 + 1.5 = 2.5 \) h.
  3. Average speed \( = D / T = 120 / 2.5 = 48 \) mph — NOT 50 mph.
  4. The harmonic-mean formula gives the same answer in one step: \( \bar v = \dfrac{2 v_1 v_2}{v_1 + v_2} = \dfrac{2 \times 60 \times 40}{60 + 40} = \dfrac{4800}{100} = 48 \) mph.

Common pitfalls to avoid

  • Mixing km/h with seconds. Multiplying 60 km/h by 30 seconds gives a number that means nothing. Either convert km/h to m/s (multiply by 5/18 ≈ 0.2778) or convert seconds to hours.
  • Averaging speeds the naive way. Going 60 mph and 40 mph for equal *distances* averages to 48 mph, not 50. Going 60 mph and 40 mph for equal *times* averages to 50 mph. The triangle averages distances and times — never raw speeds.
  • Forgetting to convert minutes. "It took 90 minutes" used as raw \( t = 90 \) inside \( d = s \times t \) with km/h gives a distance off by 60 times. Use the mixed-time parser or pick "min" as the unit.
  • Using zero or near-zero values. Time and speed must be strictly positive — division by zero would produce infinity. The calculator rejects such inputs with a friendly message.
  • Decimal commas vs decimal points. The calculator accepts both — 1,5 and 1.5 mean the same hour-and-a-half.

Quick conversion reference

FromToMultiply byWorked example
km/hm/s5/18 ≈ 0.277872 km/h × 5/18 = 20 m/s
m/skm/h18/5 = 3.625 m/s × 3.6 = 90 km/h
mphkm/h1.60934460 mph × 1.6093 ≈ 96.6 km/h
mphm/s0.4470460 mph × 0.44704 ≈ 26.82 m/s
knotskm/h1.85230 kn × 1.852 = 55.56 km/h
Mach 1 (sea level)m/s≈ 343Mach 0.85 × 343 ≈ 291.5 m/s
kmm10001.5 km = 1500 m
mikm1.6093445 mi ≈ 8.05 km
nmi (nautical)km1.85210 nmi = 18.52 km
ftm0.3048500 ft = 152.4 m
hourseconds36001.5 h = 5400 s
dayseconds86 4001 day = 86,400 s

Frequently asked questions

What is the distance-speed-time triangle?

It is a visual memory aid for the relationship \( d = s \times t \). Distance sits at the top of the triangle, with speed on the bottom-left and time on the bottom-right. To find any one of them, cover that letter with your finger and read off the formula from the remaining two letters. Cover D and you see "S × T". Cover S and you see "D over T". Cover T and you see "D over S".

How do I find distance from speed and time?

Use \( d = s \times t \), making sure both values are in compatible units. For 60 km/h over 2 hours: \( d = 60 \times 2 = 120 \) km. For 25 m/s over 30 minutes: convert 30 minutes to 1800 seconds first, then \( d = 25 \times 1800 = 45{,}000 \) m = 45 km.

How do I find speed from distance and time?

Use \( s = d / t \). For 240 km in 3 hours: \( s = 240 / 3 = 80 \) km/h. To convert m/s to km/h multiply by 3.6; to convert km/h to m/s multiply by 5/18.

How do I find time from distance and speed?

Use \( t = d / s \). For 150 miles at 50 mph: \( t = 150 / 50 = 3 \) hours. Multiply by 60 to get minutes (180 min) or by 3600 to get seconds (10,800 s).

Why is the round-trip average not just (v1 + v2)/2?

Because the slower leg of the round trip takes more time, so it weighs more in the time-weighted average. Average speed is total distance ÷ total time, which for equal distances each way works out to the harmonic mean \( \dfrac{2 v_1 v_2}{v_1 + v_2} \). Going 60 mph there and 40 mph back gives 48 mph, not 50.

What about a multi-leg trip with different distances on each leg?

Switch to the Multi-leg tab. For each leg, enter its distance and the speed during that leg. The calculator computes the time on each leg as \( t_i = d_i / v_i \), then divides total distance by total time. This is the only correct way to average speeds across unequal legs — averaging the raw speeds will generally give a wrong answer.

Can I mix units, like km/h with miles?

Yes. Each input has its own unit dropdown. The calculator converts every value to metres, seconds, and metres per second internally before solving, then formats the answer in your chosen unit family.

What does the "intuition" tag mean?

It is a friendly comparison that translates the calculated speed or distance into something familiar — walking pace, highway driving, cruising airliner, hypersonic, and so on. The tag helps you sanity-check whether your inputs make sense before you trust the number.

Reference this content, page, or tool as:

"Distance-Speed-Time Triangle Calculator" at https://MiniWebtool.com/distance-speed-time-triangle-calculator/ from MiniWebtool, https://MiniWebtool.com/

by miniwebtool team. Updated: 2026-05-10

You can also try our AI Math Solver GPT to solve your math problems through natural language question and answer.

Related MiniWebtools:

Algebra Calculators:

Top & Updated:

Random PickerRandom Name PickerInstagram User ID LookupFPS ConverterLine CounterRelative Standard Deviation CalculatorSort NumbersImage ResizerMAC Address GeneratorBatting Average CalculatorRemove SpacesFacebook User ID LookupERA CalculatorRandom Truth or Dare GeneratorFeet and Inches to Cm ConverterWord to Phone Number ConverterMAC Address LookupSun, Moon & Rising Sign Calculator 🌞🌙✨Slope and Grade CalculatorPercent Off CalculatorSum CalculatorBitwise CalculatorMP3 LooperAudio SplitterInvisible Text GeneratorRandom IMEI GeneratorRoman Numerals ConverterAI Text HumanizerWord Ladder GeneratorRandom Credit Card GeneratorNumber of Digits CalculatorSHA256 Hash GeneratorHalfway Date Calculator📷 OCR / Image to TextLog Base 10 CalculatorRandom Superpower GeneratorVertical Jump CalculatorRandom Quote GeneratorWAR CalculatorMerge VideosRandom Birthday GeneratorCm to Feet and Inches ConverterPhone Number ExtractorMaster Number CalculatorSalary Conversion CalculatorRandom Fake Address Generator⬛ Aspect Ratio CalculatorOn Base Percentage CalculatorRandom Activity GeneratorSaturn Return CalculatorRandom Poker Hand GeneratorSquare Root (√) CalculatorOPS CalculatorFile Size ConverterSlugging Percentage CalculatorRandom Meal GeneratorRandom Writing Prompt GeneratorLeap Years ListText FormatterCompound Growth CalculatorCaffeine Overdose CalculatorBinary to Gray Code ConverterNumber to Word ConverterIP Subnet CalculatorOctal CalculatorCompare Two StringsRandom Movie PickerLove Compatibility CalculatorBattery Life CalculatorRandom Loadout GeneratorDecimal to BCD ConverterVideo to Image ExtractorBCD to Decimal Converter📅 Date CalculatorMercury Retrograde CalendarStair CalculatorCM to Inches Converter🖱️ Click CounterYouTube Channel StatisticsConnect the Dots GeneratorQuotient and Remainder CalculatorFirst n Digits of PiPER CalculatorAdd Text to ImageName Number CalculatorSHA512 Hash GeneratorPercent Growth Rate Calculator🎰 Gacha Pity CalculatorBingo Card GeneratorAdd Prefix and Suffix to TextImage CompressorRemove AccentOutlier CalculatorWeight Loss CalculatorImage SplitterCoin FlipperVideo CompressorRandom Object GeneratorGray Code to Binary ConverterArc Length CalculatorWhat is my Lucky Number?Day of the Year Calculator - What Day of the Year Is It Today?What is my Zodiac Sign?Lottery Number GeneratorList of Prime NumbersAstrological Element Balance CalculatorSmall Text Generator ⁽ᶜᵒᵖʸ ⁿ ᵖᵃˢᵗᵉ⁾Flip VideoDiff CheckerTime Duration CalculatorURL ExtractorAngel Number CalculatorIP Address to Hex ConverterAcreage CalculatorBcrypt Hash Generator / CheckerRandom Line PickerBreak Line by CharactersRemove Leading Trailing SpacesMultiple Fraction CalculatorNumber ExtractorRandom Time GeneratorHeight Percentile CalculatorAI Language DetectorBinary to BCD ConverterProportion CalculatorMartingale Strategy CalculatorModulo CalculatorWHIP CalculatorDMS to Decimal Degrees ConverterAI Punctuation AdderRandom Chess Opening GeneratorWord Scramble GeneratorPercentile CalculatorCone Flat Pattern (Template) GeneratorDay of Year CalendarRandom Number PickerVideo SplitterLife Path Number CalculatorLong Division CalculatorMandelbrot Set ExplorerRandom Emoji GeneratorPVIFA CalculatorLongest Day of the YearAdjust Video SpeedPVIF CalculatorRandom Chord GeneratorAntilog CalculatorMorse Code GeneratorYouTube Tag ExtractorCollage MakerRatio to Percentage CalculatorBoxing Punch Power CalculatorHypotenuse CalculatorEmail ExtractorSteel Weight CalculatorCrossword Puzzle MakerSum of Positive Integers CalculatorBonus CalculatorRandom User-Agent GeneratorDestiny Number CalculatorFirst n Digits of eAI ParaphraserLunar Calendar ConverterColor InverterPercent to PPM ConverterRandomize NumbersShort Selling Profit CalculatorGrade CalculatorMD5 Hash GeneratorMiter Angle CalculatorSquare Numbers ListFraction CalculatorList RandomizerHTML Compressor🔍 Plagiarism CheckerRounding CalculatorArctan2 CalculatorIs it a Prime Number?Multiplication CalculatorName RandomizerBirth Day of the Week CalculatorMolarity CalculatorTrigonometric Equation SolverDue Date CalculatorExponential Decay CalculatorRandom Group GeneratorYouTube Earnings EstimatorHebrew Calendar ConverterRandom Name GeneratorMAC Address AnalyzerPizza Value CalculatorReverse TextBoiling Point CalculatorNumber RandomizerRemove Line BreaksRock Paper Scissors GeneratorLog (Logarithm) Calculator🎲 Loot Drop Probability CalculatorSort Lines AlphabeticallyHex to BCD ConverterBCD to Binary ConverterBCD to Hex ConverterMedian CalculatorStandard Error CalculatorAverage CalculatorReverse VideoRemove Audio from VideoActual Cash Value CalculatorScientific Notation to Decimal ConverterLog Base 2 CalculatorRoot Mean Square CalculatorSHA3-256 Hash GeneratorAI Sentence ExpanderLbs to Kg ConverterHex to Decimal ConverterConvolution CalculatorRandom String GeneratorAmortization CalculatorMarkup CalculatorDecimal to Hex ConverterInstagram Font GeneratorSocial Media Image Size GuideTikTok Money CalculatorTwitter/X Character CounterTwitter/X Timestamp ConverterYouTube Watch Time CalculatorTwitch Earnings CalculatorYouTube Shorts Monetization CalculatorFacebook Ad Cost CalculatorSocial Media ROI CalculatorSocial Media Post Time OptimizerSocial Media Username CheckerCTR CalculatorROAS CalculatorInfluencer ROI CalculatorForce CalculatorAcceleration CalculatorVelocity CalculatorMomentum CalculatorProjectile Motion CalculatorKinetic Energy CalculatorPotential Energy CalculatorWork and Power CalculatorDensity CalculatorPressure CalculatorIdeal Gas Law CalculatorFree Fall CalculatorTorque CalculatorHorsepower CalculatorDilution CalculatorChemical Equation BalancerStoichiometry CalculatorPercent Yield CalculatorEmpirical Formula CalculatorTitration CalculatorMole/Gram/Particle ConverterIrregular Polygon Area CalculatorFrustum CalculatorTorus Calculator3D Distance CalculatorGreat Circle Distance CalculatorCircumscribed Circle (Circumcircle) CalculatorInscribed Circle (Incircle) CalculatorAngle Bisector CalculatorTangent Line to Circle CalculatorHeron's Formula CalculatorCoordinate Geometry Distance CalculatorVolume of Revolution CalculatorSurface of Revolution CalculatorParametric Curve GrapherRiemann Sum CalculatorTrapezoidal Rule CalculatorSimpson's Rule CalculatorImproper Integral CalculatorL'Hôpital's Rule CalculatorMaclaurin Series CalculatorPower Series CalculatorSeries Convergence Test CalculatorInfinite Series Sum CalculatorAverage Rate of Change CalculatorInstantaneous Rate of Change CalculatorRelated Rates SolverOptimization Calculator (Calculus)Gradient Calculator (Multivariable)Divergence CalculatorCurl CalculatorLine Integral CalculatorSurface Integral CalculatorJacobian Matrix CalculatorNewton's Method CalculatorRREF Calculator (Row Echelon Form)Matrix Inverse CalculatorMatrix Multiplication CalculatorDot Product CalculatorCross Product CalculatorVector Magnitude CalculatorUnit Vector CalculatorAngle Between Vectors CalculatorNull Space CalculatorColumn Space CalculatorCramer's Rule CalculatorMatrix Diagonalization CalculatorQR Decomposition CalculatorCholesky Decomposition CalculatorMatrix Power CalculatorCharacteristic Polynomial CalculatorBayes' Theorem CalculatorF-Test / F-Distribution CalculatorHypergeometric Distribution CalculatorNegative Binomial Distribution CalculatorGeometric Distribution CalculatorExponential Distribution CalculatorWeibull Distribution CalculatorBeta Distribution CalculatorSpearman Rank Correlation CalculatorFisher's Exact Test CalculatorContingency Table CalculatorOdds Ratio CalculatorROT13 Encoder/DecoderAtbash Cipher ToolVigenère Cipher ToolPronunciation IPA ConverterHemingway-Style Readability EditorSentence Length Variance AnalyzerWord Frequency AnalyzerBusiness Days CalculatorAdd Business Days to DateDate Pattern GeneratorHow Long Until CalculatorHow Long Ago CalculatorBirthday Across Cultures CalculatorHijri Calendar ConverterInsulin Sensitivity Factor CalculatorCarb-to-Insulin Ratio CalculatorLean Body Mass to Strength CalculatorOne-Mile Walk Test (Rockport) CalculatorCooper 12-Minute Run CalculatorFFMI CalculatorAPGAR Score CalculatorGlasgow Coma Scale CalculatorWells Score Calculator (DVT/PE)Tennis Score TrackerSoccer xG (Expected Goals) CalculatorCricket Run Rate CalculatorRugby Points CalculatorRace Time PredictorSwimming SWOLF CalculatorYoga Pose Hold TimerFishing Knot Strength CalculatorBike Gear Ratio CalculatorClimbing Grade ConverterWine Pairing SuggesterStandard Drink CalculatorCaffeine Half-Life TrackerSpice Substitution FinderDietary Restriction Recipe FilterMarinade Time CalculatorFermentation Time CalculatorSmoking Wood Pairing GuideFreelance Project Pricing CalculatorSaaS Pricing CalculatorSubscription Cost TrackerSide Hustle ROI CalculatorRemote Work Savings CalculatorCoffee Habit Cost CalculatorGym vs Home Workout Cost CalculatorLunch Cost CalculatorWealth Growth Visualizer1031 Exchange CalculatorRental Yield CalculatorCash-on-Cash Return CalculatorBRRRR Method CalculatorSection 8 Rent CalculatorRoommate Rent SplitterAirbnb Pricing OptimizerStatute of Limitations CalculatorSentence Reduction CalculatorSales Tax Nexus CheckerPatent Filing Fee CalculatorTrademark Class FinderWill Asset Distribution CalculatorWorkers' Compensation CalculatorStopping Distance CalculatorTrip Cost SplitterVehicle Weight Distribution CalculatorTrailer Tongue Weight CalculatorTire Tread Wear CalculatorEngine Compression Ratio CalculatorHeadlight Beam Distance CalculatorCat Litter Box CalculatorAquarium Heater Wattage CalculatorBird Cage Size CalculatorReptile Habitat UVB CalculatorPet Travel Crate Size FinderHorse Hay CalculatorCrochet Hook Size ConverterKnitting Needle Size ConverterKnitting Pattern CalculatorCross-Stitch Floss CalculatorQuilt Binding CalculatorOrigami Paper Size CalculatorPottery Clay Shrinkage CalculatorBeading Pattern CalculatorResin Casting Volume CalculatorEmbroidery Thread Length CalculatorHiking Pace Calculator (Naismith's Rule)Backpacking Food Weight CalculatorTent Footprint Size CalculatorSleeping Bag Temperature Rating GuideKnot Tying Reference ToolStar Visibility CalculatorTide Time CalculatorSun Position CalculatorReynolds Number CalculatorBernoulli Equation CalculatorHeat Transfer CalculatorThermal Expansion CalculatorSpecific Heat Capacity CalculatorGear Ratio Calculator (Mechanical)Pulley System CalculatorHydraulic Cylinder Force CalculatorBelt Length CalculatorCloset Capsule CalculatorStorage Unit Size CalculatorMoving Box Quantity CalculatorGift Card Tip CalculatorGas vs Electric Cost ComparisonPrint Cost CalculatorHair Dye Mixing CalculatorLaundry Detergent Dosage Calculator