Density

The Density of an object is its mass per unit volume. All objects in Universe Sandbox are assumed to have uniform density.

Location
The Density property of an object can be found near the top of the Overview panel in the object's property panel. If the object has a Composition tab, the Density will also be listed under the Cumulative Properties category in that tab. For a Galaxy Nebula object, the Density property is located near the top of the Nebula tab.

The Density of an object is also displayed in its mini-info panel.

Units
Density can be viewed and edited using the following units:


 * Grams per cubic centimeter (g/cm3) = 1000 kg/m3
 * Kilograms per cubic meter (kg/m3) is the SI base unit for density
 * Hydrogen molecules per cubic centimeters (H2/cm3) = 1.67×10-24 kg/m3

Mass and Radius
Objects in Universe Sandbox are simulated as spheres of uniform density, so the density of an object, ρ, is related to its radius, R, and mass, M, by
 * $$M = \frac{4}{3}\pi R^3 \rho.$$