Relative Motion of Two Trains (Opposite Directions)

December 10, 2025

Problem

Train A is 120 meters long Train B is 180 meters long They are running in opposite directions on parallel tracks. Train A speed: 45 km/hr Train B speed: 55 km/hr Question How long will they take to completely cross each other?

Explanation

This visualization shows two trains on parallel tracks moving in opposite directions. The time it takes for them to completely cross each other depends on their combined (relative) speed and the sum of their lengths. Use the sliders to adjust train lengths and speeds, then watch how the crossing time changes.

Interactive Visualization

Parameters

120.00
180.00
45.00
55.00
1.00
Your turn

Got your own math or physics problem?

Turn any problem into an interactive visualization like this one — powered by AI, generated in seconds. Free to try, no credit card required.

Sign Up Free to Try It30 free visualizations every day
Relative Motion of Two Trains (Opposite Directions) | MathSpin