Density and Volume Calculator

Calculate Mass, Volume, or Density with Scientific Precision

Was this calculator helpful?

4.6/5 (22 votes)

Calculation Examples

Calculation Case Result
Mass 500g, Volume 250 cm³ Density = 2 g/cm³
Density of water at 4 degrees Celsius 1,000 kg/m³ (exactly 1 g/cm³)
Gold density reference 19.3 g/cm³, denser than lead at 11.3 g/cm³

How to Use the Density Calculator

Enter any two of the three variables: mass, volume, or density. The calculator solves for the third using the fundamental density formula. Select your preferred units from the dropdown menus and unit conversion is handled automatically.

This tool is used across material science, chemistry, engineering, and fluid mechanics to identify substances, verify material purity, design shipping and storage solutions, and analyze buoyancy and displacement problems.

How Are Density Calculations Performed?

The calculator applies the foundational density formula $\rho = m/V$, where $\rho$ (rho) is density, $m$ is mass, and $V$ is volume. Entering any two values determines the third: to find volume from mass and density, use $V = m/\rho$; to find mass from density and volume, use $m = \rho \times V$. Units are handled automatically: entering mass in grams and volume in cubic centimeters produces density in g/cm³, while kilograms and cubic meters produce kg/m³. Note that 1 g/cm³ equals exactly 1000 kg/m³, a conversion that frequently causes errors in manual calculations.Density Formula Triangle: rho = m divided by V

Useful Tips 💡

  • Always use consistent unit families. If mass is in grams, volume must be in cubic centimeters (not liters or cubic meters) to produce density in g/cm³ without manual conversion.
  • Temperature significantly affects the density of liquids and gases. Water is most dense at 4 degrees Celsius (1,000 kg/m³) and becomes less dense both above and below this temperature, which is why ice floats.

📋Steps to Calculate

  1. Enter any two known values: mass, volume, or density.

  2. Select the correct units for each input from the dropdown menus.

  3. Click "Calculate" to find the unknown third variable with automatic unit conversion.

Mistakes to Avoid ⚠️

  1. Confusing mass with weight. Mass is constant regardless of gravitational field; weight is force and changes with gravity. The density formula uses mass, not weight in Newtons.
  2. Incorrect unit conversion between liters and cubic meters. One liter equals 0.001 cubic meters (not 0.1 or 0.01), a conversion error that produces density results off by a factor of 1,000.
  3. Assuming water density is exactly 1,000 kg/m³ at all temperatures. Water reaches maximum density at 4 degrees Celsius; at 100 degrees Celsius it is approximately 958 kg/m³, a 4.2% difference that matters in thermal engineering calculations.

Practical Applications📊

  1. Identify unknown materials or verify alloy composition by comparing a calculated density against reference values for known substances.

  2. Determine whether an object will float or sink in a given fluid by comparing its density to that of the fluid.

  3. Calculate mass or volume for shipping, packaging, and logistics where dimensional weight and actual weight must both be considered.

Questions and Answers

What is a density calculator and what problems does it solve?

A density calculator solves for any one of three interrelated physical properties: density, mass, or volume. Given any two, it computes the third using the formula $\rho = m/V$, where $\rho$ is density in kg/m³ or g/cm³, $m$ is mass in kg or g, and $V$ is volume in m³ or cm³. It is used to identify unknown substances by comparing calculated density against reference values, to determine buoyancy by comparing object density to fluid density, to verify the purity of metals and alloys, and to calculate material quantities for engineering and manufacturing applications.

What is the standard formula for calculating density?

Density is defined as $\rho = m/V$, where $\rho$ is density, $m$ is mass, and $V$ is volume. This formula rearranges to $m = \rho \times V$ (to find mass from known density and volume) and $V = m/\rho$ (to find volume from known density and mass). The SI unit for density is kg/m³, but g/cm³ is equally common in laboratory and materials science contexts. The two are related by the exact factor $1\text{ g/cm}^3 = 1000\text{ kg/m}^3$. For gases, density is often expressed in kg/m³ or g/L, as the values in g/cm³ would be extremely small (air at sea level is approximately 0.00120 g/cm³).

