CalcOpenly
English

Momentum and collision calculator (elastic and inelastic)

Momentum and collision calculator: final velocities, total momentum and kinetic energy lost in an elastic, inelastic or partly elastic head-on collision.

Drafted with AI writing toolsUpdated Checked examples: 5

Signed: positive is to the right
Body 2 starts to the right of body 1
Try
Velocity of body 1 after
m/s
Velocity of body 1 after: 0.333333 m/s
Significant figures: 6; Nearest, ties away from zero
Velocity of body 2 after
4.33333m/s
Total momentum (conserved)
5kg·m/s
Kinetic energy before
9.5J
Kinetic energy after
9.5J
Kinetic energy lost
0J
Share of kinetic energy lost
0.00%
Impulse on body 2
5.33333N·s

In this elastic collision momentum stays at 5 kg·m/s; body 1 leaves at 0.333333 m/s and body 2 at 4.33333 m/s, and 0% of the kinetic energy is lost.

Velocity before and after (m/s)

Body 1 before: 33Body 1 beforeBody 1 after: 0.33330.3333Body 1 afterBody 2 before: −1−1Body 2 beforeBody 2 after: 4.3334.333Body 2 after

Kinetic energy (J)

0246810BeforeAfter
Body 1Body 2Lost to heat, sound, deformation
How it's calculated S
  1. Momentum before (conserved)

    p=m1u1+m2u2=(2)(3)+(1)(−1)=5 kg⋅m/sp = m_1u_1 + m_2u_2 = (2)(3) + (1)(-1) = 5\ \mathrm{kg\cdot m/s}
  2. Restitution

    e=v2−v1u1−u2=1e = \frac{v_2 - v_1}{u_1 - u_2} = 1

    e = 1 keeps all kinetic energy; e = 0 means the bodies move off together.

  3. Final velocities

    v1=p+m2e(u2−u1)m1+m2=0.333333 m/s,v2=p+m1e(u1−u2)m1+m2=4.33333 m/sv_1 = \frac{p + m_2e(u_2 - u_1)}{m_1 + m_2} = 0.333333\ \mathrm{m/s},\quad v_2 = \frac{p + m_1e(u_1 - u_2)}{m_1 + m_2} = 4.33333\ \mathrm{m/s}
  4. Kinetic energy

    KEbefore=9.5 J,KEafter=9.5 J,ΔKE=0 JKE_{\text{before}} = 9.5\ \mathrm{J},\quad KE_{\text{after}} = 9.5\ \mathrm{J},\quad \Delta KE = 0\ \mathrm{J}

About the momentum and collision calculator

In a collision between two bodies, the total momentum m₁u₁ + m₂u₂ is the same before and after. The coefficient of restitution e, the ratio of separation speed to approach speed, supplies the second equation: e = 1 is a perfectly elastic collision and e = 0 means the bodies stick together. The two equations give both final velocities, and comparing ½mv² before and after gives the kinetic energy lost.

The default, a 2 kg body at 3 m/s meeting a 1 kg body moving at −1 m/s elastically, sends them off at 0.333 m/s and 4.333 m/s. A 1,000 kg car at 20 m/s that locks onto a parked 1,500 kg car moves off at 8 m/s, and 60% of the kinetic energy goes into deformation, heat and sound.

Motion is along one line: choose a positive direction and give velocities the other way a minus sign. External forces such as road friction are taken as negligible during the impact.

Momentum formula: p = mv

Momentum is mass times velocity: p = mv, in kg·m/s. Velocity has a direction, so momentum does too: a 2 kg cart at 3 m/s has 6 kg·m/s, and a 1 kg cart moving the other way at −1 m/s has −1 kg·m/s. Together they carry 5 kg·m/s.

Choose one direction as positive and give every velocity the other way a minus sign. OpenStax's linear momentum lesson defines momentum as this vector quantity.

Conservation of momentum in a collision

When no outside force acts during the impact, total momentum is the same before and after: m₁u₁ + m₂u₂ = m₁v₁ + m₂v₂. That is one equation with two unknowns, the final velocities v₁ and v₂, so a second equation is needed.

The coefficient of restitution e supplies it: v₂ − v₁ = e(u₁ − u₂). The bodies separate at e times their approach speed, from e = 1 for an elastic collision down to e = 0 when they stick together.

