Calculator.org.in
Calculator

Density Calculator

Calculate density, mass, or volume with automatic SI and imperial conversion, geometric volume options, material references, significant figures, and uncertainty estimates.

  • mass density volume
  • rho m over v
  • density formula
  • material density
  • g cm3 to kg m3

Used when the volume source is Direct, or as the result unit when calculating volume.

Used when calculating mass or volume with a manually entered density.

When calculating density, the result always comes from mass and volume.

Approximate comparison values at stated or typical conditions—not specifications.

Geometry applies when calculating density or mass. Calculated-volume mode uses V = m ÷ ρ.

Optional relative uncertainty for the entered mass.

Optional relative uncertainty for the entered or geometric volume.

Optional relative uncertainty for entered or reference density.

Status: initial

Results

Awaiting calculation

Calculator guide

Density calculations with the units and assumptions exposed

The Density Calculator solves density, mass, or volume from the other two quantities. It converts metric and imperial units through SI base units, can derive volume for a cuboid, cylinder, or sphere, loads clearly labelled reference materials, compares results on a material scale, and estimates how entered measurement uncertainty affects the answer.


Use it for measurements, material estimates, and classroom checks

Use the calculator when identifying an unknown sample, estimating the mass of a known material, finding required capacity, checking a laboratory exercise, or translating density units. Reference presets are intentionally presented as typical comparison values because real materials vary with temperature, pressure, composition, grade, porosity, moisture, and manufacturing history.


Mass divided by occupied volume defines mass density

Mass density is represented by the Greek letter rho (ρ): ρ = m/V. Rearranging the same physical relationship gives m = ρV and V = m/ρ. The calculator converts inputs to kilograms and cubic metres before solving, then converts the answer into the selected display unit so mixed unit systems remain dimensionally consistent.

Variable explanations

Understand what each input and result means before calculating.

🎯 Quantity to calculate

Choose density, mass, or volume. The equation audit shows the rearranged relationship and all three internally consistent values.

⚖️ Mass

Enter mass in metric or US customary units. A scale may infer mass from force under calibration assumptions; mass and weight force are not interchangeable physical quantities.

🧊 Volume

Enter volume directly or derive it from ideal cuboid, cylinder, or sphere dimensions. Irregular, porous, hollow, or flexible objects need an appropriate measurement method.

ρ Density

Enter density manually or select a typical material when calculating mass or volume. When calculating density, mass and volume determine the result.

🧱 Material reference

Presets offer orientation across gases, liquids, construction materials, and metals. They are not grade-specific design values and cannot identify an unknown sample by themselves.

📐 Geometry

Geometry is used only when density or mass is calculated. When volume is the unknown, V = m/ρ is used and the dimension fields are ignored.

↔️ Unit conversion

Every calculation passes through kg, m³, and kg/m³. This prevents common factor-of-1,000 errors such as confusing g/cm³ with kg/m³.

± Measurement uncertainty

Enter relative uncertainty for each known quantity. The displayed range is a simple independent-input estimate, not a full uncertainty budget.

🔢 Significant digits

Choose how many significant digits appear in explanatory results. Reported precision should not exceed the quality of the underlying measurements.

Reviewed by the Calculator.org.in Editorial Team

Formula behavior, validation cases, explanatory examples, and cited sources are checked before publication. This review supports educational accuracy and is not a substitute for qualified professional advice.

Last reviewed: 2026-08-10

Review process

Formula guide

See the calculation logic, variable definitions, and practical meaning.

Density

ρ = m ÷ V

  • ρ is mass density
  • m is mass
  • V is occupied volume

Divide measured mass by measured or calculated volume.

Mass

m = ρ × V

  • Use a density representative of the actual material and conditions
  • Mass is not gravitational force

Multiply density by volume to estimate the amount of matter.

Volume

V = m ÷ ρ

  • Density must be positive
  • The result is occupied volume at the stated conditions

Divide mass by density to estimate capacity or displacement.

Rectangular cuboid volume

V = L × W × H

  • L, W, and H must share a length unit

Useful for solid rectangular samples without voids or cavities.

Cylinder volume

V = π(d ÷ 2)²h

  • d is diameter
  • h is cylinder height

The selected dimensions are converted to metres before volume is calculated.

Sphere volume

V = 4π(d ÷ 2)³ ÷ 3

  • d is sphere diameter

This assumes a complete, geometrically ideal sphere.

Specific volume

ν = 1 ÷ ρ

  • ν is volume per unit mass

Specific volume is the reciprocal of mass density and is displayed in m³/kg.

Relative density

RD = ρsample ÷ ρwater

  • This page uses 998.2 kg/m³ as an approximate fresh-water reference near 20 °C

Relative density is dimensionless. A precise specific-gravity comparison requires an explicitly defined reference temperature and method.

Independent relative uncertainty

ur = √(u₁² + u₂²)

  • Inputs are treated as independent relative percentages
  • This is a first-order estimate

The relevant known quantities are combined by root-sum-square propagation. Correlation, bias, calibration, and model uncertainty are not included.

Worked examples

Follow realistic inputs through the calculation step by step.

1

Worked example

Density of an aluminum-sized sample

  1. 1Enter 540 g mass and 200 cm³ volume.
  2. 2Calculate density in g/cm³.
  3. 3The result is 2.7 g/cm³, or 2,700 kg/m³.
