Rock Density From Porosity Calculator
Compute rock density porosity using validated scientific equations. See step-by-step derivations, unit analysis, and reference values.
Calculator
Adjust values & calculateQuartz: 2650 | Calcite: 2710 | Dolomite: 2870
Fresh water: 1000 | Brine: 1050-1200 | Oil: 700-900 | Gas: 100-300
Formula
Bulk density is a linear combination of grain density and fluid density weighted by porosity (phi). The solid fraction (1 - phi) contributes the mineral density, and the pore fraction (phi) contributes the fluid density. This can be rearranged to solve for porosity from measured bulk density.
Last reviewed: December 2025
Worked Examples
Example 1: Sandstone Bulk Density
Example 2: Porosity from Well Log
Background & Theory
The Rock Density From Porosity Calculator applies the following established principles and formulas. Earth science calculators draw on a wide range of measurement scales and physical principles that quantify natural phenomena across geological, atmospheric, and hydrological systems. Earthquake magnitude is most precisely described by the Moment Magnitude Scale (Mw), which replaced the original Richter scale for larger events. Mw is calculated as Mw = (2/3) log10(M0) โ 10.7, where M0 is the seismic moment in dyne-centimeters. The Richter scale, while still referenced colloquially, is a local magnitude (ML) measurement derived from peak seismograph amplitude at a standard 100 km distance. Wind intensity is classified using the Beaufort Scale, a 13-point empirical scale (0โ12) relating wind speed in knots to observable sea and land effects, with Beaufort 12 corresponding to hurricane-force winds above 64 knots. Tropical cyclone intensity is further categorized by the Saffir-Simpson Hurricane Wind Scale, which assigns Categories 1 through 5 based on sustained wind speed, correlating with expected structural damage. Mineral hardness is quantified on the Mohs scale (1โ10), comparing scratch resistance relative to reference minerals from talc (1) to diamond (10). Soil composition analysis measures the proportions of sand, silt, and clay by particle size, alongside organic matter content, bulk density, and porosity, which together determine engineering and agricultural suitability. Seismic wave velocity in rock varies by material: P-waves travel at approximately 5โ7 km/s in granite and 1.5 km/s in water, while S-waves travel at roughly 60% of P-wave speeds. Atmospheric pressure decreases with altitude according to the barometric formula: P = P0 ร exp(โMgh / RT), where M is molar mass of air, g is gravitational acceleration, h is altitude, R is the universal gas constant, and T is temperature in Kelvin. Standard sea-level pressure is 101,325 Pa. Tidal calculations use harmonic analysis of gravitational forcing by the Moon and Sun, with the principal lunar semidiurnal tidal constituent (M2) having a period of approximately 12.42 hours.
History
The history behind the Rock Density From Porosity Calculator traces back through the following developments. The systematic study of Earth's structure and processes spans millennia, but the scientific foundations were laid in the seventeenth century. In 1669, Danish naturalist Nicolas Steno published his principles of stratigraphy, establishing the laws of superposition, original horizontality, and lateral continuity โ foundational rules for reading rock layers that remain in use today. Scottish geologist James Hutton introduced the concept of uniformitarianism in 1788, proposing that geological processes observable in the present have operated throughout Earth's history at broadly consistent rates. This idea of deep time challenged prevailing biblical chronologies and set the stage for modern geology. Charles Lyell systematized these ideas in his landmark three-volume work Principles of Geology, published beginning in 1830, which directly influenced Charles Darwin's thinking on biological evolution during the voyage of the Beagle. The nineteenth century saw growing curiosity about continental shapes, but a coherent theory awaited Alfred Wegener, a German meteorologist who proposed continental drift in 1912, arguing that the continents had once formed a supercontinent he called Pangaea. His evidence included matching fossil records and geological formations across the Atlantic, but his mechanism was disputed for decades. The theory gained acceptance in the 1960s when seafloor spreading was confirmed through paleomagnetic studies, and plate tectonics emerged as the unifying framework of modern geoscience. The United States Geological Survey was established by Congress in 1879 to classify public lands and examine the geological structure, mineral resources, and products of the national domain. The twentieth century brought instrumental advances, including the global seismograph network deployed after World War II, initially to monitor nuclear tests, which dramatically improved earthquake detection and characterization. Satellite Earth observation began in earnest with the Landsat program launched in 1972, enabling continuous global monitoring of land use, glacier retreat, and vegetation patterns. Today, GPS networks, LIDAR scanning, and ocean-floor mapping provide centimeter-scale precision for tracking tectonic motion, sea level rise, and volcanic deformation in near real time.
Frequently Asked Questions
Formula
rho_bulk = (1 - phi) x rho_grain + phi x rho_fluid
Bulk density is a linear combination of grain density and fluid density weighted by porosity (phi). The solid fraction (1 - phi) contributes the mineral density, and the pore fraction (phi) contributes the fluid density. This can be rearranged to solve for porosity from measured bulk density.
Worked Examples
Example 1: Sandstone Bulk Density
Problem: A sandstone has 20% porosity, quartz grain density of 2,650 kg/m\u00B3, and is saturated with water (1,000 kg/m\u00B3).
Solution: rho_bulk = (1 - 0.20) x 2650 + 0.20 x 1000\nrho_bulk = 0.80 x 2650 + 200\nrho_bulk = 2120 + 200 = 2320 kg/m\u00B3
Result: Bulk density = 2,320 kg/m\u00B3 (2.32 g/cm\u00B3)
Example 2: Porosity from Well Log
Problem: A density log reads 2,450 kg/m\u00B3 in a limestone with calcite grain density 2,710 kg/m\u00B3 and brine at 1,050 kg/m\u00B3.
Solution: phi = (2710 - 2450) / (2710 - 1050)\nphi = 260 / 1660 = 0.1566 = 15.66%
Result: Porosity = 15.66%
Frequently Asked Questions
What is the relationship between rock density and porosity?
Rock bulk density is determined by a linear mixing model that combines the grain (mineral) density and the fluid density in proportion to the porosity. The formula is rho_bulk = (1 - phi) x rho_grain + phi x rho_fluid, where phi is the fractional porosity. As porosity increases, bulk density decreases because lighter pore fluid replaces denser mineral grains. This relationship is fundamental in well-log interpretation and reservoir characterization.
How does porosity affect seismic velocity in rocks?
Porosity strongly influences seismic wave velocities because pore fluids are more compressible and less rigid than mineral grains. Higher porosity generally results in lower P-wave and S-wave velocities. The Wyllie time-average equation approximates this relationship for P-waves: 1/V = phi/V_fluid + (1-phi)/V_matrix. This makes density-porosity relationships critical for interpreting seismic surveys and sonic well logs in exploration geophysics.
What is void ratio and how does it relate to porosity?
Void ratio (e) is the ratio of the volume of voids to the volume of solids in a rock or soil, while porosity (phi) is the ratio of void volume to total volume. They are related by e = phi / (1 - phi) and phi = e / (1 + e). Void ratio is commonly used in geotechnical engineering and soil mechanics because it relates linearly to volume change during compression, while porosity is preferred in petroleum engineering and hydrogeology.
What are the stages of the rock cycle?
The rock cycle describes transformations among three rock types. Igneous rocks form from cooled magma or lava. Sedimentary rocks form from compressed and cemented sediments. Metamorphic rocks form when existing rocks are changed by heat and pressure. Weathering, erosion, melting, and tectonic forces drive these transitions.
Why might my result differ from another tool or reference?
Differences typically arise from rounding conventions, the specific version of a formula (for example, simple vs compound interest), or unit inconsistencies between inputs. Check that both tools are using the same formula variant and the same units. The References section links to the authoritative source behind the formula used here.
Does Rock Density From Porosity Calculator work offline?
Once the page is loaded, the calculation logic runs entirely in your browser. If you have already opened the page, most calculators will continue to work even if your internet connection is lost, since no server requests are needed for computation.
References
Reviewed by Daniel Agrici, Founder & Lead Developer ยท Editorial policy