Enter values and select Calculate.
Calculated result
Formula and worked example
Density = mass ÷ volume. Mass = density × volume. Volume = mass ÷ density.
A mass of 10 grams occupying 2 cubic centimeters has a density of 5 g/cm³. At that density, 3 cm³ has a mass of 15 g.
Calculations retain full internal precision and trim insignificant trailing zeros for display. Irrational square-root results are displayed as useful decimal approximations.
Density versus geometric volume
Density relates mass to occupied volume.
Use Volume Calculator when the primary job is finding a solid’s geometric volume from dimensions.
Use material calculators when estimating variable bulk materials; actual density can vary with composition, moisture, and packing.
Cubic unit policy
Volume conversions cube the underlying length factor.
One cubic foot equals 1,728 cubic inches, and one milliliter equals one cubic centimeter.
The calculator converts through kilograms and cubic meters before formatting the selected output unit.
Zero and limitations
Zero mass in positive volume produces zero density.
Zero volume cannot define density, and zero density cannot define volume for nonzero mass.
Negative physical mass, volume, and density inputs are rejected. This arithmetic tool does not identify an unknown substance or certify a material specification.
Methodology and limits
This deterministic browser-local tool uses the formula shown above and strict finite-number parsing. Unit relationships follow exact defined constants where applicable. It does not evaluate expressions, execute entered text, call a remote calculation service, or replace technical instruction.