---
title: "Neutron Star Structure and Tidal Deformability Interactive Lab | Sandbox Physics"
description: "How much mass can a neutron star support? A neutron star can gain mass up to the point where pressure no longer supports a stable equilibrium."
canonical_url: "https://sandboxphysics.com/labs/neutron-star-interior/"
language: "en"
page_type: "lab"
alternate_languages:
  zh-CN: "https://sandboxphysics.com/zh/labs/neutron-star-interior/"
last_modified: "2026-11-22"
---

# Neutron Star Structure and Tidal Deformability

**How much mass can a neutron star support?** A neutron star can gain mass up to the point where pressure no longer supports a stable equilibrium. The limit depends on how fast the pressure rises when matter is compressed. A typical stellar radius and a tidal measurement probe this pressure at different densities from the maximum mass.

Change the pressure of dense matter and watch the stellar radius, mass limit and tidal response move together. Compare each sequence with public NICER and GW170817 samples.

> Interactive simulation: open this page in a web browser to change the parameters and run the model.

Model assumptions

The calculation uses cold, spherical, nonrotating perfect fluid in general relativity. APR4, SLy and H4 are piecewise-polytropic fits with a common SLy-like crust. Pressure and energy density join continuously, with slope changes at the joins. The quadrupole is a static, linear response. The first mass maximum marks the change of radial stability for these continuous sequences. The editable fits stop where the sound speed exceeds light speed. The NICER posterior uses a rotating stellar surface. GW170817 uses the GWTC-1 low-spin waveform prior. The plots offer separate comparisons with these published samples.

The selected star lies on the rising mass branch.

Shell probe **$6.79\,\mathrm{km}$** **$6.51\times10^{14}\,\mathrm{g\,cm^{-3}}$** Warm colors show denser matter.

Pressure as matter is compressed

Log density $\mathrm{g\,cm^{-3}}$, log pressure $\mathrm{dyn\,cm^{-2}}$

Drag the pressure anchor at the first core join.

Mass and radius · PSR J0030+0451

Radius (km), mass (solar masses)

Teal bins count 2019 NICER draws. The dashed branch follows the first mass peak.

Binary tidal response · GW170817

Mass ratio, dimensionless binary tide

Shared EOS, source chirp mass $1.186\,M_\odot$. Teal bins count low-spin GWTC-1 draws.

[Repeat the integration and download the data](https://sandboxphysics.com/stories/neutron-star-interior/repeat-the-tov-calculation/)

## Pressure, radius and tidal response

**Background** The center of a neutron star has the highest pressure. Each shell helps support the matter outside it. Gravity grows stronger when pressure and energy density rise.

**Why it matters** Measurements look at the outside of the star. Its radius and the tide raised by a companion let us test how matter behaves inside.

- **Focus question**: At almost the same mass, which preset deforms most easily?
- **One-sentence intuition**: Even a modest change in radius can make a large difference to a star’s tide.

### Core mathematical model

#### Static quadrupole response

$$
\Lambda=\frac{2k_2}{3}\left(\frac{Rc^2}{GM}\right)^5
$$

The Love number $k_2$ comes from the layered fluid. The fifth power makes compactness matter even when the Love numbers are close.

### Common difficulties

#### Pressure at different depths

**Typical misconception** A large radius tells me the maximum mass exactly.

**Better mental model** A star of ordinary mass never reaches the deepest part of a heavier star. Change the deep-core slope and see which part of the sequence moves.

### Run the experiment

1. 01

   #### Compare compact and larger stars

   Start with SLy, then select H4. Read the radius and tidal deformability.

   **What to observe:** The two presets start close to the same mass. H4 has the larger radius and almost three times the tidal deformability.

2. 02

   #### Follow the H4 sequence past its peak

   Increase the central density in H4 and follow the white dot into the dashed curve.

   **What to observe:** Past the first mass peak, further compression lowers the equilibrium mass. The dashed sequence is radially unstable.

Physical conclusion

Radius, tides and maximum mass carry information from different depths of a neutron star.

## Related experiments and articles

Inside a neutron star · Reading path

### Inside a neutron star

Articles on this path that use this experiment, followed by the other experiments they suggest.

1. [Article **Why a neutron star has a maximum mass**](https://sandboxphysics.com/stories/neutron-star-interior/why-a-star-has-a-mass-limit/)
2. [Article **Degeneracy pressure and the cold nuclear equation of state**](https://sandboxphysics.com/stories/neutron-star-interior/cold-matter-pressure/)
3. [Article **The TOV equations for a static neutron star**](https://sandboxphysics.com/stories/neutron-star-interior/relativistic-hydrostatic-equilibrium/)
4. [Article **From a neutron star’s Love number to a binary tide**](https://sandboxphysics.com/stories/neutron-star-interior/measure-a-static-tide/)
5. [Article **Repeat the TOV calculation and check it against NICER and GW170817**](https://sandboxphysics.com/stories/neutron-star-interior/repeat-the-tov-calculation/)
6. [Article **How to read a hybrid-star phase diagram and joint EOS constraints**](https://sandboxphysics.com/stories/neutron-star-interior/read-hybrid-star-branches/)

Motion & dynamics · Starter path

## From a falling ball to an orbit

Start by measuring gravity and splitting motion into components. Then add contact forces and collisions, and follow the same laws all the way to an orbit.

[Start here → **Free Fall & Measuring Gravity** Capture a few drops and fit the camera positions to estimate gravitational acceleration. Then add air damping and watch the fit drift from the truth. Observe · 14 min](https://sandboxphysics.com/labs/free-fall/)

1. [1 Free Fall & Measuring Gravity](https://sandboxphysics.com/labs/free-fall/)
2. [2 Projectile Flight Designer](https://sandboxphysics.com/labs/projectile-flight/)
3. [3 Inclined Plane & Friction](https://sandboxphysics.com/labs/inclined-plane/)
4. [4 One-Dimensional Collision Bench](https://sandboxphysics.com/labs/collision-bench/)
5. [5 Mass–Spring Oscillator](https://sandboxphysics.com/labs/mass-spring/)
6. [6 How Orbits Take Shape](https://sandboxphysics.com/labs/orbit/)

[View the full path →](https://sandboxphysics.com/topics/mechanics/#starter-path)
