Loading…

Four Momentum and Invariant Mass Calculator

Modern Physics • Special Relativity

View all topics

Compute the total four-momentum \((E/c,\vec p)\) of a system of particles and its invariant mass \[ \begin{aligned} m_0 &= \sqrt{\frac{E_{\mathrm{tot}}^2}{c^4} - \frac{|\vec p_{\mathrm{tot}}|^2}{c^2}}. \end{aligned} \]

Particle input table

Enter the energy \(E\) in joules and the momentum components \(p_x, p_y, p_z\) in \(\mathrm{kg\cdot m\cdot s^{-1}}\). For a photon, use \(p = E/c\). The calculator checks whether each row is physically consistent with \[ \begin{aligned} m_0^2 &= \frac{E^2}{c^4} - \frac{p^2}{c^2}. \end{aligned} \]

Particle \(E\) (J) \(p_x\) (kg·m/s) \(p_y\) (kg·m/s) \(p_z\) (kg·m/s) Action
Animation and graph controls
Ready
Ready
Interactive 4-momentum preview
The left panel shows a simple collision animation. The upper-right panel shows the total four-momentum components. The lower panel shows the energy–momentum diagram using \(p_x\) horizontally and \(E/c\) vertically.
Drag inside the lower graph to pan. Use the mouse wheel to zoom. Fit view restores the default framing. The axes are \(p_x\) in kg·m/s and \(E/c\) in kg·m/s.
Enter particle data and click “Calculate”.

Rate this calculator

0.0 /5 (0 ratings)
Be the first to rate.
Your rating
You can update your rating any time.

Frequently Asked Questions

What is four-momentum?

Four-momentum is the relativistic vector made from energy and momentum: P = (E over c, p). It transforms consistently under Lorentz transformations and is conserved in relativistic collisions and decays.

Why can two photons have nonzero invariant mass as a system?

Each photon individually has zero rest mass, but the combined system can have nonzero invariant mass if the total momentum does not cancel the total energy in the relation m squared = E squared over c to the fourth minus p squared over c squared.

Why does the calculator reject some inputs?

If a particle row gives E squared over c to the fourth less than p squared over c squared, the implied rest mass would be imaginary. The calculator treats that as unphysical input for this context.

What does m0 c² represent?

It is the invariant-mass energy scale of the system. In collider and particle physics, this energy is often more intuitive than the mass in kilograms.