Density: formula
Enter the mass in grams and the volume in cubic centimeters. Weigh the sample on a scale and measure volume by dimensions, by the water it displaces or from a label. One cubic centimeter equals one milliliter.
Use the same system of units so that density comes out in grams per cubic centimeter. For irregular objects, submerge them in a graduated cylinder and read the change in level.
Density: worked example
| Mass (g) | 100 |
|---|---|
| Volume (cm³) | 50 |
| Density (g/cm³) | 2 |
| Specific gravity (relative to water) | 2 |
Specific gravity requires a specified reference density and temperature for precise work. Floating also depends on displaced volume and shape: a hollow metal object can float even when its solid material is denser than water. Some woods sink, so a material’s name alone does not determine buoyancy.
Do not use water displacement with a reactive, soluble or absorbing sample without an appropriate method.
Density: changing Mass (g)
| Mass (g) | Density (g/cm³) | Specific gravity (relative to water) |
|---|---|---|
| 80 | 1.6 | 1.6 |
| 90 | 1.8 | 1.8 |
| 100 (example) | 2 | 2 |
| 110 | 2.2 | 2.2 |
| 120 | 2.4 | 2.4 |
Density: compare input ranges
| Input | Tested from | To | Density (g/cm³): low input | Density (g/cm³): high input | Swing |
|---|---|---|---|---|---|
| Volume (cm³) | 45 | 55 | 2.2 | 1.8 | 0.404 (20%) |
| Mass (g) | 90 | 110 | 1.8 | 2.2 | 0.4 (20%) |
Density: individual input comparisons
| Input | Value | Density (g/cm³) | Specific gravity (relative to water) |
|---|---|---|---|
| Mass (g) | 80 | 1.6 | 1.6 |
| 90 | 1.8 | 1.8 | |
| 100 | 2 | 2 | |
| 110 | 2.2 | 2.2 | |
| 120 | 2.4 | 2.4 | |
| Volume (cm³) | 40 | 2.5 | 2.5 |
| 45 | 2.2 | 2.2 | |
| 50 | 2 | 2 | |
| 55 | 1.8 | 1.8 | |
| 60 | 1.7 | 1.7 |
Density: combined input changes
| Mass (g) / Volume (cm³) | 40 | 50 | 60 |
|---|---|---|---|
| 80 | 2 | 1.6 | 1.3 |
| 90 | 2.3 | 1.8 | 1.5 |
| 100 | 2.5 | 2 | 1.7 |
| 110 | 2.8 | 2.2 | 1.8 |
| 120 | 3 | 2.4 | 2 |
Density: which assumptions move the result?
Density: values and definitions
| Quantity and definition | Value used |
|---|---|
| Mass (g) | 100 |
| Volume (cm³) | 50 |
| Density (g/cm³) | 2 |
| Specific gravity (relative to water) | 2 |
Density: half and double Volume (cm³)
| Volume (cm³) | Density (g/cm³) |
|---|---|
| 25 | 4 |
| 50 | 2 |
| 100 | 1 |
Common error: Comparing raw density values measured in different unit systems without converting to a common basis first. Two different-looking density numbers can represent the identical material once the units are reconciled.
Science & Electronics calculators: Molarity Calculator, Voltage Drop Calculator, Dilution Calculator, pH Value Calculator, Half-Life Calculator, Series and Parallel Resistor Calculator.
Specific gravity is density expressed relative to water, which is what makes the number immediately meaningful without needing to remember water's own density in a specific unit system. Anything above 1 sinks in water, anything below 1 floats, a fast, intuitive read that raw density alone doesn't offer as directly.
Confirm mass and volume are measured in compatible units before dividing, since a units mismatch produces a density figure that looks plausible but is off by whatever factor the unit conversion was missing.
Convert mass and volume on the weight and volume converters, and compute volumes on the cylinder, sphere and rectangular prism calculators. The molarity and dilution pages use concentrations, and the percent error calculator measures how close your result is to a reference value.
Density Calculator: quantities and terminology
How do I measure the volume of an irregular object?
Submerge it in water and measure how much the water level rises, which equals the object's volume.
Why does density change with temperature?
Most materials expand when heated, so the same mass occupies more volume and the density falls as the temperature rises.
What is specific gravity?
Specific gravity is a density ratio. The reference must be stated. For solids and liquids, water is common.
The ratio has no units. Floating also depends on displacement and average object density: a hollow object can float even when the material of its shell is denser than water. Material density alone does not describe that whole object.