Momentum Collision Simulator
Collide two carts and watch conservation of momentum in action. Set the masses, speed, and restitution and compare elastic vs inelastic collisions live.
Offline ● Works without internet after loading After the first page load, no network connection is needed.This simulation needs a modern browser with canvas support. The measurements and formula below still describe the physics.
Controls
Live measurements
Graph
Formula
p = m1 v1 + m2 v2
Type your own values to solve the formula. The simulation follows along.
- p Total momentum
- —
- v1 Cart 1 velocity
- —
- v2 Cart 2 velocity
- —
Observations
What's happening
Real-world examples
Newton's cradle
An elastic collision passes the incoming velocity along, just as one ball sets the far ball swinging.
Car crash test
A perfectly inelastic collision crumples the cars together, turning kinetic energy into deformation and heat.
Heavy hits light
A heavy cart barely slows down while it launches a light cart forward at nearly twice its speed.
Equal masses, elastic
Two equal carts swap velocities cleanly: the mover stops and the target takes off.
Common Questions
What is conservation of momentum?
Conservation of momentum says the total momentum of an isolated system stays the same before and after a collision. Momentum is mass times velocity, p = m1 v1 + m2 v2 for two carts, and it is a vector, so direction matters. No matter how elastic or inelastic the collision is, the total momentum after equals the total before. The simulator shows the momentum reading holding steady through every impact.
What is the difference between an elastic and inelastic collision?
The difference is what happens to kinetic energy. In an elastic collision (restitution e = 1) both momentum and kinetic energy are conserved, so the carts bounce apart cleanly. In an inelastic collision (e below 1) momentum is still conserved but some kinetic energy is lost to heat, sound, and deformation. A perfectly inelastic collision (e = 0) is the extreme case where the carts stick together and move as one.
How do I calculate the velocities after a collision?
You solve two equations at once: conservation of momentum, m1 u1 + m2 u2 = m1 v1 + m2 v2, together with the restitution relation that sets how fast the carts separate. For a perfectly elastic head-on collision this gives tidy formulas; for other cases the simulator uses the general restitution result. To find the final velocity, set the masses, the speed, and e, and read the outcome off the cart labels.
Why does kinetic energy drop in an inelastic collision?
Because energy is transferred out of motion and into other forms. When carts crumple, stick, or make a sound, that energy comes from their kinetic energy, so the total kinetic energy after the collision is less than before. Momentum has no such loss because there is no way for the system to shed momentum internally. Set e below 1 in the simulator and watch the kinetic energy reading fall while the momentum holds.
What happens when a heavy cart hits a light one?
The heavy cart barely slows while the light cart shoots forward. In the elastic limit a very heavy cart hitting a stationary light one sends the light cart off at close to twice the incoming speed, while the heavy cart continues almost unchanged. Load the Heavy hits light preset in the simulator to see this, then swap to Light hits heavy for the mirror case where the light cart bounces back.
Does the simulator send my data anywhere?
No. Everything runs in your browser with a canvas and simple arithmetic. Nothing is uploaded or stored remotely, and the simulator keeps working offline after the page loads.