Density Calculator

Find density, mass or volume from rho = m/V, look up the mass of a given volume of common materials, check whether an object floats, and mix liquids.

⚖️ Density Calculator
Find
Mass (m)
Volume (V)
Density (ρ)
Material
Density (ρ)
kg/m³
Find
Volume (V)
Mass (m)
Object mass (m)
Object volume (V)
Fluid
Fluid density
kg/m³
Amounts are given as
Part 1
Density
kg/m³
Amount
Part 2
Density
kg/m³
Amount
Part 3 (optional)
Density
kg/m³
Amount
Density
—
Density (kg/m³)
—
Density (g/cm³)
—
Density (lb/ft³)
—
Mass (kg)
—
Mass (lb)
—
Volume (L)
—
Volume (ft³)
—
Relative to water
—

Mass
—
Mass (kg)
—
Mass (g)
—
Mass (lb)
—
Volume (L)
—
Volume (ft³)
—
Volume (US gal)
—
Density used
—

The object
—
Object density
—
Fluid density
—
Submerged fraction
—
Volume below surface
—
Volume above surface
—
Net force if fully under (up is +)
—
Spare load before sinking
—

Mixture density
—
Density (g/cm³)
—
Total mass
—
Total volume
—
Relative to water
—

⚖️ What is Density?

Density is the amount of mass packed into a given volume. It is written ρ (the Greek letter rho) and defined by ρ = m / V. A kilogram of lead takes up far less space than a kilogram of wood, so lead is denser. In SI units density is measured in kilograms per cubic metre (kg/m³), and the everyday unit g/cm³ is exactly 1000 times larger. Fresh water is about 1000 kg/m³, air at sea level is about 1.2 kg/m³, and gold is about 19300 kg/m³.

Density is used almost everywhere in science and daily life. Engineers use it to turn a volume into a mass, which is how you estimate the weight of a steel plate, a concrete slab or a tank of fuel before ordering or lifting it. Cooks and brewers use it to check liquids, geologists use it to identify minerals, and ship designers use it to decide whether a hull will float. Because density is a property of the material and not of the sample size, one measurement lets you predict the mass of any volume of the same material, or the volume of any mass.

There are a few distinctions worth keeping straight. Density is not weight: weight is a force that depends on gravity, while density does not change from Earth to the Moon. Density is also not specific gravity, which is a unitless ratio against a reference such as water, and has its own specific gravity calculator. Counting particles per unit volume is a different quantity called number density, covered by the number density calculator, and the density of an ideal crystal follows from its lattice in the unit cell density calculator. Finally, density changes with temperature, and for gases with pressure, so quoted values always assume particular conditions.

This calculator covers four jobs. The first solves ρ, m or V from the other two with free choice of units. The second is a volume to mass converter that multiplies a volume by the density of a chosen material, or goes the other way from mass to volume, and lists the mass of the same volume for every material in the table. The third tests whether an object floats or sinks and how much of it is submerged. The fourth finds the density of a blend of up to three liquids or solids. All material densities are typical illustrative values at room temperature, not specifications.

📐 Formula