What is the standard unit for measuring density?

The SI unit for density is kilograms per cubic meter (kg/m³). In chemistry and laboratory settings, grams per cubic centimeter (g/cm³) is the most widely used because it produces convenient numeric values for common materials: water is 1 g/cm³, aluminum is 2.7 g/cm³, iron is 7.87 g/cm³, and gold is 19.3 g/cm³. In US engineering contexts, pounds per cubic foot (lb/ft³) is used. These units are related: $1\text{ g/cm}^3 = 1000\text{ kg/m}^3 = 62.43\text{ lb/ft}^3$. When using the calculator, selecting consistent units for mass and volume automatically produces the corresponding density unit without manual conversion.

Does the density of a substance change with shape or size?

No. Density is an intrinsic material property that depends only on the substance's composition and physical state, not on the quantity or geometry of the sample. A gold ring and a gold ingot have the same density of 19.3 g/cm³ regardless of their different masses and shapes. This constancy is what makes density useful for material identification: measuring the density of an unmarked metal sample and comparing it to reference values can confirm or rule out specific materials. However, density does change with temperature and pressure, particularly for gases (where density is highly pressure-dependent) and liquids (where thermal expansion is significant at large temperature ranges).

How do I find the volume of an irregular object using density?

For objects that cannot be measured geometrically, two approaches are common. The first is the water displacement method (Archimedes' principle): submerge the object in a graduated container of water and measure the volume of water displaced, which equals the object's volume. Once volume is known, density follows from $\rho = m/V$ using the measured mass. The second approach is the reverse calculation: if the material is known (and therefore its reference density is known), use $V = m/\rho$ to calculate the volume directly. This second method is widely used in manufacturing quality control to verify that a cast or machined part has the correct internal geometry by checking whether its measured mass is consistent with its expected volume at the material's known density.

How does density determine whether an object floats or sinks?

An object floats in a fluid if its average density is less than the fluid's density, and sinks if its average density is greater. This is Archimedes' principle: a submerged object experiences an upward buoyant force equal to the weight of fluid it displaces. If this buoyant force equals the object's weight, it floats. Water has a density of approximately 1 g/cm³ (1000 kg/m³), so any material with a density below this value will float: wood (0.4 to 0.9 g/cm³), ice (0.917 g/cm³), and most plastics. Steel (7.87 g/cm³) sinks as a solid, but a steel ship floats because its average density (steel plus enclosed air) is less than water. This principle applies equally to gases: a helium-filled balloon (helium density 0.000164 g/cm³) rises in air (density 0.00120 g/cm³) because helium is less dense than the surrounding gas.

How does temperature affect density?

Temperature affects density by changing volume while mass remains constant. For most solids and liquids, heating causes thermal expansion, increasing volume and therefore decreasing density. Water is a notable exception: it reaches maximum density at 4 degrees Celsius (1,000 kg/m³) and becomes less dense both above and below this temperature, which is why ice (0.917 g/cm³) floats on liquid water. For gases, density is highly sensitive to both temperature and pressure: at constant pressure, density decreases linearly with absolute temperature (Charles's Law), and at constant temperature, density increases linearly with pressure (Boyle's Law). For engineering calculations involving gases or high-temperature liquids, always use density values measured at the relevant operating temperature rather than standard reference values.

What are the reference densities of common materials?

Reference densities allow unknown materials to be identified by comparison. Common values in g/cm³: water at 4°C is exactly 1.000, ice at 0°C is 0.917, aluminum is 2.70, titanium is 4.51, iron is 7.87, copper is 8.96, lead is 11.34, mercury is 13.53, and gold is 19.30. For gases at standard conditions (0°C, 1 atm): air is approximately 0.001293, oxygen is 0.001429, and hydrogen is 0.0000899. These values are used in material identification, alloy verification, and as reference baselines for buoyancy and fluid mechanics calculations. Significant deviation from a known reference value suggests impurity, internal voids, or measurement error.
Disclaimer: This calculator is designed to provide helpful estimates for informational purposes. While we strive for accuracy, financial (or medical) results can vary based on local laws and individual circumstances. We recommend consulting with a professional advisor for critical decisions.