Solving the pair gives:

  • v₁ = [m₁u₁ + m₂u₂ + m₂e(u₂ − u₁)] ÷ (m₁ + m₂)
  • v₂ = [m₁u₁ + m₂u₂ + m₁e(u₁ − u₂)] ÷ (m₁ + m₂)

Worked collisions

Masses are in kg, velocities in m/s, total momentum in kg·m/s and kinetic energy lost in joules.

m1u1m2u2ev1v2Total pKE lost
231-110.3333334.33333350
121010220
1000201500008820000120000
231-10.51354
252-5000050
  • Row 1: with total momentum 5 kg·m/s, v₁ = [5 + 1 × 1 × (−1 − 3)] ÷ 3 = 1/3 m/s and v₂ = [5 + 2 × 1 × (3 + 1)] ÷ 3 = 13/3 m/s, shown rounded. Check: 2 × 1/3 + 1 × 13/3 = 15/3 = 5 kg·m/s.
  • Row 3: a 1,000 kg car at 20 m/s locks onto a parked 1,500 kg car, and both move off at 8 m/s.
  • Row 5: equal and opposite momenta cancel, so two carts that stick together stop dead.

Elastic collisions (e = 1)

An elastic collision conserves kinetic energy as well as momentum. With e = 1 the formulas become v₁ = [(m₁ − m₂)u₁ + 2m₂u₂] ÷ (m₁ + m₂) and v₂ = [2m₁u₁ + (m₂ − m₁)u₂] ÷ (m₁ + m₂).

Equal masses swap velocities, as in row 2 and in a Newton's cradle. A light body bounces back off a heavy one: 1 kg at 2 m/s striking 10 kg at rest rebounds at −18/11 ≈ −1.64 m/s, and the heavy body moves off at 4/11 ≈ 0.36 m/s.

OpenStax's collision types lesson compares elastic and inelastic cases.

Perfectly inelastic collisions (e = 0)

The bodies stick and share one velocity, v = (m₁u₁ + m₂u₂) ÷ (m₁ + m₂). Momentum is conserved, but kinetic energy is not: the loss becomes deformation, heat and sound.

For the cars in row 3, kinetic energy falls from ½ × 1,000 × 20² = 200,000 J to ½ × 2,500 × 8² = 80,000 J. The 120,000 J difference is 60% of the original energy.

Coefficient of restitution between 0 and 1

Most real collisions fall between the two extremes. Row 4 repeats row 1 with e = 0.5: the bodies leave at 1 m/s and 3 m/s, still carrying 5 kg·m/s, and 4 J of the 9.5 J of kinetic energy is lost.

For a ball dropped on a rigid floor, e = √(bounce height ÷ drop height). A ball dropped from 1 m that bounces to 0.64 m has e = √0.64 = 0.8.

Impulse and impact force

Impulse is a body's change in momentum, J = m(v − u), in N·s. In row 1, body 2 goes from −1 m/s to 13/3 m/s, so it receives 1 × (13/3 + 1) = 16/3 ≈ 5.33 N·s; body 1 receives the same impulse in the opposite direction.

Average force is impulse divided by contact time. If that impact lasted 0.01 s, the average force on each body would be about 533 N. Spreading the same impulse over a longer time, as crumple zones and airbags do, lowers the force.

Common mistakes

  • Adding speeds instead of signed velocities. In row 1 the total momentum is 6 − 1 = 5 kg·m/s, not 7.
  • Expecting kinetic energy to be conserved. Every collision conserves momentum when no outside force acts, but only elastic ones keep kinetic energy.
  • Treating impulse as force. Impulse in N·s becomes a force only once you know how long the contact lasted.
  • Forgetting outside forces. Conservation applies over the brief impact; friction and braking afterward change the momentum.

Input formats and units

  • Motion is head-on along one line, with body 1 on the left and positive velocities pointing right.
  • Body 1 must be catching up with body 2, so u₁ must be greater than u₂. Two bodies moving left can still collide.
  • Masses must be positive (kg, g, t or lb), and velocities can be entered in m/s, km/h or mph.
  • e runs from 0 to 1; choosing elastic or perfectly inelastic fixes it at 1 or 0.

For kinetic energy on its own, use the work, energy and power calculator. The kinematics calculator handles motion before and after the impact, and the force, friction and incline calculator handles the friction that slows the bodies afterward.

Worked examples

Equal masses, elastic: velocities swap