2

Worked example

Mass of one litre of water

  1. 1Choose Calculate mass and the water material reference.
  2. 2Enter 1 L as direct volume.
  3. 3Using the page's 20 °C reference, the estimated mass is about 0.9982 kg.
3

Worked example

Volume of a steel component

  1. 1Choose Calculate volume and the carbon-steel reference.
  2. 2Enter a mass of 15.7 kg.
  3. 3The result is approximately 0.002 m³, or 2 L.
4

Worked example

Cuboid volume before density

  1. 1Choose Calculate density and cuboid dimensions.
  2. 2Enter 10 cm × 5 cm × 4 cm and a 540 g mass.
  3. 3The geometry produces 200 cm³ before ρ = m/V is applied.
5

Worked example

Cylinder mass from a reference material

  1. 1Choose Calculate mass, cylinder volume, and a suitable material reference.
  2. 2Enter diameter and height with one dimension unit.
  3. 3Review the geometry audit and material assumption before using the mass estimate.
6

Worked example

Convert density units

  1. 1Calculate or enter a physically consistent case.
  2. 2Select g/cm³, kg/m³, or lb/ft³ as the result unit.
  3. 3The displayed number changes while the underlying density remains the same.
7

Worked example

Estimate measurement sensitivity

  1. 1For a density calculation, enter mass and volume uncertainty percentages.
  2. 2The calculator combines them by root-sum-square.
  3. 3Use the displayed range as an initial check, not a complete laboratory uncertainty statement.

Common mistakes

Avoid these common input and interpretation errors.

Using weight force as mass

Density uses mass. Newtons and pound-force describe force and need a gravitational acceleration to convert to mass.

Mixing cubic and linear conversions

A centimetre is 0.01 m, but a cubic centimetre is 10⁻⁶ m³—not 0.01 m³.

Treating g/cm³ and kg/m³ as equal numbers

1 g/cm³ equals 1,000 kg/m³. The same physical density has different numerical values in different units.

Assuming a reference value is exact

A generic label such as steel, concrete, wood, or ethanol covers variation in grade, composition, moisture, porosity, and conditions.

Ignoring temperature and pressure

Liquids and gases can change density appreciably with temperature or pressure; solids can change too when precision matters.

Using external dimensions for a hollow object

Bulk external volume and actual material volume answer different questions. Cavities and porosity change average density.

Using ideal geometry for an irregular sample

A nominal diameter or edge length may not represent true displaced volume. Use an appropriate displacement or metrology method.

Equating density with buoyant force

Average density helps predict float or sink tendency, but actual buoyant force requires displaced-fluid volume and gravity.

Reporting excessive precision

A long calculator result does not improve the precision of measured inputs. Use significant figures and uncertainty appropriate to the method.

Using density alone to identify a substance

Different substances and mixtures can share similar densities. Identification normally requires additional physical or chemical evidence.

Frequently asked questions

Quick answers to the questions users ask most often.

What is the formula for density?
Mass density is ρ=m/V: divide mass by occupied volume.
How do I calculate mass from density?
Use m=ρV after converting density and volume into compatible units.
How do I calculate volume from mass and density?
Use V=m/ρ. The calculator performs the necessary unit conversions before division.
What is the SI unit of density?
The coherent SI unit of mass density is kilograms per cubic metre (kg/m³).
Is 1 g/cm³ equal to 1 g/mL?
Yes. One cubic centimetre equals one millilitre, so the two density units have the same magnitude.
How many kg/m³ are in 1 g/cm³?
Exactly 1,000 kg/m³.
What is the difference between mass and weight?
Mass measures amount of matter in kilograms; weight is gravitational force, normally expressed in newtons. Density uses mass.
Can I use dimensions instead of entering volume?
Yes for ideal cuboids, cylinders, and spheres. Irregular, porous, or hollow objects need a more appropriate volume measurement.
Why can a material's density vary?
Temperature, pressure, composition, grade, moisture, porosity, trapped gas, and manufacturing process can all change density.
What is specific volume?
Specific volume is volume per unit mass and is the reciprocal of density: ν=1/ρ.
What is relative density?
It is the ratio of a sample's density to a stated reference density. For liquids and solids the reference is often water at a specified temperature.
Does a density below water always mean an object floats?
Lower average density favors floating, but shape, cavities, trapped air, displacement, surface effects, and other forces can matter.
Can this calculator identify an unknown material?
No. The nearest-material list is only a comparison. Many materials overlap and reliable identification needs additional evidence.
How is uncertainty estimated?
The calculator combines the relative uncertainties of the two known quantities by root-sum-square, assuming they are independent. It excludes bias, correlation, model error, and many calibration effects.
Are the material presets suitable for engineering design?
No. Use the exact grade, condition, test method, supplier specification, or governing standard for consequential work.
Does density change with temperature?
Usually yes. Thermal expansion changes volume and therefore density; the effect can be especially important for fluids and precision measurements.

Version history

A transparent record of calculator content updates.

Updated 2026-08-10
  • 1.0.0 · 2026-08-10

    Initial release with three-variable solving, SI and imperial conversion, geometric volume, reference-material comparisons, specific volume, relative density, and first-order uncertainty propagation.