Density Calculator
Calculate density from mass and volume, and see it in kg/m³, g/cm³ and lb/ft³.
Formula and sources updated · Data sources · 1View algorithm, constants and default inputs (JSON)
About this calculator
Density is mass divided by volume. It is the property that determines whether an object floats, and it is the link between a material’s weight and the space it occupies.
Worked example
calculated with the default values below
Mass 10 kg · Mass unit Kilograms · Volume 10 L · Volume unit Litres · To Density Result 1,000 · Density 1,000.000 kg/m³ · Density 1.0000 g/cm³ · Density 62.428 lb/ft³ · Volume per kilogram 1.0000 L/kg
Method and assumptions
Convert mass density via kilograms per cubic metre. Only the displayed unit definitions are converted; rounding and measurement uncertainty are separate.
Data sources
Disclaimer
These calculators give general conversion results. Rounding and the precision of the value you enter both affect the output, so treat displayed decimals as indicative rather than exact.
Implementation source
This record describes the implementation used by this page. It is not independent validation. External references, when available, support only the stated formula or definition; estimates and custom rules retain their own assumptions.
Formula and variables
ρ = m ÷ V
- m
- Mass in kg
- V
- Volume in m³
- ρ
- Density (kg/m³)
Mass is converted to kg and volume to m³. Litres per kilogram = 1,000 ÷ density in kg/m³.
Frequently asked questions
What happens if the volume is zero?
Density is mass divided by volume, so it is undefined at zero volume. The calculator shows a localized input error for zero or invalid volume rather than presenting density values.
Which inputs and limits apply to Density Calculator?
Use the units shown beside each field. These are form limits, not recommended settings. Mass: 0.000001–1,000,000,000,000 kg; Volume: 0–1,000,000,000,000 L Convert mass density via kilograms per cubic metre. Only the displayed unit definitions are converted; rounding and measurement uncertainty are separate.
What is a complete worked example for Mass = 10 kg; Mass unit = Kilograms?
Inputs: Mass = 10 kg; Mass unit = Kilograms; Volume = 10 L; Volume unit = Litres; To = Density. Calculation: ρ = m ÷ V. Results: Result = 1,000 kg/m³; Density = 1.0000 g/cm³; Density = 62.428 lb/ft³; Volume per kilogram = 1.0000 L/kg.