HomeSpace & AstronomyNeutron Star Mass–Radius Relation

Neutron Star Mass–Radius Relation (2D)

Interactive 2D TOV (Tolman-Oppenheimer-Volkoff) equation solver: adjust a neutron star's central density and equation-of-state stiffness to see how mass and radius are set by general-relativistic hydrostatic equilibrium, and where the maximum-mass limit lies.

Space & Astronomy2DAdvanced60 FPS📱 Mobile-adapted⇄ 3D version
2d-neutron-stars ↗ Open standalone

A neutron star is held up not by Newtonian gas pressure but by degenerate neutron matter fighting the extreme curvature of its own gravity, described by the Tolman–Oppenheimer–Volkoff (TOV) equation. This 2D simulator solves that equation numerically in real time: pick a central density and an equation-of-state stiffness, and a 4th-order Runge–Kutta integrator builds the star's density profile outward from the core to its surface, rendering the resulting mass and radius as a 2D cross-section with its Schwarzschild radius drawn for scale. A live mass–radius curve traces the full family of solutions for the chosen equation of state, showing the turnover that marks the maximum-mass limit — the point beyond which no stable neutron star can exist and the remnant must collapse into a black hole.

⚙ Under the hood

Solve the Tolman-Oppenheimer-Volkoff equation live: adjust a neutron star's central density and equation-of-state stiffness to see how general-relativistic hydrostatic equilibrium sets its mass and radius, and find the maximum-mass limit where the star becomes unstable.

neutron stargeneral relativityTOV equationequation of stateastrophysicscompact objects

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)