Use this rock density calculator to quickly find the density of a rock sample from its mass and volume. Enter the rock’s mass in grams and its volume in cubic centimeters (cm³) to get density in grams per cubic centimeter (g/cm³), then compare your result with typical values for common rock types.
Density is a core physical property in geology and engineering. It describes how much mass is packed into a given volume, and it can reveal a lot about a rock’s composition and history.
By combining simple mass and volume measurements, this calculator provides an approximate density you can use for classification, comparison, or engineering estimates.
The basic relationship between mass, volume, and density is:
Density = Mass ÷ Volume
Mathematically, this is written as:
where:
On this page, enter:
The calculator then returns density in grams per cubic centimeter (g/cm³). If you need density in kilograms per cubic meter (kg/m³), you can multiply the result by 1,000, because:
1 g/cm³ = 1,000 kg/m³
Most rocks are irregular in shape, so volume is usually measured by water displacement:
Because 1 milliliter (mL) of water occupies 1 cubic centimeter (cm³), the change in water level in mL is numerically equal to the rock’s volume in cm³.
Once you click the button, the calculator will display the density of your sample in g/cm³. You can then compare this value with typical density ranges to get a rough idea of the rock type or composition.
| Rock type / material | Typical density (g/cm³) | Notes |
|---|---|---|
| Granite | ~2.6–2.8 | Silica-rich intrusive igneous rock, common in continental crust. |
| Basalt | ~2.9–3.1 | Denser, mafic volcanic rock typical of oceanic crust. |
| Sandstone | ~2.2–2.7 | Density varies strongly with porosity and cement type. |
| Limestone | ~2.5–2.8 | Carbonate sedimentary rock; can be lower if highly porous. |
| Pumice | < 1.0 to ~2.0 | Very vesicular volcanic glass; may even float on water. |
| Hematite-rich ore | ~4.5–5.3 | Iron ore with much higher density than common crustal rocks. |
| Galena (lead ore) | ~7.2–7.6 | Very dense; indicates high lead content. |
Use these ranges as broad guidelines only. Many factors, including porosity, mineral substitutions, and inclusions, can shift a sample’s density above or below the typical range.
Suppose you collect a rock sample and measure:
Using the density formula:
Density = Mass ÷ Volume = 500 g ÷ 200 cm³ = 2.5 g/cm³
A density of about 2.5 g/cm³ is consistent with some sandstones, limestones, or lower-density granitic rocks. It is lighter than typical basalt and far lighter than metallic ores such as hematite or galena. If you know the rock’s texture and mineralogy from visual inspection or thin-section analysis, combining that information with this density estimate can help refine the classification.
Because of these limitations, use this calculator as a helpful estimation tool rather than a substitute for full laboratory testing when high accuracy is required for design, safety, or economic decisions.
For more detailed material characterization, you might also use tools such as bulk density calculators for soils and aggregates, porosity calculators, or mass–volume unit converters. Combining density with other properties, like porosity and water content, gives a more complete picture of how a rock or aggregate will behave in engineering and geological settings.