Volume to Density Calculator

By: Calculator Grid

Volume to Density Calculator

Calculate mass density from an object's mass and volume, compare common density units, and export the current calculation as a validated Excel workbook.

Density 1.13 g/cm³ SI 1,127.76 kg/m³ Mass ÷ volume

Measurements

Positive decimal; use a period for decimals.

Changing the unit converts the current value.

Positive volume; commas are accepted only as 3-digit grouping.

1 mL equals 1 cm³ exactly.

This changes only the displayed density unit, not the physical result.

Density ρ = mass m ÷ volume V

Live result

Density

1.13 g/cm³

Mass divided by occupied volume.

Density in SI

1,127.76 kg/m³

Specific volume

0.000887 m³/kg

Mass in SI

0.0459 kg

Volume in SI

0.0000407 m³

A mass of 45.9 g occupying 40.7 cm³ has a density of 1.13 g/cm³.

Density conversion table

Density unit Symbol Converted value
Kilograms per cubic meter kg/m³ 1,127.764128
Grams per cubic centimeter g/cm³ 1.127764
Grams per milliliter g/mL 1.127764
Kilograms per liter kg/L 1.127764
Pounds per cubic foot lb/ft³ 70.405227
Pounds per cubic inch lb/in³ 0.040743

All rows represent the same physical density. The table changes with the current mass and volume and is exported to the workbook from the same canonical model.

Calculate volume from dimensions
Enter the required dimensions to preview a volume.

How to use the Volume to Density Calculator

What this calculator does

This calculator finds mass density by dividing an object's mass by the volume it occupies. It is useful for laboratory measurements, material comparisons, shipping or packaging checks, classroom problems, and quick engineering estimates. The result is an exact mathematical identity for the measurements entered, but it does not identify a material by itself or correct for temperature, pressure, porosity, trapped air, measurement uncertainty, or an irregular object's imperfect volume measurement. NIST defines mass density as mass divided by volume and gives the coherent SI unit as kilograms per cubic meter in its Guide to the SI definition of mass density.

When to use it

Use the calculator when you have measured an object's mass and displaced or calculated its volume; when you need to compare a sample with a published density; when you need to convert between metric and U.S. customary density units; or when you want a reproducible workbook containing the inputs, SI values, result, and conversion table. For precision work, record the measurement conditions because density can change with temperature and pressure.

How to calculate

  1. The calculator opens with a ready-to-use golf-ball demonstration: a Mass of 45.9 grams and a Volume of 40.7 cubic centimeters. The result and a validated example Excel workbook are immediately available.
  2. Replace Mass and Volume with your measurements. Choose the matching Mass unit and Volume unit. Changing either unit converts the current number so the physical quantity is preserved.
  3. Choose the preferred Density unit. The live result, summary pills, SI metrics, conversion table, accessible result summary, and workbook all update from the same calculation.
  4. When volume is not known directly, open Calculate volume from dimensions, choose a Shape and Dimension unit, complete the relevant dimension fields, and select Use calculated volume.
  5. Select Download Excel to build a fresh workbook from the current validated controls. Reset clears the demonstration values, helper dimensions, results, and workbook cache; the download is disabled until a complete valid mass and volume are entered again.

Input guide

Mass is required and accepts a positive ordinary decimal, such as 45.9. A period is the decimal separator; commas are accepted only as correctly placed thousands separators. Scientific notation, mixed units, zero, and negative values are rejected. Increasing mass while volume stays fixed increases density in direct proportion. Mass unit is required and supports kilograms, grams, milligrams, pounds, and ounces. The SI unit of mass is the kilogram, as explained by the NIST overview of the kilogram.

Volume is required and accepts a positive decimal, such as 40.7. Increasing volume while mass stays fixed lowers density because the same mass is spread through more space. Volume unit supports cubic meters, liters, milliliters, cubic centimeters, cubic inches, cubic feet, and U.S. gallons. Do not confuse linear units with cubic units; a 2 cm side cube occupies 8 cm³, not 2 cm³. NIST's SI volume guidance notes that the cubic meter is the SI unit of volume and that 1 mL equals 1 cm³.

Density unit is a required display choice. It does not change the underlying density, only its numerical representation. For example, 1 g/cm³ and 1,000 kg/m³ describe the same density. Shape is optional and selects a rectangular prism, cylinder, or sphere for the volume helper. Dimension unit is optional and converts any entered dimensions among millimeters, centimeters, meters, inches, and feet. For a rectangular prism, Length, Width, and Height are required. For a cylinder, the first two fields become Radius and Height. For a sphere, only Radius is used. Every dimension must be positive. Use calculated volume transfers the helper's volume into the main Volume field in the currently selected volume unit; it never changes mass.

Output guide

The Density primary result is mass divided by volume in the selected Density unit. A higher value means more mass is packed into each unit of volume; a lower value means less. Zero is not produced from valid inputs because both required measurements must be positive. Density in SI reports the same result in kg/m³. Specific volume is the reciprocal of density in m³/kg and tells how much volume corresponds to one kilogram; it falls when density rises. Mass in SI and Volume in SI show the normalized values used by the model.

The live pills labeled Density, SI, and Mass ÷ volume provide a compact status check. The Density conversion table lists the unit name, symbol, and converted value for six common expressions of the same result. Its rows are conversions, not separate measurements. The helper's calculated volume preview is an estimate based on the selected ideal shape and dimensions; irregular objects generally require displacement or a more suitable geometric model.

Worked example

With the startup values, 45.9 g divided by 40.7 cm³ equals 1.127764... g/cm³. The main display rounds this to 1.13 g/cm³. Multiplying by 1,000 converts it to 1,127.76 kg/m³, and taking the reciprocal of the SI density gives approximately 0.000887 m³/kg of specific volume. These values match the first rendered result, conversion table, and workbook checkpoints.

Formula, units, and interpretation

The model uses ρ = m/V. Internally, mass is converted to kilograms and volume to cubic meters before division. This prevents unit combinations such as pounds and milliliters from being mixed incorrectly. The selected output unit is then applied to the single canonical kg/m³ result. For formal conversion work, NIST publishes conversion factors for SI and non-SI units.

Measurement caution: density is only as reliable as the mass and volume measurements. Round the final result to a precision supported by the least precise input rather than treating extra calculator digits as additional experimental accuracy.

Common mistakes

  • Using weight force in newtons as though it were mass in kilograms. In ordinary Earth-based usage people often say “weight” when they mean mass, but the physical quantities are different.
  • Entering a linear dimension as a volume. Compute cubic volume first or use the built-in shape helper.
  • Changing a unit label without converting the number. This calculator performs that conversion automatically when a unit selector changes.
  • Comparing densities measured at materially different temperatures or pressures without noting those conditions.
  • Using an ideal prism, cylinder, or sphere formula for an irregular or hollow object without accounting for voids and displaced volume.