Collision
Elastic
Mass of body 1
1 kg
Velocity of body 1 before
2 m/s
Mass of body 2
1 kg
Velocity of body 2 before
0 m/s
Show velocities in
m/s
Velocity of body 1 after
0 m/s
Velocity of body 2 after
2 m/s
Kinetic energy lost
0 J

Checked against: OpenStax UP1 §9.4: equal-mass elastic collision exchanges velocities

Car hits a parked car and they lock

Collision
Perfectly inelastic
Mass of body 1
1000 kg
Velocity of body 1 before
20 m/s
Mass of body 2
1500 kg
Velocity of body 2 before
0 m/s
Show velocities in
m/s
Velocity of body 1 after
8 m/s
Velocity of body 2 after
8 m/s
Kinetic energy before
200,000 J
Kinetic energy after
80,000 J
Share of kinetic energy lost
60.00%

Checked against: v = 20000/2500 = 8; KE 200000 → 80000 J

e = 0.5 head-on

Collision
Coefficient e
Coefficient of restitution e
0.5
Mass of body 1
2 kg
Velocity of body 1 before
3 m/s
Mass of body 2
1 kg
Velocity of body 2 before
-1 m/s
Show velocities in
m/s
Velocity of body 1 after
1 m/s
Velocity of body 2 after
3 m/s
Total momentum (conserved)
5 kg·m/s
Kinetic energy lost
4 J

Checked against: v1 = (5 + 1·0.5·(−4))/3 = 1, v2 = (5 + 2·0.5·4)/3 = 3; KE 9.5 → 5.5 J

Heavy ball hits a light one, elastic

Collision
Elastic
Mass of body 1
10 kg
Velocity of body 1 before
1 m/s
Mass of body 2
1 kg
Velocity of body 2 before
0 m/s
Show velocities in
m/s
Velocity of body 1 after
0.818182 m/s
Velocity of body 2 after
1.81818 m/s

Checked against: v1 = 9/11, v2 = 20/11

Questions

What is the difference between elastic and inelastic collisions?

Both conserve momentum; only an elastic collision also conserves kinetic energy. In a perfectly inelastic collision the bodies stick together and lose the most kinetic energy that momentum conservation allows. When a 1,000 kg car at 20 m/s locks onto a parked 1,500 kg car, momentum stays at 20,000 kg·m/s while kinetic energy falls from 200 kJ to 80 kJ. Most real collisions fall between the two extremes.

What is the coefficient of restitution?

It is the relative speed after a collision divided by the relative speed before, e = (v₂ − v₁) ÷ (u₁ − u₂), a number from 0 to 1. For a ball dropped onto a rigid floor, e = √(bounce height ÷ drop height). The ITF requires a type 2 tennis ball dropped from 254 cm onto concrete to rebound 135–147 cm, which corresponds to e between 0.73 and 0.76.

How do you calculate momentum?

Momentum is mass times velocity, p = mv, measured in kg·m/s. It has a direction, so velocities in opposite directions carry opposite signs. A 1,000 kg car at 20 m/s has 20,000 kg·m/s. With no outside forces the total is the same before and after a collision, which is why two 2 kg carts meeting head-on at 5 m/s and sticking together stop dead.

What happens when two equal masses collide elastically?

They swap velocities. A 1 kg ball at 2 m/s hitting an identical ball at rest stops, and the second ball leaves at 2 m/s with all the kinetic energy; a Newton's cradle shows the same effect. With unequal masses the lighter body leaves faster: a 10 kg ball at 1 m/s sends a 1 kg ball off at 1.82 m/s and slows to 0.82 m/s.

About this calculator

v1=m1u1+m2u2+m2e(u2−u1)m1+m2,v2=m1u1+m2u2+m1e(u1−u2)m1+m2v_1 = \frac{m_1u_1 + m_2u_2 + m_2e(u_2 - u_1)}{m_1 + m_2},\quad v_2 = \frac{m_1u_1 + m_2u_2 + m_1e(u_1 - u_2)}{m_1 + m_2}

Sources

  1. OpenStax University Physics Volume 1, §9.4 Types of collisions
  2. HyperPhysics — Elastic and inelastic collisions; coefficient of restitution

Checked against references

This calculator includes 5 worked examples with independently sourced answers. They run in the test suite, and you can run them here too.

Put this calculator on your site

Paste this where you want the calculator to appear. It is free to use, it stays in step with corrections made here, and the credit line below it links back so your readers can find the full version.

Height
Preview the embed

Keep the credit line. It is the only condition, and it is what keeps these calculators free.