Simplify Your Workflow: Search MiniWebtool.
Add Extension
Home Page > Math > Algebra Calculators > Train Meeting Problem Solver

Train Meeting Problem Solver

Solve classic two-train word problems step by step. Handles trains meeting head-on, overtaking in the same direction, two trains crossing each other (with lengths), a train passing a pole, and a train crossing a platform or bridge — with animated track visualization, relative-speed math, and full LaTeX explanations.

Train Meeting Problem Solver
Quick examples →
1 Pick the problem type and units
Five classic word problems are supported.
Affects how distances and speeds are shown in the result.
2 Train speeds and gap
Slower train if overtaking.
Faster train if overtaking.
Distance separating Train A and Train B at \( t = 0 \).
Minutes Train A starts before Train B. Leave blank if both start at the same time.
2 Train lengths, speeds, and direction
Toward each other → speeds add. Same direction → speeds subtract.
2 Train length and speed
The length of the structure the train must completely cross.

Embed Train Meeting Problem Solver Widget

About Train Meeting Problem Solver

The Train Meeting Problem Solver tackles the five most common train word problems in one place: two trains meeting head-on, a faster train overtaking a slower one in the same direction, two trains of given lengths crossing each other, a train passing a single point such as a pole or signal post, and a train crossing a platform, bridge, or tunnel. Type in the speeds, distances, and lengths in any mix of metric (km/h, m/s, km, m) or imperial units (mph, ft/s, mi, ft) — the solver converts everything to consistent SI units, applies the right relative-speed rule, and shows a full LaTeX-formatted solution alongside an animated track that visualizes the motion in real proportion.

How to use this solver

  1. Pick the scenario that matches your problem from the dropdown — meeting, overtaking, two crossing, passing a pole, or crossing a platform.
  2. Choose the display units. You can still mix km/h with metres, or mph with feet — the solver handles unit conversion internally.
  3. Enter the speeds, lengths, and gap. For the meeting scenario you can optionally add a head-start time for Train A in minutes.
  4. Click Solve. The headline value shows the meeting, overtaking, or crossing time. Below it you get the relative speed, distance covered by each train, and a step-by-step LaTeX explanation.
  5. Watch the animated track at the side and in the result panel — the trains move in real proportion to the speeds and direction of motion.

The five formulas at a glance

1. Meeting head-on

Trains move toward each other. Relative speed adds.

\( t = \dfrac{D}{v_1 + v_2} \)

2. Overtaking (same direction)

Faster train catches slower one. Relative speed subtracts.

\( t = \dfrac{D}{v_B - v_A} \)

3. Two trains crossing

Total distance to clear = sum of train lengths.

\( t = \dfrac{L_1 + L_2}{v_{rel}} \)

4. Passing a pole

The pole is a point. Train moves its own length.

\( t = \dfrac{L}{v} \)

5. Crossing a platform

Distance = train length + platform length.

\( t = \dfrac{L_{train} + L_{platform}}{v} \)

The relative-speed rule (the key idea)

Almost every train word problem reduces to one identity:

\[ \text{time} \;=\; \dfrac{\text{distance to cover}}{\text{relative speed}} \]

What changes between scenarios is the meaning of "distance" and the sign of the relative speed:

  • Toward each other — the two trains close the gap together, so add their speeds: \( v_{rel} = v_1 + v_2 \).
  • Same direction — only the difference in speed closes the gap: \( v_{rel} = v_B - v_A \). If both speeds are equal, the gap never closes.
  • Crossing with lengths — the back of one train must clear the back of the other, so the distance to cover equals \( L_1 + L_2 \) instead of just the gap.
  • Pole vs platform — a pole is a point (cover \( L_{train} \)); a platform has length (cover \( L_{train} + L_{platform} \)).

Worked example: meeting head-on

Two trains start 300 km apart and move toward each other. Train A travels at 60 km/h, Train B at 90 km/h. When and where do they meet?

  1. Convert speeds to m/s: \( v_1 = 60 \times \tfrac{5}{18} = 16.667 \) m/s; \( v_2 = 90 \times \tfrac{5}{18} = 25 \) m/s.
  2. Relative speed: \( v_{rel} = 16.667 + 25 = 41.667 \) m/s = 150 km/h.
  3. Time to meet: \( t = \dfrac{300\,000\;\text{m}}{41.667\;\text{m/s}} = 7200 \) s = 2 h.
  4. Distance covered by Train A: \( d_1 = 60 \times 2 = 120 \) km, so the meeting point is 120 km from A and 180 km from B.

Worked example: train crossing a platform

