About the Density Calculator
Density tells you whether something will float, how heavy a load will be and whether a metal is what it claims to be. This density calculator solves density, mass or volume from the other two, with units for each: a 250 g block that displaces 92.6 ml of water has a density of about 2.70 g/cm³, matching aluminum. A table of common materials helps you identify substances.
Rearranged, the formula gives m = ρ × V for the mass and V = m ÷ ρ for the volume. Density in g/cm³ is numerically the same as in g/mL and kg/L, and 1 g/cm³ equals 1,000 kg/m³. Comparing a density with water's, about 1 g/cm³ or 1,000 kg/m³, gives the specific gravity: anything denser than water sinks and anything less dense floats. Density changes with temperature and, for gases, strongly with pressure.
Example: a 500 g object with a volume of 250 cm³ has a density of 2 g/cm³, 2,000 kg/m³, close to aluminium's 2.7 g/cm³ but lighter. Steel at about 7,850 kg/m³ means a 1 m³ block weighs 7.85 tonnes. A liter of gasoline at about 0.74 kg/L weighs 740 g, which is why fuel floats on water.
Archimedes famously used density to test a crown for gold. Convert units with the unit converter, find volumes of shapes with the volume calculator, and work out concentrations with the molarity calculator.
How to use the Density Calculator
- Choose what to solve forDensity, mass or volume.
- Enter the known valuesType them and choose units, such as grams and milliliters.
- Read the answerSee the result with the formula used.
- Compare materialsCheck the table of common densities and the conversions.
Density Calculator features
- Solve for density, mass or volume
- g/cm³, kg/m³, g/mL, kg/L, lb/ft³ and lb/in³
- Mass and volume in metric and US units
- Specific gravity compared with water
- Table of common material densities
- Formula worked through
- Instant and private
Common uses
- Science lab measurements
- Identifying materials
- Shipping weight estimates
- Cooking and brewing conversions
- Engineering material choices
Density in practice: checking gold, testing milk, fuel, building materials, air and courier charges
Density, mass divided by volume, explains why some things float and others sink, but it is also a practical test used every day. Jewellers and buyers use it to check gold, food inspectors use it to spot watered-down milk, builders use it to order sand and concrete, and couriers effectively use it when they charge for bulky parcels. This guide works through each of these, with notes on water, air and temperature.
A worked example: checking a gold ring
A 10 g ring lowered into a measuring cylinder raises the water level by about 0.56 ml, so its volume is 0.56 cm³ and its density about 17.9 g/cm³. Pure gold has a density of about 19.3 g/cm³, and 22-carat jewellery gold, alloyed with copper and silver, typically falls somewhere around 17.5 to 18 g/cm³, depending on the alloy. A result far below that range would be a warning sign.
Small volumes are hard to measure precisely at home, so this is a rough check; jewellers use accurate balances or electronic testers. The method goes back to the legend of Archimedes, who is said to have tested a king's crown by measuring the water it displaced.
Testing milk
Fresh cow's milk usually has a density of about 1.028 to 1.033 g/ml. Adding water lowers the density, which is why food inspectors and dairy buyers use a lactometer, a floating instrument that reads the density directly. In Pakistan, where adulteration of loose milk is a long-standing concern, lactometer tests are a common first check, although clever adulteration can disguise the result, so laboratory tests are needed for certainty.
Fuel
Petrol has a density of about 0.74 kg per litre and diesel about 0.83 to 0.85 kg per litre, both lighter than water, which is why fuel spills float. Because liquids expand when warm, a litre of fuel on a hot afternoon contains slightly less mass than a litre on a cool morning. The difference is small for a car's tank but matters to companies trading fuel in large quantities.
Building materials
Builders estimate weights and quantities using typical densities: concrete about 2,400 kg/m³, steel about 7,850 kg/m³, dry loose sand around 1,600 kg/m³ and fired clay bricks often 1,800 to 2,000 kg/m³. Knowing these figures helps check whether a truckload of sand matches the weight on the bill, or whether a roof slab will be heavy enough to need extra support.
Water and ice
Water is densest at about 4 °C, and ice is less dense than liquid water, so ice floats. Lakes therefore freeze from the top down, leaving liquid water beneath where fish survive the winter. Sea water, with dissolved salt, has a density of about 1.025 g/ml, which is why swimmers float slightly more easily in the sea than in a pool.
Air and altitude
Air at sea level has a density of about 1.2 kg/m³, and it becomes thinner with height. Aircraft need longer runways at high-altitude airports, such as Skardu, because thinner air gives the wings less lift and the engines less oxygen. Hot air balloons rise because heated air inside them is less dense than the cooler air around them.
Courier charges and volumetric weight
Courier companies often charge by the greater of a parcel's actual weight and its volumetric weight, calculated from its size. A common formula divides length × width × height in centimetres by 5,000. A box of 50 × 40 × 30 cm has a volumetric weight of 12 kg, so a light but bulky parcel is charged as if it weighed 12 kg. Packing items in smaller boxes can reduce shipping costs noticeably.
Measuring volume
For regular shapes, volume comes from measurements: length × width × height for a box. For irregular objects, the water displacement method works well, as long as the object does not absorb water. Measuring both mass and volume carefully, and repeating the measurement, gives the most reliable density.
Common mistakes
- Mixing grams with kilograms, or cm³ with m³.
- Forgetting that temperature changes the density of liquids.
- Treating a rough home test as proof of gold purity.
- Using packed density for loose materials, or the reverse.
Related tools
To convert masses, use Weight Converter. For volumes, try Volume Converter, and to estimate concrete for a slab, Concrete Calculator.
The human body
The human body has an average density close to that of water, a little less with air in the lungs. Breathing in deeply makes most people float, while breathing out makes them sink slowly. People with more body fat float more easily, because fat is less dense than muscle, a principle used in underwater weighing to estimate body fat.
Density and recycling
Recycling plants separate plastics by density: some plastics float in water while others sink. Bottles made of PET sink, while their caps, often polypropylene or polyethylene, float. The same idea separates materials in mining and agriculture, where grain is cleaned by blowing away the lighter chaff.
Limits
Densities of real materials vary with composition, moisture and temperature. Typical values here are approximate.
Frequently asked questions
What is density?
Mass per unit volume, ρ = m ÷ V. It tells you how tightly matter is packed. Water's density is about 1 g/cm³, so 1 mL of water weighs about 1 g.
How do I calculate density?
Divide the mass by the volume. A 300 g stone that displaces 120 mL of water has a density of 300 ÷ 120 = 2.5 g/cm³.
How do I find mass from density and volume?
Multiply them: m = ρ × V. A 2 L bottle of olive oil at 0.91 kg/L holds 1.82 kg of oil. Make sure the units match: kg/L with liters, or g/cm³ with cm³.
What is the density of water?
About 1,000 kg/m³, or 1 g/cm³, near 4 °C, where it is densest. At room temperature it is about 997 kg/m³, and ice is lighter at about 917 kg/m³, which is why ice floats.
What is specific gravity?
The ratio of a substance's density to that of water. It has no units. Gold's specific gravity is about 19.3, so gold is 19.3 times denser than water.
How do I convert g/cm³ to kg/m³?
Multiply by 1,000. 2.7 g/cm³ is 2,700 kg/m³. The units g/cm³, g/mL and kg/L all give the same number.
How do I measure the volume of an irregular object?
Submerge it in water in a measuring container and note how much the level rises. That displaced volume is the object's volume, which you can combine with its mass.
Why do some objects float?
An object floats when its average density is less than the fluid's. A steel ship floats because its hull encloses lots of air, making its average density lower than water's.
Does density change with temperature?
Yes. Most materials expand when heated, so their density falls. Water is unusual: it is densest at about 4 °C, which is why lakes freeze from the top down rather than from the bottom up.