Porosity and Permeability Calculator - Darcy's Law k and Porosity from Core Flood Data

Free porosity and permeability calculator - enter discharge, sample dimensions, pressure drop, and residence time to solve Darcy's law for k and porosity with citations.

Porosity and Permeability Calculator

Pick a preset to auto-fill dynamic viscosity (mu). Pick Custom to enter your own mu in Pa*s.

Viscosity of the flowing fluid. Water at 20 C is 1.002e-3 Pa*s; air at 20 C is 1.81e-5 Pa*s.

Use direct delta-p for a known pressure drop across the sample, or upstream/downstream pressures when both gauges are recorded.

Pressure drop across the sample (Pa). Must be greater than 0 for permeability to be defined.

Gauge pressure at the sample inlet. Used only when 'Pressure mode' is upstream/downstream.

Gauge pressure at the sample outlet. Used only when 'Pressure mode' is upstream/downstream.

Length of the porous sample along the flow direction (m).

Cross-sectional area of the sample perpendicular to flow (m^2).

Measured volumetric flow rate through the sample (m^3/s).

Residence time of a tracer pulse through the sample (s). Leave at 0 to skip the porosity calculation.

Results

Permeability k (SI)
0m^2
Permeability k (darcy) 0D
Permeability k (millidarcy) 0mD
Porosity phi 0
Darcy velocity q 0m/s
Seepage velocity v 0m/s

What Is a Porosity and Permeability Calculator?

A porosity and permeability calculator takes the volumetric discharge through a porous sample, its length and cross-sectional area, the pressure drop, and the dynamic viscosity, and returns permeability plus porosity from a tracer residence time.

  • Core-flood homework: Solve Darcy's law for k on a sandstone or limestone plug from a teaching lab.
  • Sand permeability check: Back out the permeability of a sandy soil sample after measuring discharge under a known head difference.
  • Aquifer estimate: Estimate the hydraulic conductivity of a coarse sand or gravel layer from a slug test.
  • Petroleum-engineering cross-check: Convert a laboratory k from m^2 to millidarcy so a core plug result can be entered into reservoir simulation software.

Permeability tells you how easily a fluid moves through the connected pore space, while porosity tells you how much of the rock is open to that fluid. Both numbers are required before you can translate a measured discharge into an in-situ flow speed.

Darcy's law k = Q mu L / (A delta-p) is the textbook rearrangement used to back out k from a steady-state flow experiment. Once k is known, porosity from residence time phi = Q t / (A L) gives the void fraction.

For tanks and reactors rather than porous rock, the hydraulic retention time calculator uses the same volume-over-flow ratio to estimate how long a fluid actually spends in a vessel.

How the Porosity and Permeability Calculator Works

The calculator applies Darcy's law to your inputs and reports permeability in SI units, in darcy, and in millidarcy, plus porosity from the residence time. All conversions use the SPE standard 1 darcy = 9.869233 x 10^-13 m^2.

k = (Q * mu * L) / (A * delta-p), phi = (Q * t) / (A * L), q = Q / A, v = q / phi
  • Q: Volumetric discharge through the sample, m^3/s.
  • mu: Dynamic viscosity of the flowing fluid, Pa*s. Water at 20 C is 1.002 x 10^-3 Pa*s.
  • L: Length of the sample along the flow direction, m.
  • A: Cross-sectional area of the sample perpendicular to flow, m^2.
  • delta-p: Pressure drop across the sample, Pa. Must be greater than 0.
  • t: Residence time of a tracer pulse, s. Set to 0 to skip the porosity result.

Permeability is reported in three unit families because geologists, hydrogeologists, and petroleum engineers all use the field they grew up in. According to the SPE Petroleum Engineering Handbook, 1 darcy equals 9.869233 x 10^-13 m^2, so the calculator multiplies your m^2 result to get darcy and millidarcy.

Porosity is a dimensionless fraction between 0 and 1. Values around 0.05 correspond to tight shales; values around 0.4 correspond to unconsolidated sands.

Sandstone core plug with water at 20 C

Fluid = water at 20 C (mu = 1.002 x 10^-3 Pa*s), L = 0.1 m, A = 1.0 x 10^-3 m^2, Q = 1.0 x 10^-6 m^3/s, delta-p = 1.0 x 10^5 Pa, t = 38 s.

