How to use this calculator
This tool applies the law of conservation of momentum to a two-body collision. Enter the mass and initial velocity of each object, choose whether the collision is perfectly elastic or perfectly inelastic, and press Calculate to get each object's final velocity plus the total momentum before and after — which should match. Click Clear to reset all fields to the example values.
The formula
Conservation of momentum states that for an isolated system (no external forces), total momentum is the same before and after an interaction:
m1·v1i + m2·v2i = m1·v1f + m2·v2f
Here m1 and m2 are the two masses, v1i and v2i are their velocities before the collision, and v1f and v2f are their velocities afterward. Momentum (p = m·v) is measured in kilogram-meters per second (kg·m/s).
Elastic vs. perfectly inelastic collisions
The equation above only tells you that total momentum is conserved — it takes a second condition to solve for both unknown final velocities. This calculator supports the two standard idealized cases:
- Perfectly elastic: kinetic energy is also conserved, so the objects separate after impact with v1f = ((m1−m2)/(m1+m2))·v1i + (2m2/(m1+m2))·v2i and v2f = (2m1/(m1+m2))·v1i + ((m2−m1)/(m1+m2))·v2i.
- Perfectly inelastic: the objects stick together and share one common final velocity, v_f = (m1·v1i + m2·v2i) / (m1+m2). Kinetic energy is lost to heat, sound, and deformation, but momentum is unaffected.
Understanding the inputs and sign convention
Pick one direction as positive (for example, rightward or "forward") and enter velocities in that same direction consistently; motion the opposite way is a negative number. Masses must be positive and both objects' velocities should use the same unit (m/s). Mixing sign conventions or units between the two objects will produce a meaningless result.
Interpreting the results
The total momentum card shows p = m1v1i + m2v2i, the conserved quantity for this system. The two final-velocity cards show how fast each object moves after the collision — under perfectly inelastic conditions these two values will be identical, since the objects move together. The "momentum after" card recomputes m1v1f + m2v2f as a check: it should equal the total momentum card (aside from rounding), confirming the calculation is internally consistent.