Density Calculator

Calculate density, mass, or volume from any two known values with automatic unit conversions, material presets, and step-by-step work.

Calculator is for informational purposes only. Terms and Conditions

\[ \rho = \frac{m}{V} \]
1

Choose what to solve for

Select the missing variable. The calculator will show only the required known values.

Choose density when you know mass and volume. Choose mass or volume when density is already known.
Presets update the default input and answer units. You can still choose any unit from each dropdown.
Enter mass and volume to calculate density.
2

Enter the known values

Use matching units for each value, or mix units and let the calculator convert them.

Mass is the amount of matter in the object or material sample.
Volume is the amount of space the object or material occupies.
Density is mass per unit volume. Material presets apply when density is one of the known inputs.
Advanced Options
Preset values are approximate and apply when density is a known input for mass or volume calculations.
3

Visual Check

See the density relationship and compare the result to water.

Density calculator visual diagram A visual diagram showing the mass, volume, and density relationship with a water comparison.
4

Solution

Live result, quick checks, warnings, and full solution steps.

Density
Real-time result updates as you type.

Quick checks

  • Check
Show solution steps See conversions, substitution, assumptions, and checks
  1. Enter values to see the full solution steps and checks.
5

Source, Standards, and Assumptions

Calculation basis, constants, assumptions, and limitations.

Standard density equation

Source/standard: Standard physics and engineering density relationship. No single governing code standard is required for this simplified calculation.

  • Assumptions will appear after a valid calculation.
On this page

Calculator Guide

How to Use the Density Calculator

The Density Calculator above helps you solve for density, mass, or volume when you know the other two values. Choose the solve mode, enter the known mass, volume, or density, select the units, and use the result to check material properties, homework problems, fluid comparisons, and quick engineering estimates.

Density tells you how much mass is packed into a given amount of space. A higher density means more mass per unit volume, which is why a small steel object can weigh more than a much larger piece of foam.

Best for Density, mass, volume, material checks, and sink-or-float estimates
Main result Density, mass, or volume depending on the selected solve mode
Most important input Volume, because small volume errors can create large density errors

Quick Answer

To calculate density, divide mass by volume: \( \rho = m/V \). To calculate mass, multiply density by volume: \( m=\rho V \). To calculate volume, divide mass by density: \( V=m/\rho \).

When not to rely on a simplified result

Do not treat a density result as a certified material property. Actual density can change with temperature, moisture, porosity, trapped air, manufacturing process, composition, and measurement method.

Inputs and Outputs Used by the Density Calculator

A density calculation uses two known values to solve for the third. The most common use is calculating density from mass and volume, but the same relationship can be rearranged to solve for mass or volume.

Density calculator inputs and outputs
ValueRoleWhat It MeansCommon Units
MassInput or outputAmount of matter in the object or material sample.g, kg, lb, oz
VolumeInput or outputAmount of space the object or material occupies.cm³, m³, mL, L, ft³, in³, gal
DensityInput or outputMass per unit volume.kg/m³, g/cm³, g/mL, lb/ft³
Specific gravityInterpretationDensity compared with water, usually using water as \(1000\,\text{kg/m}^3\).Unitless

Density Formula

The main density formula divides mass by volume. The calculator uses the same relationship and rearranges it when you choose to solve for mass or volume instead of density.

Calculate density

\[ \rho=\frac{m}{V} \]

Use this form when mass and volume are known.

Rearranged formulas

\[ m=\rho V \qquad V=\frac{m}{\rho} \]

Use \(m=\rho V\) when density and volume are known. Use \(V=m/\rho\) when mass and density are known.

What the Variables Mean

The variables are simple, but the units matter. Density always combines one mass unit divided by one volume unit.

\(\rho\)

Density. This is mass per unit volume, such as \(kg/m^3\), \(g/cm^3\), \(g/mL\), or \(lb/ft^3\).

\(m\)

Mass. This should be entered as a mass unit such as grams, kilograms, pounds, or ounces.

\(V\)

Volume. This should be entered as a volume unit such as cubic centimeters, liters, cubic feet, cubic inches, or gallons.

\(SG\)

Specific gravity. This compares a material’s density to water and helps estimate whether it is likely to float or sink.

How to Use the Calculator

Start by choosing what you want to solve for. Then enter the two known values, select the correct units, and review the answer with the quick checks and solution steps.

1

Select the solve mode

Choose density, mass, or volume. The input fields update based on the selected unknown value.

2

Enter the known values

Use measured mass and volume when possible. If you are solving for mass or volume, use a known or approximate material density.

3

Check the units

Confirm that \(cm^3\), \(m^3\), \(mL\), \(L\), \(ft^3\), and gallons are not being mixed accidentally.

