Total Well Cost Calculation - A Complete Engineering Framework with Interactive AFE Exercise
Total well cost estimation is the financial output of every engineering decision made during well design. The rig selection determines the day rate. The casing program determines the tubular cost. The completion design determines the stimulation budget. The geological risk determines the contingency. Engineers who understand this chain of decisions - who can trace every line item in an AFE back to a specific technical choice - are the ones who can defend their budgets, optimize them, and explain overruns when they occur. This guide builds a complete well cost AFE from scratch, with a detailed exercise you can apply directly to your own well planning.
1. The Five Phases of Total Well Cost - What Drives Each One
Phase 1 - Initial Planning and Permitting
Planning costs are the smallest phase by absolute dollar value but have the highest leverage on total well cost. Every $1 spent on geological analysis, wellbore stability modeling, and trajectory optimization typically prevents $5-15 in operational costs. This is the phase most commonly underinvested in budget-constrained operations - and the phase that most commonly causes the largest overruns.
| Cost Item | Onshore Typical | Offshore Typical | What Happens if Skipped |
|---|---|---|---|
| Geological and geophysical studies | $50k - $200k | $200k - $1M | Wrong KOP, unexpected formations, costly sidetracks |
| Wellbore stability modeling | $15k - $50k | $50k - $150k | Wrong mud weight window, stuck pipe, wellbore collapse |
| Regulatory permits and bonds | $10k - $100k | $100k - $500k | Regulatory halt during operations - full rig day rate continues |
| Well design engineering | $30k - $150k | $150k - $500k | Suboptimal casing design, completion failures |
| Environmental impact assessment | $20k - $100k | $200k - $1M | Fines, operational restrictions, license revocation |
Phase 2 - Drilling Operations
Drilling is typically the largest single phase, constituting 40-55% of total well cost. It is dominated by time-driven costs - rig day rate, crew, services - which means every hour saved in drilling operations translates directly to AFE improvement.
| Cost Item | Cost Basis | Typical Range |
|---|---|---|
| Rig mobilization / demobilization | Fixed per well (or shared on pads) | $100k - $2M onshore / $2M - $15M offshore |
| Rig day rate (operational days) | Day rate x planned days | $15k - $600k/day depending on rig class |
| Drill bits | Per run x number of runs | $5k - $80k per PDC bit |
| Drilling fluids (mud) | Volume + daily maintenance | $50k - $2M (WBM to OBM) |
| MWD / LWD services | Day rate x tool days | $2k - $15k/day per tool suite |
| Directional drilling services | Day rate or footage rate | $1.5k - $8k/day + tool rental |
| Wireline logging | Per run + day rate | $30k - $300k per well |
Phase 3 - Completion
Completion cost is the most variable phase - ranging from $200k for a simple single-zone completion to $5M+ for a 20-stage hydraulic fracture program. The completion design is determined by the reservoir characteristics and production objectives, not by budget alone, making this phase difficult to optimize without compromising well performance.
| Completion Type | Cost Range | Key Cost Driver |
|---|---|---|
| Simple perforated completion | $200k - $600k | Casing, tubing, packer |
| Acid stimulation (carbonate) | $100k - $500k | Acid volume, coiled tubing |
| Single hydraulic fracture | $300k - $1M | Fluid volume, proppant, pumping |
| Multi-stage frac (5-10 stages) | $1M - $3M | Stage count, frac equipment mobilization |
| Multi-stage frac (15-30 stages) | $2M - $6M | Stage count x $100-200k per stage |
| Gravel pack (unconsolidated sand) | $500k - $2M | Gravel volume, screen running, pack verification |
Phase 4 - Production Setup
Production setup costs are often budgeted separately from the well AFE as surface facility costs, but they are critical to achieving early cash flow. The most common budgeting error is underestimating the time required for surface facility commissioning, which delays first oil and impacts project economics far more than a similar delay during drilling.
Phase 5 - Well Abandonment (P&A)
Abandonment is the most chronically underestimated cost in the industry. A well that costs $4M to drill in 2020 may require $500k-$2M to properly abandon, with regulations becoming progressively more stringent. The best practice is to book the P&A liability at the time of well construction using a net present value calculation:
P&A NPV = Future P&A cost / (1 + discount rate)^years to abandonment
Example: $800k P&A cost in 25 years, 10% discount rate:
P&A NPV = $800,000 / (1.10)^25 = $800,000 / 10.83 = $73,870 booked today
2. Complete AFE Construction - Step-by-Step Calculation
2.1 The AFE Formula
Total AFE = Sum of all phase costs + Contingency reserve
Contingency = (P90 estimate - P50 estimate) from statistical offset well analysis
OR
Contingency = Base estimate x Contingency factor
Contingency factor by well type:
Development well (5+ offset wells): 10-15%
Appraisal well (1-2 offset wells): 15-25%
Exploration well (no direct offset): 25-40%
HPHT or frontier well: 30-50%
2.2 Interactive Exercise - Complete AFE for a 12,000 ft Directional Well
Well parameters: 12,000 ft MD directional well, 35° max inclination, remote onshore location, 3 production strings of casing, single-zone frac completion. Rig day rate $45,000/day. Planned drilling time 28 days. NPT allowance 12%.
| Cost Category | Basis of Estimate | Amount (USD) |
|---|---|---|
| PHASE 1 - PLANNING AND PERMITTING | ||
| Site survey and geological studies | Fixed - remote location premium | $150,000 |
| Regulatory permits and bonds | Fixed - jurisdiction dependent | $50,000 |
| Well design and engineering | Fixed - standard directional well | $75,000 |
| Phase 1 Subtotal | $275,000 | |
| PHASE 2 - DRILLING OPERATIONS | ||
| Rig mobilization and demobilization | Fixed - remote location (500 km) | $380,000 |
| Rig day rate - rotating/operational | $45,000/day x 28 days | $1,260,000 |
| Rig day rate - NPT allowance (12%) | $45,000/day x 3.36 NPT days | $151,200 |
| Drill bits (4 runs estimated) | 2 x $35k PDC + 2 x $25k PDC | $120,000 |
| Drilling fluid (OBM - 12 ppg) | Build + maintenance over 28 days | $280,000 |
| MWD / LWD services | $5,500/day x 28 days + tool rental | $185,000 |
| Directional drilling services | $3,500/day x 28 days | $98,000 |
| Wireline logging (open hole) | 2 logging runs at 12,000 ft | $95,000 |
| Mud logging service | $1,200/day x 31.36 days | $37,600 |
| Phase 2 Subtotal | $2,606,800 | |
| PHASE 3 - CASING AND COMPLETION | ||
| Surface casing (13-3/8", 2,800 ft) | Tubulars + running + cement | $185,000 |
| Intermediate casing (9-5/8", 8,500 ft) | Tubulars + running + cement | $420,000 |
| Production liner (7", 12,000 ft) | Tubulars + running + cement + liner hanger | $310,000 |
| Production tubing and wellhead | 3.5" tubing + packer + wellhead | $145,000 |
| Hydraulic fracture stimulation | Single stage - 450 tonnes proppant | $380,000 |
| Perforation and testing | Wireline perf + DST equipment | $95,000 |
| Phase 3 Subtotal | $1,535,000 | |
| PHASE 4 - PRODUCTION SETUP | ||
| Surface facilities construction | Separator, tankage, flow lines | $350,000 |
| Production testing and optimization | 5-day extended well test | $85,000 |
| Phase 4 Subtotal | $435,000 | |
| PHASE 5 - WELL ABANDONMENT (BOOKED NOW) | ||
| P&A liability NPV | $600k P&A in 20 years at 10% discount | $89,300 |
| Phase 5 Subtotal | $89,300 | |
| BASE ESTIMATE (P50) - All phases | $4,941,100 | |
| Contingency (15% - appraisal well, remote location) | P90 - P50 statistical basis | $741,165 |
| TOTAL AFE (P50 + contingency) | $5,682,265 | |
2.3 The Exercise - Apply the AFE Calculation
Using the original article's simplified cost data, verify the total with correct contingency methodology:
| Phase | Given Amount |
|---|---|
| Planning and Permitting | $200,000 |
| Drilling Operations | $1,000,000 |
| Completion | $650,000 |
| Production Setup | $350,000 |
| Abandonment | $100,000 |
| Base Estimate | $2,300,000 |
| Contingency (10% as stated) | $230,000 |
| Total AFE with 10% contingency | $2,530,000 |
Important note on this exercise: The $2.3M base estimate for a 12,000 ft remote directional well is approximately 40-50% below typical industry cost for this well type. The drilling operations figure of $1M implies either a very low day rate ($35,700/day for 28 days) or a very fast well. In real AFE preparation, always benchmark your base estimate against offset well actuals before submitting. If your estimate is more than 15% below the offset well average, review every line item before seeking approval.
3. Key Factors That Drive Cost Variance
3.1 Well Complexity Matrix
| Well Type | Complexity Index | Cost Multiplier vs Vertical Onshore |
|---|---|---|
| Vertical onshore (baseline) | 1.0 | 1.0x |
| Directional onshore (35-60°) | 1.4 | 1.3 - 1.6x |
| Horizontal onshore | 1.8 | 1.6 - 2.2x |
| Offshore platform well | 3.0 | 3.0 - 5.0x |
| Deepwater well (>1,500m WD) | 8.0 | 8.0 - 15.0x |
| HPHT well (T>150°C, P>15,000 psi) | 4.0 | 3.5 - 6.0x |
3.2 Cost Benchmarking - Validating Your AFE
Every AFE should be benchmarked against at least three reference points before submission:
- Offset well actuals: Compare line-by-line against the 3 most recent wells of similar type and depth in the same field or basin. If your estimate differs by more than 20% on any major line item, document the reason
- Industry benchmarks: Cost per foot for your well type and depth range against industry published data. Sources: IHS Markit, Rystad Energy, Wood Mackenzie annual well cost surveys
- Independent check estimate: For wells above $10M, have a second engineer independently estimate the well cost using the same well design. Discrepancies above 15% require reconciliation before AFE submission
3.3 The Real Cost of Getting the AFE Wrong
| Error Type | Typical Cause | Financial Impact |
|---|---|---|
| Underestimated NPT | Using best-case offset well, not average | 5-12% cost overrun on every affected well |
| Wrong rig class selection | Selecting cheaper rig that cannot handle well complexity | Rig upgrade mid-program + mob/demob costs |
| Missing line items | Copying previous AFE without reviewing scope changes | Budget surprise late in operations when options are limited |
| Optimistic completion design | Using minimum stage count before reservoir data confirms | Supplemental AFE for additional stages - 20-40% completion overrun |
| Flat 10% contingency on all wells | Not differentiating by well risk profile | Exploration wells systematically overrun; development wells sit with excess contingency |
4. Cost Reduction Strategies - Where the Savings Actually Come From
1. ROP improvement: Every 10 ft/hr improvement in average ROP saves approximately one rig day on a 10,000-12,000 ft well. At $45,000/day, that is $45,000 per well. Across a 10-well program, $450,000 - funded by investing $50,000 in better bit selection and parameter optimization.
2. Pad drilling: Sharing rig mobilization costs across 4-8 wells on the same pad reduces per-well mob cost by 70-80%. A $400,000 mob cost becomes $50,000-100,000 per well. On a 6-well pad this saves $300,000 per well in fixed costs alone.
3. Multi-well frame agreements: Locking in rig rates, mud service rates, and directional drilling rates for 3-5 wells at mid-cycle pricing protects against price spikes and provides negotiating leverage for 10-20% discounts against spot rates.
4. NPT prevention investment: Every $10,000 invested in wellbore stability analysis, BHA optimization, and mud program design prevents a statistical average of $80,000-150,000 in NPT costs based on industry data. This 8:1 to 15:1 return ratio is the most reliable cost reduction lever available to the drilling engineer.
5. Casing design optimization: Using a liner rather than a full casing string where the well design allows saves tubular cost (typically $80,000-200,000 per string) and running time (0.5-1.0 days of rig time). Review every full casing string in the design to determine if a liner achieves the same zonal isolation objective.
Conclusion
Total well cost estimation is not a spreadsheet exercise that happens once before AFE submission. It is a continuous process that starts with the first geological assessment, updates with every piece of offset well data, gets stress-tested against P90 scenarios before approval, and closes with a post-well variance analysis that feeds the next estimate. The engineers who consistently deliver accurate AFEs understand that every number in the budget traces back to a technical decision - and that changing the technical decision changes the cost.
The 12,000 ft directional well AFE built in this article illustrates the principle: the $5.68M total is not an arbitrary figure. Every line item comes from a specific calculation - rig days x day rate, casing strings x running costs, frac stages x cost per stage. When the well overruns, you can identify exactly which assumption was wrong and correct it for the next well. That is the difference between cost management and cost guessing.
Want to access our complete AFE template with all cost categories, or discuss well cost optimization for a specific well type? Join our Telegram group for well economics discussions, or visit our YouTube channel for step-by-step tutorials on AFE preparation and well cost benchmarking.

0 Comments