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

## Property Details

### 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/cm
^{3}) = 1000 kg/m^{3} - Kilograms per cubic meter (kg/m
^{3}) is the SI base unit for density - Hydrogen molecules per cubic centimeters (H
_{2}/cm^{3}) = 1.67×10^{-24}kg/m^{3}

## Simulation Effect

### 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