A gravitational binding energy is the minimum energy that must be added to a system for the system to cease being in a gravitationally bound state. A gravitationally bound system has a lower (i.e., more negative) gravitational potential energy than the sum of its parts--this is what keeps the system aggregated in accordance with the minimum total potential energy principle.
where G is the gravitational constant, M is the mass of the sphere, and R is its radius.
Assuming that the Earth is a uniform sphere (which is not correct, but is close enough to get an order-of-magnitude estimate) with M = 5.97 x 1024 kg and r = 6.37 x 106 m, U is 2.24 x 1032 J. This is roughly equal to one week of the Sun's total energy output. It is 37.5 MJ/kg, 60% of the absolute value of the potential energy per kilogram at the surface.
The actual depth-dependence of density, inferred from seismic travel times (see Adams-Williamson equation), is given in the Preliminary Reference Earth Model (PREM). Using this, the real gravitational binding energy of Earth can be calculated numerically as U = 2.487 x 1032 J.
According to the virial theorem, the gravitational binding energy of a star is about two times its internal thermal energy in order for hydrostatic equilibrium to be maintained. As the gas in a star becomes more relativistic, the gravitational binding energy required for hydrostatic equilibrium approaches zero and the star becomes unstable (highly sensitive to perturbations), which may lead to a supernova in high-mass stars due to strong radiation pressure or black holes in neutron stars.
The gravitational binding energy of a sphere with radius is found by imagining that it is pulled apart by successively moving spherical shells to infinity, the outermost first, and finding the total energy needed for that.
Assuming a constant density , the masses of a shell and the sphere inside it are:
The required energy for a shell is the negative of the gravitational potential energy:
Integrating over all shells yields:
Since is simply equal to the mass of the whole divided by its volume for objects with uniform density, therefore
And finally, plugging this into our result leads to
Two bodies, placed at the distance R from each other, exert a gravitational force on a third body slightly smaller when R is small. This can be seen as a negative mass component of the system, equal, for uniformly spherical solutions, to:
It can be easily demonstrated that this negative component can never exceed the positive component of a system. A negative binding energy greater than the mass of the system itself would indeed require that the radius of the system be smaller than:
which is smaller than its Schwarzschild radius:
and therefore never visible to an external observer.
Planets and stars have radial density gradients from their lower density surfaces to their much larger density compressed cores. Degenerate matter objects (white dwarfs; neutron star pulsars) have radial density gradients plus relativistic corrections.
Neutron star relativistic equations of state provided by Jim Lattimer include a graph of radius vs. mass for various models. The most likely radii for a given neutron star mass are bracketed by models AP4 (smallest radius) and MS2 (largest radius). BE is the ratio of gravitational binding energy mass equivalent to observed neutron star gravitational mass of "M" kilograms with radius "R" meters,
Given current values
and star masses "M" commonly reported as multiples of one solar mass,
then the relativistic fractional binding energy of a neutron star is