Skip to content
BestCalculators LogoBestCalculators
Free online calculators and converters

Math & Statistics

Density Calculator: Mass, Volume and Specific Gravity

Work out density, mass or volume from the other two, in every common unit, with specific gravity and whether the material floats in water.

g

In grams. The default is a litre of aluminium, which weighs 2.7 kg.

cm³

In cubic centimetres, which are millilitres. A litre is 1,000 of them.

g/cm³

Look the material up and this gives the mass of your volume and the volume of your mass. 7.87 is iron; water is 1, aluminium 2.7, lead 11.34.

g/cm³

Water is 1.0 and seawater about 1.025, which is why the same hull floats a little higher at sea.

Density

2.7g/cm³

Mass over volume. Numerically identical to kg per litre and to tonnes per cubic metre — three units, one number, which is the tidiest thing about the metric system.

In kilograms per cubic metre
2,700kg/m³

The SI form, and what an engineering table will quote. Water is 1,000 and air about 1.2.

In pounds per cubic foot
168.555lb/ft³

The unit US construction and shipping work in. Water is 62.4, which is worth remembering on its own.

Specific gravity
2.7

Density relative to the fluid — a pure ratio with no units, which is why it survives every unit system unchanged.

Does it float
0

1 floats, 0 sinks. Nothing else matters: a steel ship floats because the hull encloses air, which drops the average density of the whole vessel below 1.

Share that sits below the surface
100.0%

For anything that floats, the specific gravity is the fraction underwater. Ice at 0.917 puts nine-tenths of an iceberg below the line, and that is where the phrase comes from.

Mass of your volume at the known density
7,870g

1,000 cm³ of a material at 7.87 g/cm³. This is the calculation that decides whether a shelf, a floor or a vehicle can take it.

Volume your mass would occupy
343.07cm³

The same equation rearranged. Dense materials are small and heavy — a kilogram of lead is a cube under 4.5 cm on a side.

Upward force in water
1,000g of lift

Archimedes: the weight of the fluid displaced. Compare it with the mass — more lift than mass means it floats, and the difference is what it can carry.

Apparent weight submerged
1,700g

Mass less the buoyancy. Negative means it will not stay down without being held there.

Weight of one litre
2,700g

The everyday version of the same number. Water is a kilogram a litre by design, which is where the unit came from.

How many times heavier than water
2.7

Identical to the density in g/cm³, because water is 1. That coincidence is the whole reason this unit is convenient.

How to use this calculator

  1. Enter your sample's weight into the Mass field in grams.
  2. Enter the space it takes up into the Volume field in cubic centimetres.
  3. Read your headline **density calculator** result in grams per cubic centimetre right away.
  4. Optionally enter a known density value into the Or a known density, to work backwards field to estimate dimensions for other materials.
  5. Optionally enter a fluid density value into the Density of the fluid it sits in field to determine specific gravity and flotation behaviour.

Understanding Mass, Volume, and Density

The relationship between mass, volume, and density forms the bedrock of classical mechanics and fluid dynamics. When you use a mass volume density tool, you are measuring how tightly packed matter is within a given space. The core equation is straightforward: density equals mass divided by volume. If a solid block of iron weighs 78.7 grams and occupies 10 cubic centimetres, its density is 7.87 grams per cubic centimetre. This single value tells you precisely how heavy a substance is relative to its size, regardless of whether you have a tiny pebble or a massive boulder of the exact same material.

Most people run into trouble with units rather than the division itself. One cubic centimetre is precisely equal to one millilitre, meaning a litre container holds one thousand cubic centimetres. When transitioning to engineering units, the scale shifts significantly. One gram per cubic centimetre equals one thousand kilograms per cubic metre, or roughly 62.43 pounds per cubic foot. The density formula remains constant, but the multiplier changes to match whatever regional standard your blueprint or specification demands.

Specific Gravity and Why Objects Float

Beyond basic dimensions, physical substances interact with their surrounding environments in predictable ways governed by buoyancy. A specific gravity calculator function determines how many times heavier or lighter a substance is compared to a reference fluid, which is almost always pure water at 4 degrees Celsius with a density of 1.0 grams per cubic centimetre. Because specific gravity is a ratio, it has no units. If an object has a specific gravity of 0.8, it is lighter than water and will rise to the top.