ρ  =  m ÷ V   ⇒   m = ρ × V   ⇒   V = m ÷ ρ
ρ = density (kg/m³). 1 g/cm³ = 1000 kg/m³ and 1 lb/ft³ = 16.0185 kg/m³
m = mass (kg). Conversions used: 1 lb = 0.45359237 kg, 1 oz = 0.028349523 kg
V = volume (m³). 1 L = 0.001 m³, 1 ft³ = 0.028316847 m³, 1 US gal = 0.003785412 m³
Fraction submerged: a floating object sits with ρobject / ρfluid of its volume below the surface (Archimedes' principle)
Net force when fully under: F = ( ρfluid − ρobject ) × V × g, with g = 9.80665 m/s² and positive meaning upward
Mixture density: ρmix = total mass ÷ total volume, assuming the part volumes add
Example: 2.7 kg in 1 L (0.001 m³) gives ρ = 2.7 / 0.001 = 2700 kg/m³

📖 How to Use This Calculator

Steps

1
Choose a mode. Use Solve for the basic formula, Mass from volume to pick a material, Float or sink for buoyancy, or Mixture to blend up to three parts.
2
Enter your values and units. In Solve mode pick which quantity to find and fill in the other two. The unit selectors only label the number you type, they never convert it.
3
Read the result. The answer appears in your chosen unit, with the density also shown in kg/m³, g/cm³ and lb/ft³, plus a chart or table that fits the mode.

💡 Example Calculations

Example 1 — Density of an Unknown Metal Block

A block has a mass of 540 g and a volume of 200 cm³

1
Convert to SI: 540 g = 0.54 kg and 200 cm³ = 0.0002 m³
2
ρ = 0.54 / 0.0002 = 2,700.00 kg/m³ = 2.700 g/cm³ = 168.56 lb/ft³
3
That is close to typical aluminium (2700 kg/m³), and 2.7 times denser than water.
Density = 2.700 g/cm³ (2,700.00 kg/m³)
Try this example →

Example 2 — Mass of a Steel Plate

A steel plate 0.5 m by 0.4 m by 10 mm is 2 L of steel at 7.85 g/cm³

1
Volume = 0.5 × 0.4 × 0.01 = 0.002 m³ = 2 L, and ρ = 7.85 g/cm³ = 7850 kg/m³
2
m = ρ V = 7850 × 0.002 = 15.700 kg
3
In pounds, 15.7 / 0.45359237 = 34.613 lb. The steel density is a typical value and varies a little between grades.
Mass = 15.700 kg (34.613 lb)
Try this example →

Example 3 — Mass of a Concrete Slab

A slab 3 m by 2 m by 0.1 m of typical concrete (2400 kg/m³)

1
Volume = 3 × 2 × 0.1 = 0.6 m³, which is 600 L or 21.189 ft³
2
m = 2400 × 0.6 = 1,440.00 kg
3
In pounds that is 3,174.66 lb. Real concrete ranges roughly from 2200 to 2500 kg/m³, so treat this as an estimate.
Mass = 1,440.00 kg (about 1.44 tonnes)
Try this example →

Example 4 — A Wooden Block in Fresh Water

A block of 12 kg and 20 L placed in fresh water (1000 kg/m³)

1
ρobject = 12 / 0.02 = 600 kg/m³, which is less than 1000, so it floats
2
Fraction submerged = 600 / 1000 = 60.00 %, so 12 L is below the surface and 8 L above
3
Held fully under, the net upward force is (1000 − 600) × 0.02 × 9.80665 = 78.453 N, and it can carry 8 kg of extra load before sinking
Floats, 60.00 % submerged
Try this example →

Example 5 — Ice in Seawater

1 L of ice at 0.917 kg, floating in seawater of 1025 kg/m³

1
ρice = 0.917 / 0.001 = 917 kg/m³, less than 1025, so the ice floats
2
Fraction submerged = 917 / 1025 = 89.46 %, with 0.1054 L showing above the surface
3
This is why most of an iceberg is hidden. Real icebergs contain air bubbles and brine, so their fraction differs slightly.
Floats, 89.46 % submerged
Try this example →

Example 6 — Ethanol and Water Mixture

60 L of water (998 kg/m³) mixed with 40 L of ethanol (789 kg/m³)

1
Masses: 998 × 0.06 = 59.88 kg and 789 × 0.04 = 31.56 kg, total 91.44 kg
2
Total volume = 60 + 40 = 100 L = 0.1 m³ (assuming volumes add)
3
ρmix = 91.44 / 0.1 = 914.40 kg/m³. A real mixture contracts by a few percent, so a measured value would be somewhat higher.
Mixture density = 914.40 kg/m³
Try this example →

❓ Frequently Asked Questions

What is the formula for density?+
Density is mass divided by volume, rho = m / V. In SI units mass is in kilograms and volume in cubic metres, so density is in kg/m3. Rearranged, mass = rho x V and volume = m / rho. This calculator solves whichever of the three you leave unknown.
How do I convert volume to mass?+
Multiply the volume by the density of the material. For 2 litres of steel at 7850 kg/m3 the volume is 0.002 m3, so the mass is 7850 x 0.002 = 15.7 kg. Use the Mass from volume mode and choose a material to fill in a typical density, or type your own.
How do I convert g/cm3 to kg/m3?+
Multiply by 1000. One g/cm3 equals 1000 kg/m3, so water at 1 g/cm3 is 1000 kg/m3 and aluminium at 2.7 g/cm3 is 2700 kg/m3. To get lb/ft3 from kg/m3, divide by 16.0185. The results panel shows all three units at once.
What is the density of water?+
Fresh water is about 1000 kg/m3 (1 g/cm3). More exactly it peaks near 999.97 kg/m3 at about 4 C and is near 998 kg/m3 at 20 C. Seawater is denser, typically about 1025 kg/m3, depending on salinity and temperature.
How can I tell if an object will float or sink?+
Compare its average density with the fluid. If the object is less dense it floats, with a submerged fraction equal to the density ratio. If it is denser it sinks. Float or sink mode applies this and also reports the net buoyant force and the spare load.
What fraction of a floating object is under water?+
The submerged fraction equals object density divided by fluid density. A block of 600 kg/m3 in fresh water at 1000 kg/m3 sits 60 percent under the surface. Ice at 917 kg/m3 in seawater at 1025 kg/m3 is about 89.5 percent submerged.
How do I find the density of a mixture?+
Divide the total mass by the total volume. For 60 L of water and 40 L of ethanol the masses are 59.88 kg and 31.56 kg and the volume is 100 L, so the density is 914.4 kg/m3. This assumes the volumes add, which is only approximately true for real liquids.
Why does my measured density differ from the table value?+
Densities change with temperature, purity, porosity and composition. Wood, concrete and gasoline vary widely, and alloys differ from pure metals. The material values on this page are typical illustrative numbers rounded for convenience, not specifications.
Is density the same as specific gravity?+
No. Density has units, such as kg/m3. Specific gravity (relative density) is the ratio of a density to a reference density, usually water, so it has no units. Water has a specific gravity of 1, and a substance with a value below 1 floats in water.
Does the shape of an object change its density?+
Not for a uniform solid. Density is a material property, so cutting a block in half halves the mass and volume together. Shape matters only for the average density of hollow or composite objects such as a ship or a hollow ball, which can float even if the material alone would sink.
How do I convert density from lb/ft3 to kg/m3?+
Multiply by 16.0185. For example, water at about 62.4 lb/ft3 is about 1000 kg/m3. Select lb/ft3 in the density unit box in Solve mode, type the value and read the same density in kg/m3 and g/cm3 in the results.
Why does the mixture result ignore volume change?+
Without data for the specific pair of substances, the best simple model is ideal mixing, where volumes add. Some mixtures such as ethanol and water shrink by a few percent, while dissolved salts change volume in other ways, so use measured values when accuracy matters.

What is the formula for density?

Density is mass divided by volume, rho = m / V. In SI units mass is in kilograms and volume in cubic metres, so density is in kg/m3. Rearranged, mass = rho x V and volume = m / rho. This calculator solves whichever of the three you leave unknown.

How do I convert volume to mass?

Multiply the volume by the density of the material. For 2 litres of steel at 7850 kg/m3 the volume is 0.002 m3, so the mass is 7850 x 0.002 = 15.7 kg. Use the Mass from volume mode and choose a material to fill in a typical density.

How do I convert g/cm3 to kg/m3?

Multiply by 1000. One g/cm3 equals 1000 kg/m3, so water at 1 g/cm3 is 1000 kg/m3 and aluminium at 2.7 g/cm3 is 2700 kg/m3. To get lb/ft3 from kg/m3, divide by 16.0185.

What is the density of water?

Fresh water is about 1000 kg/m3 (1 g/cm3). More exactly it peaks near 999.97 kg/m3 at about 4 C and is near 998 kg/m3 at 20 C. Seawater is denser, typically about 1025 kg/m3.

How can I tell if an object will float or sink?

Compare its average density with the fluid. If the object is less dense it floats, with a submerged fraction equal to the density ratio. If it is denser it sinks. Float mode applies this and also reports the net buoyant force.

What fraction of a floating object is under water?

The submerged fraction equals object density divided by fluid density. A block of 600 kg/m3 in fresh water at 1000 kg/m3 sits 60 percent under the surface. Ice at 917 kg/m3 in seawater at 1025 kg/m3 is about 89.5 percent submerged.

How do I find the density of a mixture?

Divide the total mass by the total volume. For 60 L of water and 40 L of ethanol the masses are 59.88 kg and 31.56 kg, the volume is 100 L, so the density is 914.4 kg/m3. This assumes the volumes add, which is only approximately true.

Why is the density I measured different from the table value?

Densities change with temperature, purity, porosity and composition. Wood, concrete and gasoline vary widely, and alloys differ from pure metals. The material values on this page are typical illustrative numbers, not specifications.

Is density the same as specific gravity?

No. Density has units, such as kg/m3. Specific gravity (relative density) is the ratio of a density to a reference density, usually water, so it has no units. Water has a specific gravity of 1.

Does the shape of an object change its density?

Not for a uniform solid. Density is a material property, so cutting a block in half halves the mass and volume together. Shape matters only for the average density of hollow or composite objects such as a ship or a hollow ball.