Formation Temperature Calculator

The Formation Temperature Calculator estimates formation temperature from wellbore depth, geothermal gradient, and bottom-hole measurements using standard models.

Formation Temperature Estimate formation temperature at depth using a linear geothermal gradient, with optional seafloor temperature and water depth correction (common in offshore wells). Enter any two of temperature or gradient/depth as needed; the calculator uses the model shown in the results.
Choose offshore if you want to account for water depth and a seafloor temperature reference.
Depth where you want formation temperature (T). Use TVD (recommended) or your preferred reference consistently.
Used for depth inputs (target depth and water depth).
Linear gradient. Typical range: ~15–40 °C/km (varies by basin).
Choose the unit that matches your gradient source.
Onshore: surface temperature. Offshore: seafloor temperature (mudline).
Outputs are shown in both °C and °F.
If offshore model is selected, temperature increase is applied only below seafloor: (Depth − Water depth).
Example Presets

Report an issue

Spotted a wrong result, broken field, or typo? Tell us below and we’ll fix it fast.


What Is a Formation Temperature Calculator?

A formation temperature calculator estimates the temperature of geologic formations at a given depth. It relies on the geothermal gradient, surface or seafloor temperature, and optional corrections for drilling effects. The tool applies physics-based relations between heat flow, thermal conductivity, and depth. The result guides decisions in well design, reservoir modeling, and geothermal assessments.

In oil and gas, knowing formation temperature helps select mud weight, additives, and elastomers. In geothermal projects, it supports resource screening and power cycle design. In physics education, it connects constants, variables, and boundary conditions to a tangible subsurface problem. The calculator brings these needs together in one consistent method.

Formulas for Formation Temperature

Formation temperature often follows a simple linear model with depth, but layered gradients and transient corrections may apply. Here are core relations the calculator can use:

  • Linear geothermal model: T(z) = T0 + G · z, where T0 is surface or seafloor temperature, G is geothermal gradient, and z is depth below that datum.
  • Layered earth model: T(z) = T0 + Σ(Gi · Δzi) across layers i crossed by the well interval, each with its own gradient Gi.
  • Heat flow relation: G ≈ q/k, where q is heat flow density and k is effective thermal conductivity of the stratigraphic column.
  • Offshore variant: T(z) = Tseafloor + G · z, with Tseafloor near bottom-water temperature and z measured from the seafloor, not sea surface.
  • Unit conversion: TC = (TF − 32) × 5/9 and TF = 9/5 × TC + 32, with TK = TC + 273.15 for absolute temperature.
  • Empirical BHT correction (optional): Ttrue ≈ Tbht + m · log10((tc + ts)/ts), where Tbht is bottom-hole temperature at shut-in, tc is prior circulation time, ts is shut-in time, and m is a basin-specific slope estimated from multiple measurements.

For many applications, the linear or layered model is sufficient. When mud circulation has disturbed the well, a correction can improve estimates, especially in deep or hot wells. The calculator lets you choose which formulation best fits your data and objective.

How the Formation Temperature Method Works

Formation temperature arises from Earth’s internal heat and surface boundary conditions. Heat flows from the interior to the surface, and rocks conduct that heat upward. Over practical depths, this often appears as a near-constant temperature gradient. The calculator turns those physics into a usable estimate for your specific location.

  • Set a boundary condition at the surface or seafloor (T0), which anchors the temperature profile.
  • Apply a geothermal gradient (G) to translate depth into temperature increase per unit distance.
  • If needed, segment the profile into layers with different gradients or conductivities.
  • For wells: optionally adjust measurements for circulation-induced cooling using a time-based correction.
  • Compute the result at your target depth(s) and report sensitivity to key variables.

The approach is a balance between physical realism and practical constraints. Conductive heat transfer dominates in many stable settings, so gradient models perform well. In areas with strong fluid flow or recent disturbance, uncertainty increases, and the tool flags limits and assumptions.

Inputs, Assumptions & Parameters

Provide a few inputs, and the calculator does the rest. You can keep it simple with a single gradient, or add optional details for better accuracy in complex settings.

  • Surface or seafloor temperature (T0): ambient air temperature onshore or bottom-water temperature offshore.
  • Depth to target (z): measured from the chosen datum (ground level or seafloor).
  • Geothermal gradient (G): commonly in °C/km or °F/1000 ft; use local data when possible.
  • Layer information (optional): depths and gradients for each layer, or thermal conductivity to derive G from heat flow.
  • Well disturbance details (optional): bottom-hole temperature (BHT), circulation time, and shut-in time for empirical corrections.

Typical gradients range from 15–40 °C/km onshore and 20–60 °C/km in tectonically active regions. Edge cases include permafrost (near-surface gradient may be inverted), strong aquifer convection, and deep wells where transient effects persist. The calculator highlights when input combinations suggest unusual conditions or unrealistic results.

Step-by-Step: Use the Formation Temperature Calculator

Here’s a concise overview before we dive into the key points:

  1. Choose your datum: surface (onshore) or seafloor (offshore).
  2. Enter the boundary temperature T0 at that datum.
  3. Enter depth z to the target, ensuring consistent units.
  4. Enter a geothermal gradient G or select “derive from heat flow” and provide q and k.
  5. (Optional) Add layers with their thicknesses and gradients.
  6. (Optional) Add BHT, circulation time, and shut-in time to apply a correction.

