Saved

Press the star next to a tool's name to save it.

All my tools

Conservation of Momentum Calculator

Use this conservation of momentum calculator to find the velocities of two bodies after a head-on collision, elastic, perfectly inelastic or partly elastic, with the momentum and the energy lost.

Restored your last values ·

Choose the type of collision and enter the mass and the velocity of each body before the collision, along one line. You get the velocities after the collision, the momentum and the kinetic energy before and after.

Everything is worked out in your browser. Nothing you type is sent anywhere.

–

–

Enter the masses and the velocities, then press Calculate.

See full result

A conservation of momentum calculator finds the velocities of two bodies after a head-on collision, from their masses and their velocities before. Choose an elastic collision, where they bounce, a perfectly inelastic one, where they stick together, or a partly elastic one with a coefficient of restitution.

How to use the conservation of momentum calculator

  1. Choose the type of collision.
  2. Enter the masses and the velocities before the collision.
  3. Add the coefficient of restitution for a partly elastic collision.
  4. Press Calculate.

The principle

In any collision without an outside force, momentum is conserved, but only in an elastic collision is kinetic energy also conserved [1]. The momentum of a body is its mass times its velocity, and the total momentum of the two bodies is the same before and after: m_A u_A + m_B u_B = m_A v_A + m_B v_B. In a straight-line collision, velocities have a sign, positive to the right and negative to the left.

Elastic collisions

For an elastic collision, the page gives v_A = ((m_A − m_B) ÷ (m_A + m_B)) u_A + (2 m_B ÷ (m_A + m_B)) u_B, and a matching formula for body B [1]. The relative velocity of one body with respect to the other is reversed by the collision [1]. If the two masses are equal, the bodies exchange their velocities [1]. The centre of mass moves with the same velocity before and after [1].

The page's example

The page gives a worked example: a ball A of 3 kilograms at 4 metres per second hits ball B of 5 kilograms at −4 metres per second. Afterwards, A has a velocity of −6 metres per second and B has 2 metres per second [1]. Enter these values with the elastic option, and the calculator gives the same result. The momentum is −8 kilogram metres per second before and after, and the kinetic energy is 64 joules both times.

Perfectly inelastic collisions

When the bodies stick together, the page gives m_a u_a + m_b u_b = (m_a + m_b) v, so v = (m_a u_a + m_b u_b) ÷ (m_a + m_b) [2]. A perfectly inelastic collision loses the maximum amount of kinetic energy [2]. For the example bodies, the common velocity is −1 metre per second, and the energy falls from 64 to 4 joules, a loss of 60 joules.

Energy lost

The energy lost in a perfectly inelastic collision is ΔKE = ½ μ u_rel², where μ = m_a m_b ÷ (m_a + m_b) is the reduced mass and u_rel is the relative velocity before the collision [2]. In the example, μ is 1.875 kilograms and u_rel is 8 metres per second, so ΔKE is 60 joules, which agrees with the calculator. The lost energy goes into heat, sound and deformation.

Coefficient of restitution

The page defines the coefficient of restitution, CR, so that 1 is an elastic collision and 0 a perfectly inelastic one [2]. The general formula is v_a = [CR m_b (u_b − u_a) + m_a u_a + m_b u_b] ÷ (m_a + m_b), with a matching one for b [2]. With CR = 0.5 in the example, the velocities after are −3.5 and 0.5 metres per second, and 19 joules of energy remain.

Bouncing balls

The page points out that the square root of the ratio of the height of one bounce to that of the preceding bounce gives the coefficient of restitution of a bouncing ball [2]. A ball that rises to 64 percent of its drop height has a coefficient of 0.8. You can use this to find a coefficient for the partly elastic option. A ball bouncing off a very massive wall is the case of a large m_b with u_b = 0.

Units

Enter the masses in kilograms and the velocities in metres per second. The calculator gives velocities in metres per second, momentum in kilogram metres per second and energy in joules. Other units work if you are consistent: grams and centimetres per second give momentum in the matching units. The sign of the velocity shows the direction along the line.

Limits

The formulas are for a head-on collision, in one dimension. Glancing collisions need two components of velocity and the angle. The bodies are treated as points that do not rotate. The calculator also assumes no friction or outside force during the collision, and so it does not suit collisions on a rough surface where friction acts over a long time.

Using the calculator

Choose the type, enter the two masses and the two velocities, and press the button. Check the momentum before and after, which must be equal. Compare the kinetic energies to see how much was lost. For a head-on crash, try different coefficients of restitution to see how the result changes between the two extremes.

Special cases

If a light body hits a very heavy one at rest, it bounces back with nearly the same speed, since the heavy body takes only a tiny share of the motion. If a heavy body hits a light one at rest, the light one flies off at nearly twice the speed of the heavy one. These are our own results from the elastic formulas, and you can test them by entering large and small masses.

Common mistakes

  • Forgetting the sign of a velocity. Opposite directions have opposite signs.
  • Expecting energy to be conserved in an inelastic collision. Only momentum is.
  • Applying it with an outside force. Friction changes the total.
  • Using it for a glancing collision. It is one-dimensional.

What next

Use this often? Add Conservation to your Home screen.

Frequently asked questions

What is a conservation of momentum calculator?

A tool that finds the velocities of two bodies after a head-on collision.

What is conserved in a collision?

Momentum is always conserved when there is no outside force; kinetic energy is conserved only in an elastic collision.

What happens if two equal masses collide elastically?

They exchange velocities.

What is the final velocity of a perfectly inelastic collision?

v = (m_a u_a + m_b u_b) ÷ (m_a + m_b).

What is the coefficient of restitution?

1 for an elastic collision and 0 for a perfectly inelastic one.

What went wrong?

We only receive the reason you pick, never what you typed into the tool.

Thanks for your feedback.

More Physics & Science Tools