4

Review the result

Compare the result with water, common material densities, and the specific gravity quick check before trusting it.

How to Interpret Density Results

A density result tells you how concentrated the mass is in a given volume. Low density usually means a light or porous material, while high density usually means a compact metal, mineral, or heavy solid.

What to do with the result

Use density to compare materials, estimate mass from volume, check fluid properties, or predict whether an object is likely to float or sink.

What changes the result most?

Volume is often the most error-sensitive input. A small mistake in volume measurement can make density too high or too low.

Sanity check

Water is about \(1000\,\text{kg/m}^3\) or \(1\,\text{g/cm}^3\). Results far above or below this should match the material you expect.

Input Checklist Before You Trust the Answer

Most wrong density results come from bad volume measurements, unit mix-ups, or using an approximate material density as if it were exact.

  • Confirm whether the volume is in \(cm^3\), \(m^3\), \(mL\), \(L\), \(in^3\), \(ft^3\), or gallons.
  • Check that mass is entered as mass, not force or weight in newtons.
  • Use water displacement for irregular solid objects when geometry is not reliable.
  • Use dry, wet, compacted, or loose density values consistently for materials like soil, gravel, and concrete.
  • Recalculate the result in another unit, such as \(kg/m^3\) and \(g/cm^3\), to catch scale mistakes.

Worked Example: Calculate Density from Mass and Volume

This example follows the most common density calculator workflow: mass and volume are known, and density is the unknown value.

Given values

Mass
\(500\,\text{g}\)
Volume
\(250\,\text{cm}^3\)
Find
Density in \(g/cm^3\)

Formula

\[ \rho=\frac{m}{V} \]

Substitution

\[ \rho=\frac{500\,\text{g}}{250\,\text{cm}^3}=2\,\text{g/cm}^3 \]

Final answer

The density is \(2\,\text{g/cm}^3\), which is the same as \(2000\,\text{kg/m}^3\). A reverse check gives \(2\,\text{g/cm}^3 \times 250\,\text{cm}^3 = 500\,\text{g}\), so the result is consistent.

What the Formula Represents

The density relationship can be remembered without a complex diagram: mass, volume, and density are three parts of the same relationship. If you know any two, you can solve for the third.

Density relationship map

Find density

Use \( \rho=m/V \) when you know mass and volume. This is the most common density calculator use.

Find mass

Use \( m=\rho V \) when you know density and volume, such as estimating the mass of a known material.

Find volume

Use \( V=m/\rho \) when you know mass and material density and need the occupied volume.

Compare to water

Use \( SG=\rho_{\text{object}}/\rho_{\text{water}} \) to estimate whether the object is likely to float or sink.

Simple way to remember it

Density increases when mass increases for the same volume. Density decreases when volume increases for the same mass.

Common Density Reference Values

Reference values help you decide whether a result looks reasonable. Treat these as approximate checks because real density changes with temperature, material composition, moisture content, voids, and manufacturing process.

Approximate material densities for quick checks
MaterialApproximate DensityQuick Interpretation
Air\(1.225\,\text{kg/m}^3\)Much less dense than water.
Oak wood\(750\,\text{kg/m}^3\)Often less dense than water, but moisture matters.
Ice\(917\,\text{kg/m}^3\)Less dense than liquid water, so it floats.
Water\(1000\,\text{kg/m}^3\)Common reference for specific gravity.
Normal-weight concrete\(2400\,\text{kg/m}^3\)Much denser than water.
Aluminum\(2700\,\text{kg/m}^3\)Light metal compared with steel.
Steel\(7850\,\text{kg/m}^3\)Dense structural metal.
Lead\(11340\,\text{kg/m}^3\)Very dense common metal.

Source note

For a plain-language definition of density as mass per unit volume, see the American Chemical Society resource on what density means in chemistry and materials. Use manufacturer data, lab measurements, or project specifications when exact density matters.

Design Notes and Practical Ranges

Density is often used as an estimate in engineering, construction, chemistry, fluids, and material takeoffs. It is useful for quick checks, but final material weights and properties should use project-specific data when available.

Use as an estimate

For materials like gravel, soil, wood, and concrete, density can vary widely depending on moisture, compaction, voids, aggregate type, and mix design.

Verify before final use

When density affects load, shipping weight, structural design, or purchasing quantity, confirm the value with a data sheet, supplier information, lab result, or field measurement.

Density Units and Conversions

Density units are always mass divided by volume. The most important conversion for students and engineers is \(1\,\text{g/cm}^3 = 1000\,\text{kg/m}^3\).

Common conversion

\[ 1\,\text{g/cm}^3=1\,\text{g/mL}=1000\,\text{kg/m}^3 \]