A 150 m train moving at 90 km/h needs to cross a 350 m platform.

  1. Convert the speed: \( 90 \times \tfrac{5}{18} = 25 \) m/s.
  2. Total distance to cover: \( 150 + 350 = 500 \) m.
  3. Crossing time: \( t = \dfrac{500}{25} = 20 \) s.

Common pitfalls and how to avoid them

  • Mixing units — multiplying km/h by seconds gives a number that means nothing. Either convert km/h to m/s by multiplying by \(\tfrac{5}{18}\), or convert m/s to km/h by multiplying by 3.6. The solver does this automatically.
  • Forgetting train length — when two trains cross or a train crosses a platform, the back of the train must clear the other end. Always add lengths to the distance.
  • Wrong sign on relative speed — if you write \( v_1 + v_2 \) for a same-direction overtake, the time will be far too short. Add only when motion is opposing.
  • Equal speeds in same direction — if the two trains have equal speed and travel the same way, the relative speed is zero and they never overtake.
  • Head start vs distance — a head start is a time advantage, not a distance. Convert it to distance by multiplying the leader's speed by the head-start time.

Quick conversion reference

FromToMultiply byExample
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
mphm/s0.4470460 mph × 0.44704 ≈ 26.82 m/s
m/smph2.236930 m/s × 2.2369 ≈ 67.1 mph
kmm10001.5 km = 1500 m
mim1609.3442 mi ≈ 3218.7 m
ftm0.3048500 ft = 152.4 m

Frequently asked questions

What is the formula for two trains meeting head-on?

When two trains move toward each other, their relative speed equals the sum of their individual speeds: \( v_{rel} = v_1 + v_2 \). The time to meet is the initial gap divided by this relative speed: \( t = D / (v_1 + v_2) \). Each train covers its own speed times \( t \). The meeting point is closer to whichever train is slower.

How do I solve an overtaking problem (same direction)?

When trains move in the same direction, the relative speed is the difference: \( v_{rel} = v_{faster} - v_{slower} \). The time for the faster train to catch the slower one is \( t = D / (v_{faster} - v_{slower}) \). If both speeds are equal, the faster never overtakes.

Why does train length matter when two trains cross each other?

Two trains finish crossing only when the last car of one has cleared the last car of the other. So the total distance their relative motion must cover equals the sum of their lengths: \( t = (L_1 + L_2) / v_{rel} \). Add the speeds for opposite-direction crossing, subtract them for same-direction crossing.

How long does a train take to pass a pole?

A pole, person, or signal post is a single point. The train clears it when its last car reaches the pole, so the train moves a distance equal to its own length. The time is simply train length divided by speed: \( t = L / v \).

How long does a train take to cross a platform or bridge?

A platform or bridge has length, so the train must travel its own length plus the platform length to fully clear the other end. The time is \( t = (L_{train} + L_{platform}) / v \).

How do I convert km/h to m/s?

Multiply by 1000/3600 = 5/18. So 72 km/h = 72 × 5/18 = 20 m/s. To go the other way, multiply m/s by 18/5 = 3.6. So 25 m/s = 25 × 3.6 = 90 km/h. The calculator does this conversion automatically before computing.

Reference this content, page, or tool as:

