Simplify Your Workflow: Search MiniWebtool.
Add Extension
> 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// 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.

Top & Updated:

Random PickerRandom Name PickerLine CounterBatting Average CalculatorRelative Standard Deviation CalculatorFPS ConverterSort NumbersERA CalculatorMAC Address GeneratorRemove SpacesInstagram User ID LookupWord to Phone Number ConverterFacebook User ID LookupMAC Address LookupSum CalculatorFeet and Inches to Cm ConverterOPS CalculatorJob FinderRandom Truth or Dare GeneratorRandom Quote GeneratorPercent Off CalculatorSHA256 Hash GeneratorBitwise CalculatorSquare Root (√) CalculatorDoubling Time CalculatorLog Base 10 CalculatorVertical Jump CalculatorNumber of Digits CalculatorRoman Numerals ConverterMP3 LooperAudio SplitterSalary Conversion CalculatorSlope and Grade CalculatorSlugging Percentage CalculatorSaturn Return CalculatorOn Base Percentage CalculatorPhone Number ExtractorRandom IMEI GeneratorRandom Poker Hand GeneratorNumber to Word ConverterMerge VideosAI Text HumanizerCompare Two StringsCaffeine Overdose CalculatorSun, Moon & Rising Sign Calculator 🌞🌙✨Compound Growth CalculatorDecimal to BCD ConverterFirst n Digits of PiImage ResizerRandom Birthday GeneratorBinary to Gray Code ConverterCm to Feet and Inches ConverterClothing Size ConverterWHIP CalculatorGrade CalculatorBCD to Decimal ConverterAdd Prefix and Suffix to TextRandom Fake Address GeneratorRandom Activity GeneratorOctal CalculatorOne Rep Max (1RM) CalculatorVideo to Image ExtractorWAR CalculatorRandom Movie PickerFile Size ConverterRandom Superpower GeneratorText FormatterYouTube Channel StatisticsInvisible Text GeneratorTime Duration CalculatorRemove AccentOutlier CalculatorRandom Writing Prompt GeneratorPercent Growth Rate CalculatorQuotient and Remainder CalculatorLove Compatibility CalculatorStair CalculatorCM to Inches ConverterRandom Object GeneratorRandom Integer GeneratorDay of Year CalendarList of Prime NumbersCryptogram GeneratorWord Ladder GeneratorImage SplitterRemove Leading Trailing SpacesAdd Text to ImageArc Length CalculatorGray Code to Binary ConverterAI Punctuation AdderConnect the Dots GeneratorRandom Loadout GeneratorBingo Card GeneratorExponential Decay CalculatorModulo CalculatorSHA512 Hash GeneratorImage CompressorMaster Number CalculatorVideo CropperEmail ExtractorURL ExtractorAI ParaphraserDay of the Year Calculator - What Day of the Year Is It Today?Video CompressorBinary to BCD ConverterIP Address to Hex ConverterSort Lines AlphabeticallyHex to BCD ConverterBCD to Binary ConverterLottery Number GeneratorBCD to Hex ConverterMedian CalculatorStandard Error CalculatorLeap Years ListList RandomizerBreak Line by CharactersAverage CalculatorPVIFA CalculatorReverse VideoHypotenuse CalculatorRemove Audio from VideoActual Cash Value CalculatorScientific Notation to Decimal ConverterNumber ExtractorAngel Number CalculatorLog Base 2 CalculatorRoot Mean Square CalculatorSum of Positive Integers CalculatorSHA3-256 Hash GeneratorAI Sentence Expander📅 Date CalculatorLbs to Kg ConverterHex to Decimal ConverterRandom Group GeneratorConvolution CalculatorMAC Address AnalyzerRandom String GeneratorAmortization CalculatorMarkup CalculatorPVIF CalculatorName Number 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 CalculatorBoiling Point 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 CalculatorRelative Risk CalculatorEffect Size CalculatorPermutations with Repetition CalculatorModular Exponentiation CalculatorPrimitive Root CalculatorPerfect Number CheckerAmicable Number CheckerTwin Prime FinderMersenne Prime CheckerGoldbach Conjecture VerifierMöbius Function CalculatorEgyptian Fraction CalculatorFibonacci Number CheckerDigital Root CalculatorPartition Function CalculatorBoolean Algebra SimplifierKarnaugh Map (K-Map) SolverLogic Gate SimulatorGraph Coloring CalculatorTopological Sort CalculatorAdjacency Matrix CalculatorRecurrence Relation SolverInclusion-Exclusion CalculatorLinear Programming SolverTraveling Salesman Solver (TSP)Hamiltonian Path CheckerPlanar Graph CheckerNetwork Flow Calculator (Max Flow)Stable Marriage Problem SolverFirst-Order ODE SolverSecond-Order ODE SolverDirection Field / Slope Field PlotterEuler's Method CalculatorBernoulli ODE SolverSystem of ODEs SolverGroup Theory Order CalculatorRing and Field CalculatorJordan Normal Form CalculatorMatrix Exponential CalculatorTensor Product CalculatorFast Fourier Transform (FFT) CalculatorZ-Transform CalculatorNumerical Integration CalculatorTOML to JSON ConverterJSON to CSV ConverterXML to JSON ConverterSQL to MongoDB Query ConverterCSS Flexbox PlaygroundCSS Grid GeneratorJWT GeneratorBcrypt Hash Generator / CheckerColor Code Converter (All Formats)Git Command Generator.env File GeneratorLorem Picsum / Placeholder Image GeneratorText to Binary/Hex/ASCII ConverterSyllable CounterSentence CounterParagraph CounterSpeaking Time CalculatorReading Time CalculatorWhitespace VisualizerStrikethrough Text GeneratorTorque Converter (Nm, ft-lb, kgf-cm)Data Transfer Rate ConverterFuel Efficiency ConverterAstronomical Unit ConverterRing Size ConverterPaper Size ReferenceGas Mileage CalculatorEV Range CalculatorEV Charging Time Calculator0–60 / Quarter Mile CalculatorCar Lease CalculatorVehicle Towing Capacity CalculatorExposure Triangle CalculatorCrop Factor CalculatorMegapixel to Print Size CalculatorPhoto File Size EstimatorMusic BPM TapperMusic Key TransposerVideo Bitrate CalculatorSeed Germination Rate CalculatorFertilizer Calculator (NPK)Raised Bed Soil CalculatorFrost Date CalculatorLawn Fertilizer CalculatorCompost Calculator (C:N Ratio)Solar Panel CalculatorSolar ROI CalculatorHome Energy Audit CalculatorAppliance Energy Cost CalculatorWater Usage CalculatorElectricity Generation Cost CalculatorHeat Loss CalculatorFlight Distance CalculatorTravel Budget CalculatorJet Lag CalculatorPacking List GeneratorTip Splitter (Advanced)Lease vs Buy CalculatorHourly Rate Calculator (Freelancer)Invoice Late Fee CalculatorESPP CalculatorStock Split CalculatorOptions Probability CalculatorDollar to Gold ConverterBeam Load CalculatorPipe Flow CalculatorBolt Torque CalculatorSteel Weight CalculatorGravel, Sand & Topsoil CalculatorRandom Sentence GeneratorRandom Paragraph GeneratorRandom Math Problem GeneratorRandom Bible Verse GeneratorRandom Cat/Dog Name GeneratorRandom Debate Topic GeneratorBody Recomposition CalculatorAlcohol Calorie CalculatorMedication Dosage CalculatorPace to Calories CalculatorHydration CalculatorTrain Meeting Problem SolverAge Word Problem SolverMixture Problem SolverWork Rate Problem SolverDistance-Speed-Time Triangle Calculator