Hidden unit trap

A cubic meter is much larger than a cubic centimeter. If you enter \(250\,\text{cm}^3\) as \(250\,\text{m}^3\), the density result will be wrong by a massive factor.

  • \(kg/m^3\) is common in SI engineering calculations.
  • \(g/cm^3\) and \(g/mL\) are common in chemistry and material property tables.
  • \(lb/ft^3\) is common in U.S. customary engineering and construction estimating.
  • \(lb/gal\) is common for liquids in U.S. customary units.

Density vs Specific Gravity

Density has units, while specific gravity is a unitless comparison to water. Specific gravity is useful because it quickly tells you whether a material is more or less dense than water.

Specific gravity

\[ SG=\frac{\rho_{\text{object}}}{\rho_{\text{water}}} \]

Using water as \(1000\,\text{kg/m}^3\), a material with \(800\,\text{kg/m}^3\) has \(SG=0.8\), while a material with \(2400\,\text{kg/m}^3\) has \(SG=2.4\).

\(SG<1\)

The object is less dense than water and will usually float if its average density stays below water.

\(SG\approx1\)

The object is close to neutral buoyancy. Small changes in trapped air, moisture, or temperature may matter.

\(SG>1\)

The object is denser than water and will usually sink if fully submerged.

Common Mistakes When Calculating Density

The density formula is simple, so most errors come from unit handling or measuring volume incorrectly.

Do

  • Use \( \rho=m/V \), not volume divided by mass.
  • Convert all units before checking the result by hand.
  • Use water displacement for irregular shapes.
  • Compare your answer with common material densities.

Don’t

  • Do not confuse \(mL\) with \(L\).
  • Do not confuse \(cm^3\) with \(m^3\).
  • Do not assume wood, soil, gravel, or concrete has one exact density.
  • Do not use a material preset as a certified lab value.

Troubleshooting Unrealistic Density Results

If your density result looks too high, too low, or physically impossible, check the units first. A correct formula with the wrong units can produce a very convincing but wrong answer.

Result is too high

Check whether the volume was entered too small, such as using \(mL\) when the value was in liters or using \(cm^3\) when the calculator is set to \(m^3\).

Result is too low

Check whether the volume was entered too large or the mass was entered in the wrong unit, such as grams instead of kilograms.

Result is negative or zero

Density, mass, and volume should be positive for normal material calculations. Recheck the input sign and empty fields.

Float/sink result seems wrong

Remember that floating depends on average density. A hollow steel ship can float because the overall ship plus air volume is less dense than water.

Assumptions and Limitations

The density calculator is best used for educational calculations, quick checks, and preliminary estimates. It assumes uniform density and reliable input values.

Uniform material

The formula assumes the sample can be treated as having one average density.

Approximate presets

Material presets are not exact. Wood moisture, concrete mix, soil compaction, and aggregate type can change density significantly.

Measurement quality

The result is only as reliable as the measured mass and volume. Irregular shapes may need water displacement or another field method.

Final decisions

For final engineering, shipping, structural, or purchasing decisions, verify density with project data, supplier data, lab testing, or professional judgment.

Related Calculators and Engineering Tools

Use these related Turn2Engineering resources when density connects to material volume, fluid pressure, or construction quantity estimates.

Key Density Terms

These terms help connect the calculator inputs, formulas, and result checks.

Density

Mass per unit volume, usually written as \( \rho \).

Mass

The amount of matter in a sample, commonly measured in grams, kilograms, pounds, or ounces.

Volume

The amount of space a sample occupies, commonly measured in \(cm^3\), \(m^3\), liters, or cubic feet.

Specific Gravity

A unitless ratio comparing a material’s density to the density of water.

FAQ

What is the formula for density?

The density formula is \( \rho=m/V \). Density equals mass divided by volume.

How do you calculate mass from density and volume?

Multiply density by volume: \(m=\rho V\). For example, \(7850\,\text{kg/m}^3 \times 0.01\,\text{m}^3 = 78.5\,\text{kg}\).

How do you calculate volume from mass and density?

Divide mass by density: \(V=m/\rho\). For example, \(10\,\text{kg}/2500\,\text{kg/m}^3 = 0.004\,\text{m}^3\).

Is g/mL the same as g/cm³?

Yes. Since \(1\,\text{mL}=1\,\text{cm}^3\), a density of \(1\,\text{g/mL}\) is the same as \(1\,\text{g/cm}^3\).

Will an object float if its density is less than water?

Usually, yes. If the object’s average density is less than water, it will generally float. Shape, hollow space, trapped air, and water absorption can change the real-world result.

Scroll to Top