k = (1.0e-6 * 1.002e-3 * 0.1) / (1.0e-3 * 1.0e5) = 1.002 x 10^-12 m^2; phi = (1.0e-6 * 38) / (1.0e-3 * 0.1) = 0.38.

k = 1.002 x 10^-12 m^2 = 1.015 D = 1015 mD, phi = 0.38.

Textbook sandstone: about 1 darcy permeability and 38 percent connected porosity, both inside the published ranges for clean sandstone.

According to SPE Petroleum Engineering Handbook, 1 darcy equals 9.869233 x 10^-13 m^2, which the calculator uses to convert between SI permeability and the oil and gas industry darcy unit.

When you are working with a pipe rather than a porous medium, the Poiseuille's law calculator solves the analogous laminar-flow problem for a circular conduit.

Key Concepts Explained

Four concepts come up every time you read a permeability result. These cards give you the working definitions so the rest of the page reads like a refresher.

Permeability k

A property of the porous medium only, independent of the fluid, with units of area (m^2). A higher k means the same fluid passes through faster under the same pressure gradient. Clean sandstones sit between 100 and 1000 mD; tight shales fall below 0.01 mD.

Porosity phi

The fraction of the rock volume occupied by connected voids, dimensionless between 0 and 1. Effective porosity, the one this calculator returns, only counts the connected part the fluid can reach.

Darcy velocity q

The apparent velocity q = Q / A treats the cross-section as if it were all open, so it is always smaller than the actual speed in the pores.

Seepage velocity v

The true speed v = q / phi of fluid inside the connected pores, used in contaminant transport and tracer studies. Because phi is always less than 1, v is always larger than q.

Permeability and porosity are not the same thing and they do not correlate strongly. A clay-rich sandstone can have phi around 0.25 and k below 0.1 mD; a pumice can have phi around 0.5 with k around 1000 mD.

Before trusting a Darcy-law result, confirm the flow regime with the Reynolds number calculator so you know your Reynolds number is still inside the linear Darcy range.

How to Use the Porosity and Permeability Calculator

Enter the measured lab or field values below and the calculator returns k in m^2, darcy, and millidarcy plus phi and the two velocities.

  1. 1 Pick the fluid preset: Choose water at 20 C, water at 25 C, or air at 20 C to auto-fill mu. Pick Custom to type your own mu for crude oil, brine, or a gas mixture.
  2. 2 Enter the pressure drop: Either type delta-p directly, or switch to upstream/downstream and enter both gauges so the calculator computes the difference.
  3. 3 Type the sample geometry: Enter L (length, m) and A (area, m^2). For a cylindrical core plug, A = pi d^2 / 4 from the diameter.
  4. 4 Enter discharge and residence time: Type Q in m^3/s. If you also measured a tracer residence time t, type that in seconds; otherwise leave t at 0.
  5. 5 Read the results: The result panel updates as you type and shows k in m^2, D, and mD, plus phi, q, and v.
  6. 6 Sanity-check the numbers: Compare k to the published range for your rock type and confirm that v > q.

For a sandstone core plug with L = 0.1 m, A = 1 cm^2, water at 20 C flowing at Q = 1 mL/min under delta-p = 1 atm, the calculator returns k around 1.65 x 10^-16 m^2.

If you are converting electrical or thermal properties in the same lab session, the conductivity to resistivity calculator follows the same single-equation pattern.

Benefits of Using This Calculator

The point of a Darcy worksheet is to turn measurements into defensible k and phi values. These are the practical wins you get from using this one.

  • Three unit families at once: Reads m^2 for physics, darcy for geology, and millidarcy for petroleum engineering from the same inputs.
  • Pressure-pair input mode: Lets you paste upstream and downstream gauge readings when the lab record does not have the delta-p already worked out.
  • Built-in fluid presets: Auto-fills mu for water at 20 C, water at 25 C, and air at 20 C, and lets you override mu for crude oil, brine, or gas mixtures.
  • Catches bad inputs: Returns a friendly warning when delta-p, mu, L, or A is zero, instead of letting the result blow up to Infinity.
  • Authoritative citations: Every formula links back to a primary source - Bear for Darcy's law, Freeze and Cherry for porosity, SPE for the darcy conversion - so the result can be defended in a homework report.