These points provide quick orientation—use them alongside the full explanations in this page.

Example Scenarios

Onshore well planning: A basin has T0 = 18 °C at the surface. The local gradient G = 30 °C/km. The planned casing shoe is at z = 2.4 km. Using T(z) = T0 + G · z, the estimate is 18 + 30 × 2.4 = 90 °C. If mud additives are rated to 95 °C, the design margin is 5 °C. What this means: The well is within expected thermal limits, but a small safety factor suggests keeping circulation rates moderate.

Deepwater exploration: Bottom-water temperature at the seafloor is 4 °C. The seafloor lies at 1,800 m below sea level, and the reservoir is 3,200 m below the seafloor. Regional gradient below the seafloor is 35 °C/km. T(z) = 4 + 35 × 3.2 = 116 °C at reservoir depth. If a wireline BHT reads 108 °C after short shut-in, a modest positive correction is expected. What this means: Completion hardware should be qualified to at least 120 °C to handle operational excursions.

Accuracy & Limitations

The calculator is designed for transparent, physics-informed estimates. Still, temperature in the subsurface can deviate from a simple gradient due to hydrothermal circulation, recent tectonics, or drilling disturbance. Treat the output as an estimate with uncertainty that depends on your inputs.

  • Gradients are regional averages; local anomalies may shift temperature by tens of degrees.
  • BHT corrections need multiple measurements for a robust slope; single points rely on empirical constants.
  • Layered models improve realism but require reliable layer properties.
  • Strong fluid flow (faults, aquifers) can flatten or steepen gradients beyond conductive assumptions.
  • Shallow permafrost or recent climate shifts can alter near-surface T0 and gradient.

Where data are sparse, run sensitivity checks. Vary G and T0 within plausible ranges to see how the result responds. If the range is large, consider collecting site-specific BHTs or thermal conductivity measurements.

Units & Conversions

Correct units are essential in physics. Depth, temperature, gradient, and heat flow must be consistent or the variables will not combine meaningfully. Conversions also help compare constants and results across reports that mix unit systems.

Common units used in formation temperature calculations
Quantity Unit Conversion
Temperature °CK K = °C + 273.15
Temperature °C ↔ °F °C = (°F − 32) × 5/9; °F = 9/5 × °C + 32
Depth m ↔ ft 1 m = 3.28084 ft; 1 ft = 0.3048 m
Gradient °C/km ↔ °C/100 m °C/100 m = (°C/km) ÷ 10
Gradient °C/km ↔ °F/1000 ft °F/1000 ft ≈ (°C/km) × 0.548
Heat flow mW/m² ↔ W/m² 1 mW/m² = 0.001 W/m²

Use the table to match the units in your data to those required by the calculator. For example, a 30 °C/km gradient is 3 °C/100 m or about 16.4 °F/1000 ft. Always convert before entering values to avoid compounding errors.

Troubleshooting

If your estimate looks wrong, check the basics first. Most issues trace back to a mismatched datum, inconsistent units, or unrealistic inputs. The calculator flags negative gradients and extreme values, but a quick review helps.

  • Confirm whether depth is below surface or below seafloor and match T0 accordingly.
  • Verify gradient units; °C/km accidentally entered as °C/100 m will overheat the profile by 10×.
  • For BHT corrections, confirm circulation and shut-in times are reasonable and in the same time unit.
  • Layer ordering matters; ensure thicknesses sum to total depth and gradients are assigned to the right intervals.

If uncertainties remain high, run a sensitivity: vary T0 and G within plausible bounds and compare outputs. Large swings suggest you should use layered data or collect site-specific measurements.

FAQ about Formation Temperature Calculator

What geothermal gradient should I use if I have no local data?

A common first estimate is 25–30 °C/km on stable continental crust. If you suspect active tectonics or magmatism, consider 35–45 °C/km and test sensitivity.

How accurate is a simple linear model?

Often within ±10–20 °C at several kilometers depth, provided the region is not strongly convective and T0 is known. Layering and corrections improve accuracy.

Do I need to correct BHT for every well?

Not always. If shut-in was long and the well is shallow or cool, corrections may be minor. For deep, hot wells with short shut-in, apply a correction.

Can the calculator handle offshore wells?

Yes. Set the datum to the seafloor, enter bottom-water temperature as T0, and use the gradient below the seafloor. Depths are then measured from the seabed.

Glossary for Formation Temperature

Formation Temperature

The temperature of rock and pore fluids at a specific subsurface depth under near-equilibrium conditions.

Geothermal Gradient

The rate of temperature increase with depth, commonly expressed in degrees Celsius per kilometer.

Bottom-Hole Temperature (BHT)

A temperature measured downhole near the well bottom, often affected by recent circulation and not at true equilibrium.

Heat Flow

The rate of heat energy transfer per unit area, related to gradient through thermal conductivity by Fourier’s law.

Thermal Conductivity

A material property describing how efficiently heat conducts through rock, affecting gradient for a given heat flow.

Boundary Condition

A known temperature at the surface or seafloor that anchors the subsurface temperature profile.

Layered Model

An approach that assigns different gradients or conductivities to stratigraphic intervals to capture realistic variations.

Horner-Type Correction

An empirical, time-based method that extrapolates disturbed BHTs toward equilibrium using logarithmic time functions.

References

Here’s a concise overview before we dive into the key points:

These points provide quick orientation—use them alongside the full explanations in this page.

Leave a Comment