Archimedes taught us that the upward buoyant force on an object equals the weight of the fluid it displaces. When you enter a value into the Density of the fluid it sits in field, the calculation behind the scenes compares your material's density against that fluid. If your material's density is lower than the fluid density, it floats. The percentage of the object that stays submerged matches its density divided by the fluid density. Seawater has a density of about 1.025 grams per cubic centimetre due to dissolved salts, which is why ships sit slightly higher in the ocean than they do in a freshwater river.

Working Backwards from Known Densities

Often you do not have both mass and volume to start with, but you know what material you are holding. That is where the **Or a known density, to work backwards** field becomes essential. By inputting a reference density—such as 7.87 for iron, 2.7 for aluminium, or 11.34 for lead—you can instantly calculate the expected mass for any given volume, or the space required to store a specific weight of that material. This reverse lookup saves hours of manual algebra when sizing containers or estimating shipping loads.

Engineers and metallurgists rely on standard reference tables to check their experimental findings against pure elements. For example, water sits at 1.0 grams per cubic centimetre, ice is approximately 0.92, and gold reaches a dense 19.32. If your calculated kg per cubic metre value for a supposedly solid gold ring comes back as 14,000 kg/m³, you immediately know the piece is hollow, plated, or alloyed with lighter metals like copper or silver.

Common Materials Reference Table

MaterialDensity (g/cm³)Density (kg/m³)Specific Gravity in WaterFloats in Water?
Cork0.242400.24Yes
Ice0.929200.92Yes
Water1.0010001.00Neutral
Aluminium2.7027002.70No
Iron7.8778707.87No
Lead11.341134011.34No
Gold19.321932019.32No

Limitations and Measurement Errors

Calculated outputs are only as reliable as the raw figures you type into the input boxes. A common mistake is mixing up milligrams, grams, and kilograms, which throws your final density calculation off by a factor of one thousand. Another frequent error involves porous materials like wood, concrete, or unglazed ceramics. These substances absorb water or trap microscopic air pockets, meaning their apparent bulk density differs significantly from the true density of their solid constituent matter.

Temperature also alters density by causing materials to expand or contract. Standard scientific densities are measured at specific thermal baselines, usually 20 degrees Celsius. If you are working with high-temperature industrial melts, cryogenic liquids, or gases under variable pressure, these basic room-temperature calculations will drift from reality. For critical aerospace, medical, or structural engineering applications where safety margins are narrow, do not rely on general estimations; consult certified material data sheets or qualified metallurgical laboratories instead.

The formula

density = mass ÷ volume, and the same triangle gives the other two1 g/cm³ = 1 kg/L = 1,000 kg/m³ = 62.43 lb/ft³specific gravity = density ÷ the fluid’s density, and under 1 floatsbuoyancy = the weight of the fluid displaced (Archimedes)

Frequently asked questions

What is the difference between mass and weight in these calculations?

Mass measures the actual amount of matter inside an object in grams or kilograms, whereas weight measures the gravitational pull acting on that mass. While weight changes if you travel from Earth to the Moon, mass and calculated density remain completely identical everywhere in the universe.

Why does ice float in water even though it is made of the same substance?

When water freezes into ice, its molecules form a crystalline lattice that holds them slightly further apart than in liquid form. This expansion decreases the density of ice to about 0.92 grams per cubic centimetre, making it lighter than liquid water and allowing roughly nine-tenths of an iceberg to remain hidden beneath the surface.

How do I convert grams per cubic centimetre into kilograms per cubic metre?

To convert from grams per cubic centimetre to kilograms per cubic metre, you multiply your starting value by one thousand. This happens because one kilogram contains one thousand grams, and one cubic metre contains one million cubic centimetres, creating a net scaling factor of one thousand.

Can I use this tool for irregular objects that have no straight edges?

Yes, absolutely, provided you can determine their volume through water displacement methods. Simply submerge the irregular object in a measuring container, note how many millilitres of water are pushed aside, and enter that exact millilitre volume alongside your mass measurement.

What does specific gravity tell me that standard density does not?

Specific gravity strips away all units by comparing your material directly against the density of pure water as a clean baseline ratio. This allows engineers to instantly see how many times heavier or lighter a substance is compared to water without needing to juggle unit conversions.

Sources

Last reviewed . Results are for general guidance and are not professional advice.