Used in physics, hydrogeology, and petroleum-engineering courses, the worksheet doubles as a teaching tool and a sanity check. If your measured k is two orders of magnitude off the published range for the rock type, the warning line finds the typo fast.

For soil-science and irrigation follow-ups after the permeability step, the vapor pressure deficit calculator works with the same moisture and temperature inputs in a different way.

Factors That Affect Your Results

Five factors move the k and phi numbers the calculator returns. Knowing which is which tells you when to trust a measurement.

Fluid viscosity mu

Higher mu means the same pressure drop drives less discharge, so a fixed Q reading will produce a smaller k. Always report fluid temperature alongside k.

Pressure drop delta-p

A larger delta-p for the same Q produces a larger k. If delta-p is small, the absolute uncertainty on k can be large.

Sample length L and area A

k scales linearly with L and inversely with A, so an over-estimated A gives an under-estimated k.

Connected versus total porosity

The residence-time phi only counts connected pores the tracer can reach, so it is always smaller than the total porosity measured by mercury intrusion.

Flow regime

Darcy's law is linear, so any inertial correction at higher Reynolds numbers will skew k. According to Freeze and Cherry, stay below a grain-scale Reynolds number of about 1 to 10.

  • The calculator assumes a single-phase, isothermal, incompressible fluid, so it does not handle gas slippage or relative-permeability corrections for multiphase flow.
  • The residence-time phi depends on a tracer that follows the bulk fluid, so reactive tracers will under-report the true connected porosity.
  • The calculator uses 1 darcy = 9.869233 x 10^-13 m^2 at 20 C; check your textbook for the alternate conversion at other temperatures.

According to Wikipedia, Hydraulic conductivity, Freeze and Cherry define porosity from residence time as phi = Q t / (A L) and the Darcy velocity as q = Q / A, the two reference values the calculator uses for those outputs.

According to Wikipedia, Darcy's law, the linear relationship Q = k A (Δp) / (μ L) is the standard rearranged form used in core-flood and aquifer experiments to back out permeability from measured Q, mu, L, A, and pressure drop.

To compare laminar pipe flow against the porous-medium case, the Poiseuille's law calculator returns the analogous flow rate from a pressure drop across a circular tube.

Porosity and permeability calculator showing Darcy's law input panel and outputs of permeability in m^2, darcy, millidarcy, and porosity
Porosity and permeability calculator showing Darcy's law input panel and outputs of permeability in m^2, darcy, millidarcy, and porosity

Frequently Asked Questions

Q: What does this porosity and permeability calculator actually compute?

A: It solves Darcy's law for permeability in three units (m^2, darcy, millidarcy) from a measured discharge, sample length and area, pressure drop, and dynamic viscosity, and computes porosity from the residence time of a tracer pulse.

Q: How do I convert darcy to m^2?

A: According to the SPE Petroleum Engineering Handbook, 1 darcy equals 9.869233 x 10^-13 m^2, so the calculator multiplies your m^2 value by about 1.01325e12 to get darcy and by 1.01325e9 to get millidarcy.

Q: What is the formula for porosity from residence time?

A: Porosity from a tracer residence time is phi = Q t / (A L), where Q is volumetric discharge, t is the measured residence time, A is the cross-sectional area, and L is its length. For a typical sandstone core with t = 38 s, phi returns near 0.38.

Q: What is the difference between Darcy velocity and true seepage velocity?

A: Darcy velocity q = Q / A is the volumetric flow divided by the total cross-section, including the solid matrix, while the true seepage velocity v = q / phi is the actual speed of the fluid inside the connected pore space.

Q: When does Darcy's law break down?

A: Darcy's law is a linear, low-Reynolds-number approximation. According to Freeze and Cherry's Groundwater textbook, it holds while the Reynolds number based on the mean grain diameter stays below about 1 to 10.

Q: Can I use this calculator for an oil and gas core flood?

A: Yes, the calculator accepts any dynamic viscosity value (in pascal-seconds) so you can plug in the viscosity of your crude oil, brine, or gas at reservoir conditions. The SPE convention is to report permeability in millidarcy.