Density Calculator
Calculate density, mass, or volume using the formula ρ = m/V. Includes a reference table of common material densities.
About this calculator
Density relates how much mass occupies a given volume through the simple identity density = mass / volume, and this calculator can rearrange that identity to solve for any one of the three quantities given the other two. Select "Density" to compute density directly from a known Mass and Volume (rho = m / V) -- the default mode, useful for identifying an unknown material or checking whether a sample matches a known substance. Select "Mass" to compute how much a given Volume of a material with a known Density weighs (m = rho x V) -- useful for ordering the right quantity of a material by volume.
Select "Volume" to compute how much space a given Mass of material with a known Density occupies (V = m / rho) -- useful for sizing a container. Only two of the three quantities are ever independent inputs at a time; the third is always the calculated output, and the Formula Used output confirms which rearrangement was applied. The reference table lists common material densities (water at 1.0 g/cm3, aluminum at 2.7, iron at 7.87, gold at 19.32, air at roughly 0.00123, and oak wood at 0.6) as a quick sanity check against the calculated result.
Inputs
Results
Density
2 g/cm³
How to Use This Calculator
- Select the variable to solve for: density, mass, or volume.
- Enter the two known values in their respective units.
- Review the calculated result and the formula used (density = mass / volume).
- Common densities: water = 1.0 g/cm3, aluminum = 2.7 g/cm3, iron = 7.87 g/cm3 (see the full reference table below).
- Use to identify materials by density or calculate mass from volume for ordering materials.
How the result changes with Volume
| Volume | Density |
|---|---|
| 25 | 4 g/cm³ |
| 38 | 2.6316 g/cm³ |
| 75 | 1.3333 g/cm³ |
| 125 | 0.8 g/cm³ |
What each input means
- Solve For
- The variable to solve for.
- Mass
- Mass of the object.
- Density
- Used when solving for mass or volume.
How this is calculated
Worked example, using the default values
- Identify Input Parameters4 parametersSolve For = 0, Mass = 100, Volume = 50, Density = 1 = 4 input(s) provided
- Calculate Densityρ = m / V2 = 2
- Calculate Massm = ρ × V100 = 100
- Calculate VolumeV = m / ρ50 = 50
Engine last updated . Built by Paul Gunder, a software engineer, not a licensed financial, medical, or legal professional.
Frequently Asked Questions
How does increasing mass affect the calculated density?
When solving for Density (the default mode), raising Mass while holding Volume fixed increases Density proportionally, since Density = Mass / Volume. Doubling the mass of a sample that occupies the same volume doubles its calculated density -- this is the most direct relationship the calculator expresses, and it holds regardless of what material or unit values are entered.
Why does changing the Density input sometimes have no effect on the result?
The Density input is only used when solving for Mass or Volume. When "Solve For" is set to Density (the default), the calculator ignores the Density field entirely and computes density fresh from Mass and Volume -- so adjusting the Density input while in that mode changes nothing. Switch "Solve For" to Mass or Volume to see the Density input actually drive the calculation.
What's the difference between solving for mass and solving for volume?
Solving for Mass (m = rho x V) answers "how much does this volume of material weigh?" given its density -- useful when ordering material by volume but needing a shipping weight. Solving for Volume (V = m / rho) answers the reverse question, "how much space does this mass of material take up?" -- useful when you know how much material you have by weight but need to size a container or estimate space requirements.
Can I use this calculator to identify an unknown material?
Yes -- measure the mass and volume of a sample, set "Solve For" to Density, and compare the calculated result against the reference table of common material densities (water 1.0 g/cm3, aluminum 2.7, iron 7.87, gold 19.32, air about 0.00123, oak wood 0.6). A close match suggests the sample is that material or an alloy/blend close to it, though many materials share similar density ranges so this works best combined with other tests.
Related Calculators
The questions that sit next to this one — chosen by subject, including calculators filed under a different category.
Force Calculator (F=ma)
Calculate force, mass, or acceleration using Newton's Second Law (F = ma). Includes unit conversions to pounds-force and dynes.
Science & EngineeringOhm's Law Calculator
Calculate voltage, current, resistance, or power using Ohm's Law (V = I × R). Enter any two values to find the others.
Science & EngineeringVoltage Drop Calculator
Calculate voltage drop in electrical wiring based on wire gauge, length, current, and material. Ensure your circuits meet NEC recommendations.
More in Science & Physics.