Density Calculator: Mass, Volume and Density Formula
: Find density, mass or volume from the other two with ρ = m ÷ V, in any unit, with the volume from a box, cylinder or sphere, specific gravity, float or sink in water and a materials table- Density
- 2.5 g/cm³
- ρ = m ÷ V = 0.02 kg ÷ 0.000008 m³ = 2,500 kg/m³.
- Specific gravity
- 2.5001
- ρ ÷ 999.972 kg/m³ (water at 4 °C) = 2,500 kg/m³ ÷ 999.972 = 2.5001.
- In fresh water
- Sinks
- Denser than water (2.5001 times). A solid piece of this sinks; a hollow thing such as a ship can still float.
- Nearest materials
- Glass, Concrete, Granite
- Glass 2,500 kg/m³; Concrete 2,400 kg/m³; Granite 2,700 kg/m³. Closest by ratio of density.
- Densities of real materials vary with temperature, alloy, moisture and porosity. The table gives typical values: use your own figure when you have it.
| Unit | Value |
|---|---|
| kg/m³ | 2,500 |
| g/cm³ (your unit) | 2.5 |
| g/mL | 2.5 |
| g/L | 2,500 |
| kg/L | 2.5 |
| lb/ft³ | 156.07 |
| lb/in³ | 0.090318 |
| lb/gal (US) | 20.864 |
| oz/in³ | 1.4451 |
| Material | kg/m³ | g/cm³ | lb/ft³ |
|---|---|---|---|
| Air (20 °C, 1 atm) | 1.204 | 0.001204 | 0.075163 |
| Cork | 240 | 0.24 | 14.983 |
| Pine | 373 | 0.373 | 23.286 |
| Wood (seasoned, typical) | 700 | 0.7 | 43.7 |
| Oak | 710 | 0.71 | 44.324 |
| Ice | 916.7 | 0.9167 | 57.228 |
| Cooking oil | 920 | 0.92 | 57.434 |
| Water (20 °C) | 998.21 | 0.99821 | 62.316 |
| Water (4 °C) | 999.97 | 0.99997 | 62.426 |
| Seawater (3 % salinity) | 1,030 | 1.03 | 64.301 |
| Nylon | 1,150 | 1.15 | 71.792 |
| Glycerol | 1,261 | 1.261 | 78.722 |
| Sand (dry) | 1,600 | 1.6 | 99.885 |
| Magnesium | 1,740 | 1.74 | 108.62 |
| Concrete | 2,400 | 2.4 | 149.83 |
| Glass | 2,500 | 2.5 | 156.07 |
| Your result (you) | 2,500 | 2.5 | 156.07 |
| Granite | 2,700 | 2.7 | 168.56 |
| Aluminium | 2,700 | 2.7 | 168.56 |
| Limestone | 2,750 | 2.75 | 171.68 |
| Basalt | 3,000 | 3 | 187.28 |
| Diamond | 3,500 | 3.5 | 218.5 |
| Titanium | 4,506 | 4.506 | 281.3 |
| Zinc | 7,140 | 7.14 | 445.74 |
| Tin (white) | 7,265 | 7.265 | 453.54 |
| Mild steel | 7,850 | 7.85 | 490.06 |
| Iron | 7,870 | 7.87 | 491.31 |
| Brass | 8,600 | 8.6 | 536.88 |
| Nickel | 8,900 | 8.9 | 555.61 |
| Copper | 8,960 | 8.96 | 559.35 |
| Silver | 10,500 | 10.5 | 655.49 |
| Lead | 11,340 | 11.34 | 707.93 |
| Mercury | 13,534 | 13.534 | 844.9 |
| Tungsten | 19,300 | 19.3 | 1,204.9 |
| Gold | 19,320 | 19.32 | 1,206.1 |
| Platinum | 21,450 | 21.45 | 1,339.1 |
| Osmium | 22,570 | 22.57 | 1,409 |
Density Calculator: Mass, Volume and Density Formula
This density calculator finds density, mass or volume from the other two with the formula ρ = m ÷ V. Pick what to find, type the two you know with their units (20 g, 3 ft³, 62.4 lb/ft³) or take a density from a table of common materials, and get the answer in the unit you want and in every other unit, with the working. The volume can be typed, or worked out from the sides of a box, a cylinder or a sphere. It also gives specific gravity and says whether the thing floats in fresh water.
How to calculate density, mass or volume
- Pick
Find:Densityfrom mass and volume,Massfrom density and volume, orVolumefrom mass and density. Each choice shows only the fields it needs. - Type the
Mass, with its unit if you like (20 g,5 lb); theMass unitis used when you type only a number. - Give the volume. Use
Volume fromto type one amount (8 cm³,1 gal) or to enter the length, width and height of a box, the diameter and height of a cylinder or the diameter of a sphere, in theLength unityou pick or with units typed in. - When finding mass or volume, pick a
Materialto fill in its density, or leaveType a densityand enter your own (2.5 g/cm³). TheDensity unitsets the unit of a density answer. - Read the answer with its working, the answer in every unit, the specific gravity, whether it floats or sinks in fresh water and, when finding density, the three nearest materials. Your result is marked in the materials table.
Example
A stone of 20 g that displaces 8 cm³ of water: the result rows as the tool shows them.
Find: Density
Mass: 20 g
Volume: 8 cm³
Density unit: g/cm³Density: 2.5 g/cm³
Specific gravity: 2.5001
In fresh water: Sinks
Nearest materials: Glass, Concrete, GraniteDetails
- The density formula is ρ = m ÷ V: density is mass divided by volume. Rearranged, mass is m = ρ × V (density times volume) and volume is V = m ÷ ρ (mass divided by density). The stone above is 20 g ÷ 8 cm³ = 2.5 g/cm³, which is glass and concrete territory.
- Units: the tool works in kilograms, cubic meters and kilograms per cubic meter and converts at the end with exact factors: 1 lb = 0.45359237 kg, 1 in = 0.0254 m, 1 US gal = 3.785411784 L, 1 UK gal = 4.54609 L. To go from g/cm³ to kg/m³ multiply by 1,000: 1 g/cm³ = 1,000 kg/m³, and 1 g/cm³ is 62.428 lb/ft³.
- Mass from density and volume: a 10 cm cube of aluminium (2,700 kg/m³) is 1,000 cm³, so m = 2,700 × 0.001 m³ and the tool shows 2.7 kg. Volume from mass and density: 1 kg of gold (19,320 kg/m³) takes up 51.76 cm³.
- Water: fresh water at 4 °C is 999.972 kg/m³, the reference for specific gravity (density ÷ 999.972). A US gallon of water at 4 °C is 3.7853 kg, or 8.3452 lb. A thing denser than water sinks, a less dense solid floats, and one within 0.1 % of water's density is reported as about the same as water.
- Shapes: a box is length × width × height; a cylinder is π × (diameter ÷ 2)² × height; a sphere is π × diameter³ ÷ 6. Lengths take their own units, so
4 inor1.2 mworks in a field set to cm. The volume is shown as its own row, so you can check it. - The materials table lists densities in kg/m³, g/cm³ and lb/ft³, from air to osmium, with the source and the date it was read under the table's footnote. When finding density, the three nearest materials by ratio of density are named and your result is marked in the table. A typed density is used only when
Materialis set toType a density.
Limits
- Table densities are typical values. Real materials vary with temperature, alloy, moisture and porosity: wood, sand, concrete and steel grades differ from piece to piece, so use your own figure when you have one.
- The volume of a shape uses its outer dimensions and treats it as solid. A hollow, porous or irregular object has a lower average density than its material, and the tool cannot see inside it.
- Floats or sinks compares the average density with fresh water at 4 °C. A hollow hull, a balloon or a liquid that does not mix is a different case, and this is not a buoyancy force calculator.
- A mass, volume or density must be above 0, and figures beyond 10³⁰ in kg, m³ or kg/m³ are refused. A
tonalone is not read as a unit because it can mean three different masses: usetfor the metric tonne orshort ton. - Nothing is stored or sent: the figures are worked out in your browser. Gas density from the ideal gas law and mixtures or alloys by mass fraction are not covered.
FAQ
How do you calculate density?
Divide mass by volume: ρ = m ÷ V. A mass of 20 g in a volume of 8 cm³ is 2.5 g/cm³, which is 2.5 g/cm³ as the tool computes it, or 2,500 kg/m³.
How do you find mass from density and volume?
Multiply: m = ρ × V. For example aluminium at 2,700 kg/m³ and a 10 cm cube (0.001 m³) gives 2.7 kg. Set Find to Mass, pick the material and enter the dimensions.
How do you find volume from mass and density?
Divide: V = m ÷ ρ. 1 kg of gold at 19,320 kg/m³ is 51.76 cm³. Set Find to Volume and choose the unit you want the volume in.
What is the density of water, and does it float?
Fresh water is 999.972 kg/m³ at 4 °C, about 1 g/cm³ or 1 kg/L, and 998.21 kg/m³ at 20 °C. In pounds that is about 62.4 lb/ft³ or 8.34 lb per US gallon. A solid with a lower density floats in it and one with a higher density sinks: the tool shows specific gravity and a floats, sinks or about-the-same verdict.
How do I convert g/cm³ to kg/m³?
Multiply by 1,000: 2.5 g/cm³ is 2,500 kg/m³. The answer table lists the density in kg/m³, g/cm³, g/mL, g/L, kg/L, lb/ft³, lb/in³, lb/gal and oz/in³ at once.
Runs entirely in your browser. Nothing is uploaded.