# Momentum and collision calculator > How fast do they move after a collision? Velocities after a head-on collision, elastic to sticky, with momentum, energy and impulse, drawn before and after to scale. Calculate velocities after a 1D collision from masses, speeds and restitution, with conserved momentum, lost energy and impulse, and drag the arrows to try it. - Page: https://how.box/momentum/ - Runs entirely in the browser. - License: HowToolbox's own text and data (titles, explanations, FAQs, tool descriptions and schemas, this file) are CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/); AI training and answers are welcome. Attribute "HowToolbox (how.box)" with a link to the page used. Third-party data keeps its own terms; the name and logo are not licensed. Publisher: HowToolbox, contact@how.box. Terms: https://how.box/about/terms/ ## Inputs Answer link: https://how.box/momentum/?m1={m1}&v1={v1}&m2={m2}&v2={v2}&e={e}&mu={mu}&su={su} - `m1` (number 0 to 1e9): Mass of body 1 in mu. Example: `2`. - `v1` (number -1e6 to 1e6): Velocity of body 1 in su, positive to the right. Example: `3`. - `m2` (number 0 to 1e9): Mass of body 2 in mu. Example: `1`. - `v2` (number -1e6 to 1e6): Velocity of body 2 in su, positive to the right. Example: `-1`. - `e` (number 0 to 1): Coefficient of restitution, 0 to 1. Example: `1`. - `mu` (g, kg or lb): g, kg or lb. Example: `kg`. - `su` (ms, kmh or mph): ms, kmh or mph. Example: `ms`. Example answer: https://how.box/momentum/?m1=2&v1=3&m2=1&v2=-1&e=1&mu=kg&su=ms A complete link carries the primary answer in the page HTML; a missing or invalid value shows the default page. ## Agent tools - `momentum_calculate`: Head-on collision of two bodies on a line, from elastic to perfectly inelastic. - MCP, one POST to https://how.box/mcp: `{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"momentum_calculate","arguments":{"mass1":2,"velocity1":3,"mass2":1,"velocity2":-1,"restitution":1,"mass_unit":"kg","speed_unit":"ms"}}}` - GET: https://how.box/mcp/run/momentum_calculate?mass1=2&velocity1=3&mass2=1&velocity2=-1&restitution=1&mass_unit=kg&speed_unit=ms ## How it works Momentum is mass times velocity, p = m·v. When two bodies collide, they push each other with equal and opposite forces for the same short time, so whatever momentum one gains the other loses: the total m₁v₁ + m₂v₂ is the same before and after. Kinetic energy is different: some of it can turn into heat, sound and dents. How much is lost depends on the coefficient of restitution e, the ratio of the speed at which the bodies separate to the speed at which they approached. Together with momentum it fixes the result: v₁′ = (m₁v₁ + m₂v₂ + m₂·e·(v₂ − v₁)) ÷ (m₁ + m₂), and v₂′ the same with the bodies swapped. A 2 kg cart at 3 m/s meeting a 1 kg cart at −1 m/s carries 2 × 3 + 1 × (−1) = 5 kg·m/s; bouncing elastically (e = 1) they leave at 0.33 m/s and 4.33 m/s, and stuck together (e = 0) both move at 5 ÷ 3 ≈ 1.67 m/s, losing 5.3 J of their 9.5 J. The model is a head-on collision on a straight line, without friction or spin, and with e independent of the speed, which is a good approximation for carts, billiard balls and cars at low speed. Formulas from OpenStax University Physics, volume 1, sections 9.4 and 9.5 (openstax.org). ## FAQ **Can total momentum be zero while both objects are moving?** Yes. Equal and opposite momenta cancel in the total even though both bodies have kinetic energy. Zero total momentum does not mean zero motion. **Why does a moving ball stop dead when it hits an equal ball?** With equal masses and an elastic hit the two simply swap velocities: the moving ball stops and the resting one leaves at its speed, as in Newton's cradle. **What is impulse?** The change of momentum a body receives, equal to force times the time it acts. Crumple zones and airbags spread the same impulse over a longer time, so the force is smaller. **Can I use one restitution value for every collision of a material?** No. Restitution depends on the pair of objects and the impact conditions, not just a material name. Use a measured value for the collision you want to model. **Why does the calculator sometimes say there is no collision?** Body 1 starts to the left of body 2. They only meet if body 1’s signed velocity is greater than body 2’s; otherwise they stay apart or move farther apart. More: [HowToolbox index](https://how.box/llms.txt) · [Agent Skill](https://how.box/skill.md) · [agent terms](https://how.box/about/agents/)