Density links mass and volume
Density tells you how much mass is contained in a given volume. The equation is density = mass ÷ volume, usually written ρ = m/V. Rearranging it gives mass = density × volume and volume = mass ÷ density. Choose the quantity to find, then enter the other two. The hidden field for the unknown quantity does not contribute to the calculation.
Use mass rather than force. A kilogram measures mass; a newton measures force. A reading described informally as weight may represent mass, but force values cannot be substituted without a gravitational acceleration and a separate conversion. All quantities here must be positive. A zero volume has no defined finite density, and zero-density idealizations are outside this material-density calculation.
Mixed units without hidden assumptions
The calculator converts mass to kilograms and volume to cubic meters before applying the equation. One liter is 0.001 cubic meter, and one cubic centimeter is 0.000001 cubic meter. A milliliter has the same volume as a cubic centimeter. One gram per cubic centimeter therefore equals 1,000 kilograms per cubic meter. Imperial conversion uses the international foot and a pound mass of exactly 0.45359237 kilogram.
The headline uses SI units. Additional rows show density in grams per cubic centimeter and pounds per cubic foot, together with mass and volume in your selected units. These are conversions of one result, not different estimates of the material. Unit changes reinterpret the known value in the selected unit; enter a corresponding new value when changing how a measurement is expressed.
Example: a 27 gram object occupying 10 cm³
Density is 27 ÷ 10 = 2.7 g/cm³, which is 2,700 kg/m³. With a stated reference of 1,000 kg/m³, its specific gravity is 2.7. For the reverse calculation, a material of this density occupying 100 cm³ has mass 2.7 × 100 = 270 grams, or 0.27 kilogram. The forward and reverse examples use the same physical relation and consistent units.
Specific gravity and real materials
Specific gravity is density divided by a stated reference density, so it has no unit. Water is a common reference for liquids and solids, but its density changes with temperature. The default 1,000 kg/m³ is a convenient approximate reference, not an exact description of water under every condition. Enter the reference appropriate to your comparison instead of treating the resulting ratio as an independently measured property.
Bulk density can differ from the density of the solid material because a pile contains air gaps. Moisture and temperature can also change the result. Use measured or supplier-provided values that match the material and conditions. This tool does not assign freight classes or infer a material identity from a single density value. For an unfamiliar container shape, first calculate its volume with the volume calculator.
Frequently asked questions
Is g/mL the same as g/cm³?
Yes. One milliliter is one cubic centimeter, so their mass-per-volume units are equal.
Can I identify a metal from density alone?
No. Different compositions and measurement conditions may overlap; density alone does not establish identity.
Does this calculate freight class?
No. It calculates physical mass density. Freight classification can depend on handling, liability, dimensions and current carrier rules.
Last updated: November 14, 2026