"Train Meeting Problem Solver" at https://MiniWebtool.com/train-meeting-problem-solver/ 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 Name PickerRandom PickerInstagram User ID LookupFPS ConverterLine CounterSort NumbersRelative Standard Deviation CalculatorImage ResizerMAC Address GeneratorBatting Average CalculatorRemove SpacesFacebook User ID LookupRandom Truth or Dare GeneratorERA CalculatorFeet and Inches to Cm ConverterWord to Phone Number ConverterMAC Address LookupSun, Moon & Rising Sign Calculator 🌞🌙✨Slope and Grade CalculatorPercent Off CalculatorMP3 LooperSum Calculator📷 OCR / Image to TextBitwise CalculatorRandom IMEI GeneratorAudio SplitterInvisible Text GeneratorRoman Numerals ConverterRandom Superpower GeneratorAI Text HumanizerWord Ladder GeneratorRandom Credit Card GeneratorVertical Jump CalculatorSHA256 Hash GeneratorNumber of Digits CalculatorRandom Quote GeneratorHalfway Date CalculatorLog Base 10 CalculatorMerge VideosWAR CalculatorRandom Birthday Generator⬛ Aspect Ratio CalculatorSalary Conversion CalculatorCm to Feet and Inches ConverterMaster Number CalculatorRandom Fake Address GeneratorSaturn Return CalculatorPhone Number ExtractorRandom Activity GeneratorRandom Meal GeneratorOPS CalculatorFile Size ConverterOn Base Percentage CalculatorNumber to Word ConverterIP Subnet CalculatorRandom Writing Prompt GeneratorText FormatterSquare Root (√) CalculatorRandom Poker Hand GeneratorCompound Growth CalculatorSlugging Percentage CalculatorYouTube Channel StatisticsCaffeine Overdose CalculatorBinary to Gray Code ConverterLove Compatibility CalculatorDecimal to BCD ConverterRandom Loadout GeneratorRandom Movie PickerVideo to Image ExtractorBCD to Decimal ConverterOctal CalculatorBattery Life CalculatorMercury Retrograde CalendarLeap Years List🖱️ Click CounterCompare Two StringsStair Calculator📅 Date CalculatorFirst n Digits of PiConnect the Dots GeneratorCM to Inches ConverterRemove Accent🎰 Gacha Pity CalculatorSHA512 Hash GeneratorAdd Text to ImagePercent Growth Rate CalculatorWeight Loss CalculatorPER CalculatorGray Code to Binary ConverterRandom Object GeneratorLottery Number GeneratorBingo Card GeneratorAdd Prefix and Suffix to TextImage CompressorImage SplitterOutlier CalculatorCoin FlipperAstrological Element Balance CalculatorSmall Text Generator ⁽ᶜᵒᵖʸ ⁿ ᵖᵃˢᵗᵉ⁾Arc Length CalculatorVideo CompressorNumber ExtractorTime Duration CalculatorDay of the Year Calculator - What Day of the Year Is It Today?Quotient and Remainder CalculatorWhat is my Lucky Number?Diff CheckerMultiple Fraction CalculatorFlip VideoList of Prime NumbersProportion CalculatorRandom Emoji GeneratorWhat is my Zodiac Sign?Acreage CalculatorWord Scramble GeneratorIP Address to Hex ConverterBcrypt Hash Generator / CheckerMandelbrot Set ExplorerAngel Number CalculatorBreak Line by CharactersLongest Day of the YearURL ExtractorRandom Line PickerRandom Time GeneratorCone Flat Pattern (Template) GeneratorModulo CalculatorTessellation GeneratorName Number CalculatorBinary to BCD ConverterDay of Year CalendarAI Language DetectorEmail ExtractorDNS LookupRandom Chess Opening Generator🔍 Plagiarism CheckerVideo SplitterMiter Angle CalculatorWHIP CalculatorAntilog CalculatorMD5 Hash GeneratorLunar Calendar ConverterYouTube Tag ExtractorCrossword Puzzle MakerRandomize NumbersRemove Leading Trailing SpacesMartingale Strategy CalculatorRandom Chord GeneratorDMS to Decimal Degrees ConverterIs it a Prime Number?Steel Weight CalculatorAdjust Video SpeedAI Punctuation AdderLong Division CalculatorRandom Number PickerMolarity CalculatorFirst n Digits of eCollage MakerPercentile CalculatorShort Selling Profit CalculatorArctan2 CalculatorJulia Set GeneratorRandom User-Agent GeneratorHeight Percentile CalculatorBolt Torque CalculatorHypotenuse CalculatorMorse Code GeneratorBroken Link CheckerRandom Tournament Bracket GeneratorColor InverterRandom Group GeneratorBonus CalculatorFraction CalculatorHTML CompressorMultiplication CalculatorRounding CalculatorAI ParaphraserPregnancy CalendarYouTube Earnings EstimatorName RandomizerRandom Name GeneratorRatio to Percentage CalculatorBirth Day of the Week CalculatorBoiling Point CalculatorMAC Address AnalyzerPizza Value CalculatorDestiny Number CalculatorSocial Media Username CheckerPVIF CalculatorPVIFA CalculatorGrade CalculatorField Goal Percentage CalculatorSquare Numbers ListHebrew Calendar ConverterLife Path Number CalculatorDue Date CalculatorBoxing Punch Power CalculatorTaco Bar Calculator🎲 Loot Drop Probability CalculatorSort Lines AlphabeticallyHex to BCD ConverterBCD to Binary ConverterBCD to Hex ConverterMedian CalculatorStandard Error CalculatorList RandomizerAverage CalculatorReverse VideoRemove Audio from VideoActual Cash Value CalculatorScientific Notation to Decimal ConverterLog Base 2 CalculatorRoot Mean Square CalculatorSum of Positive Integers 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 OptimizerCTR 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 CalculatorDishwasher Load OptimizerTile Grout CalculatorPaint Color Mixing CalculatorFlashcard Spaced Repetition SchedulerLearning Curve CalculatorCornell Notes GeneratorVocabulary Quiz GeneratorLanguage Learning Hours to Fluency CalculatorCollege Cost CalculatorScholarship ROI Calculator