Mass, volume and densityReviewed 29 Sep 2026Runs in your browser

Density, Mass & Volume Calculator

Solve for mass, volume or density with 40 common materials preloaded. Results come in metric and imperial units, with specific gravity, a float-or-sink check and support for porous or partly filled parts such as 3D prints.

Who wrote it

Written by Suhaib Hassan. Figures are estimates you can edit. Our methodology.

How the engine works

It uses ρ = m ÷ V after converting everything to grams and cubic centimetres, then converts back to whichever units you pick.

Why we built it

Material densities are scattered across handbooks and datasheets. This puts typical values next to the arithmetic and the unit conversions.

Mass, volume and density

fills in a typical density
% of the volume that is material, for 3D prints and porous parts
Mass—
—g

—

In kilograms—
In pounds—
Specific gravity—
Floats in water?—
Density——
Volume——
Note

—

Density of common materials

Typical values near room temperature. Real materials vary with alloy, moisture, temperature and manufacturing, so treat these as good estimates. Specific gravity is density compared with water.

Materialg/cm³kg/m³lb/ft³Specific gravity
Water at 20 °C0.99899862.300.998
Steel, carbon7.857,850490.067.851
Aluminium 60612.72,700168.562.700
Titanium Ti-6Al-4V4.434,430276.564.431
Cast iron, gray7.157,150446.367.151
Copper8.968,960559.358.961
Gold19.3219,3201206.1119.323
Lead11.3411,340707.9311.342
Oak0.7575046.820.750
Pine0.550031.210.500
Concrete2.42,400149.832.400
Ethanol0.78978949.260.789
Olive oil0.9191056.810.910
PLA1.241,24077.411.240
ABS1.041,04064.931.040

Formulas

How the numbers are worked out.

Density

Mass per unit volume. Rearrange for mass or volume.

ρ = m ÷ V
m = ρ × V
V = m ÷ ρ

Solid fill

For a part that is not fully solid, the effective density is the material density times the fill fraction.

effective ρ = ρ × fill%

Floating and buoyancy

An object floats if its effective density is below the fluid's. Water at 20 °C is 0.998 g/cm³.

floats if ρ < 0.998 g/cm³
net force = (water displaced − mass) × g

Worked examples

Illustrative figures, each checked by hand. The first is the default setup.

Steel block

250 cm³ of steel at 7.85 g/cm³ (the default).

mass = 7.85 × 250 = 1,962.5 g = 1.9625 kg = 4.33 lb
displaces 250 g of water, so net downward pull is 1,712.5 g, and it sinks

Volume from mass

5 kg of aluminium 6061 at 2.70 g/cm³.

5,000 g ÷ 2.70 = 1,851.9 cm³ = 1.85 L

3D print

200 cm³ of PLA (1.24 g/cm³) printed at 20% infill.

effective density = 1.24 × 0.20 = 0.248 g/cm³
mass = 0.248 × 200 = 49.6 g
this is below 0.998, so it floats

How to calculate density, mass or volume

  • Choose what you want to find.
  • Pick a material to fill in its density, or enter your own.
  • Enter the other two values with their units.
  • Read the result, its conversions, specific gravity and whether the object floats in water.

Densities are typical values near 20 °C. Actual alloys, woods and plastics vary, and gases and liquids change with temperature and pressure. Use the supplier's datasheet for engineering work.

By Suhaib Hassan · Reviewed 29 September 2026 · How CalculatePilot verifies formulas →

Sources

  • CRC Handbook of Chemistry and Physics, Density of common materials.
  • ASM International, ASM Handbook, Volume 1: Properties and Selection: Irons, Steels, and High-Performance Alloys.
  • NIST, Guide for the Use of the International System of Units (SI), SP 811.

Frequently asked questions

How do you calculate density?

Divide mass by volume. A block of 1,962.5 g with a volume of 250 cm³ has a density of 7.85 g/cm³.

What is specific gravity?

The ratio of a material's density to the density of water. Water is 1, steel is about 7.85, and anything below 1 floats in water.

How do I convert g/cm³ to kg/m³?

Multiply by 1,000. Steel at 7.85 g/cm³ is 7,850 kg/m³.

Why does the fill percentage matter?

A 3D print or foam is not solid material. A part at 20% infill has roughly one fifth of the solid material's density plus its outer walls, so treat this as an estimate.

Does temperature change density?

Yes. Most materials expand when heated and become less dense. The change is small for solids and larger for liquids and gases.

Related calculators

More everyday tools.

All Everyday Calculators

Embed This Density Calculator

Free and responsive, and it runs in the visitor's browser. Branding removal from $7.99/month.

<iframe src="https://www.calculatepilot.com/embed/density-calculator.html" width="100%" height="560" loading="lazy" title="Density Calculator"></iframe>
For website owners

Want this calculator on your own website?

Embed it in one line of code. Keep it free with a small CalculatePilot attribution link, or go white-label: your brand, no attribution, one license for all your domains.

  • All 159 calculators, unlimited embeds
  • Works on WordPress, Webflow, Squarespace, Wix and plain HTML
  • Runs in your visitor's browser, so nothing is sent to a server
  • License key emailed automatically after checkout, cancel anytime
$7.99 / month
or $89.99 / year · white-label Pro
Get the white-label license Embed free with attribution