Dogleg Severity Calculator for Excel
Calculate the dogleg severity (DLS) of your wellbore trajectory with precision. Results can be directly used in Excel for further analysis.
Comprehensive Guide: How to Calculate Dogleg Severity in Excel
Dogleg severity (DLS) is a critical measurement in directional drilling that quantifies the rate of change in the wellbore’s direction over a specific distance. Understanding and calculating DLS is essential for drill string design, casing design, and overall wellbore stability. This guide will walk you through the mathematical foundations, practical calculations, and Excel implementation of dogleg severity calculations.
1. Understanding Dogleg Severity
Dogleg severity measures how sharply a wellbore changes direction between two survey points. It’s typically expressed in degrees per 100 feet (most common in US oilfields) or degrees per 30 meters (common in metric systems). High DLS values indicate sharp turns which can lead to:
- Increased torque and drag on the drill string
- Higher risk of keyseating or differential sticking
- Potential casing wear or failure
- Challenges in running completion equipment
The Industry Steering Committee on Wellbore Survey Accuracy (ISCWSA) provides standards for survey calculations, including dogleg severity. Their publications are considered industry standards for directional drilling calculations.
2. Mathematical Foundation of DLS
The dogleg severity calculation is based on the minimum curvature method, which provides the most accurate representation of the wellbore path between two survey stations. The formula is:
DLS = (100 / ΔMD) × arccos[sin(I₁)sin(I₂) + cos(I₁)cos(I₂)cos(A₂ – A₁)]
Where:
- DLS = Dogleg severity (degrees per 100 ft or other unit)
- ΔMD = Difference in measured depth between surveys (ft or m)
- I₁ = Inclination at first survey (degrees)
- I₂ = Inclination at second survey (degrees)
- A₁ = Azimuth at first survey (degrees)
- A₂ = Azimuth at second survey (degrees)
3. Step-by-Step Calculation Process
Let’s break down the calculation into manageable steps that you can implement in Excel:
-
Calculate the difference in measured depth (ΔMD):
ΔMD = MD₂ – MD₁
Where MD₂ is the measured depth at the second survey and MD₁ is the measured depth at the first survey.
-
Calculate the difference in inclination (ΔI):
ΔI = I₂ – I₁
This represents how much the wellbore’s angle from vertical has changed.
-
Calculate the difference in azimuth (ΔA):
ΔA = A₂ – A₁
This represents how much the wellbore’s compass direction has changed. Note that azimuth is typically measured clockwise from north (0°-360°).
-
Apply the minimum curvature formula:
Use the formula shown above. The arccos function will give you the angle in radians between the two survey points, which you then convert to degrees and scale by your chosen unit (typically per 100 ft).
-
Convert to desired units:
Multiply by the appropriate factor based on your desired output units (100 for degrees/100ft, ~3.28 for degrees/30m, etc.).
4. Implementing in Excel
To implement this calculation in Excel, you’ll need to use several functions:
- RADIANS(): Converts degrees to radians (Excel works in radians for trigonometric functions)
- ACOS(): The arccosine function (equivalent to arccos)
- SIN(), COS(): Sine and cosine functions
- PI(): Returns the value of π (3.14159…)
- DEGREES(): Converts radians back to degrees
Here’s how to structure your Excel formula (assuming your data is in cells A2:F2 for the first survey and A3:F3 for the second survey):
=DEGREES(ACOS(SIN(RADIANS(C2))*SIN(RADIANS(C3))+COS(RADIANS(C2))*COS(RADIANS(C3))*COS(RADIANS(D3-D2))))*(100/(A3-A2))
Where:
- A column = Measured Depth
- C column = Inclination
- D column = Azimuth
5. Practical Example
Let’s work through a practical example with the following survey data:
| Survey | MD (ft) | Inclination (°) | Azimuth (°) |
|---|---|---|---|
| 1 | 5000 | 30 | 45 |
| 2 | 5050 | 35 | 50 |
Step-by-step calculation:
- ΔMD = 5050 – 5000 = 50 ft
- Convert to degrees per 100 ft factor = 100/50 = 2
- Plug into formula:
DLS = 2 × arccos[sin(30°)sin(35°) + cos(30°)cos(35°)cos(50°-45°)]
= 2 × arccos[0.5×0.5736 + 0.8660×0.8192×0.9962]
= 2 × arccos[0.2868 + 0.7037]
= 2 × arccos(0.9905)
= 2 × 7.11°
= 14.22° per 100 ft
So the dogleg severity for this interval is approximately 14.22° per 100 ft.
6. Industry Standards and Thresholds
The oil and gas industry has established general guidelines for acceptable dogleg severity values, though these can vary based on specific well conditions and equipment:
| DLS Range (°/100ft) | Classification | Typical Applications | Potential Challenges |
|---|---|---|---|
| 0-2 | Very Low | Vertical wells, shallow sections | Minimal steering challenges |
| 2-5 | Low | Conventional directional wells | Minor torque/drag increases |
| 5-10 | Moderate | Most directional wells, S-shaped profiles | Noticeable torque/drag, may require special BHA |
| 10-15 | High | Extended reach wells, complex 3D wells | Significant torque/drag, casing wear concerns |
| 15+ | Very High | Specialized applications, short radius laterals | Severe torque/drag, high risk of stuck pipe |
According to the International Association of Drilling Contractors (IADC), most conventional drilling equipment can handle DLS values up to about 10°/100ft without significant issues, though modern rotary steerable systems can handle higher values.
7. Advanced Considerations
Survey Frequency Impact
The frequency of surveys affects DLS calculations. More frequent surveys (shorter ΔMD) will generally show higher DLS values for the same actual wellbore curvature. Industry practice typically uses survey intervals of 30-100 ft (9-30 m).
Elliptical vs. Circular Wellbore
Most DLS calculations assume a circular wellbore cross-section. In reality, wellbores are often elliptical, especially in softer formations. This can lead to underestimation of actual dogleg severity by 10-30% according to research from the University of Colorado.
Temperature and Pressure Effects
Downhole temperature and pressure can affect survey tool accuracy. High temperatures (>300°F) may cause tool drift, while high pressures can affect tool housing dimensions. Always apply appropriate environmental corrections to raw survey data.
8. Excel Implementation Tips
When implementing DLS calculations in Excel, consider these best practices:
-
Data Validation:
Use Excel’s data validation to ensure:
- Measured depths are positive and increasing
- Inclinations are between 0° and 90°
- Azimuths are between 0° and 360°
-
Error Handling:
Wrap your formula in IFERROR() to handle potential calculation errors:
=IFERROR(DEGREES(ACOS(SIN(RADIANS(C2))*SIN(RADIANS(C3))+COS(RADIANS(C2))*COS(RADIANS(C3))*COS(RADIANS(D3-D2))))*(100/(A3-A2)), "Error in calculation") -
Visualization:
Create a wellbore trajectory plot using Excel’s 3D line charts:
- Calculate TVD (True Vertical Depth) for each survey: TVD = MD × cos(inclination)
- Calculate North-South displacement: NS = MD × sin(inclination) × cos(azimuth)
- Calculate East-West displacement: EW = MD × sin(inclination) × sin(azimuth)
- Plot NS vs EW with TVD as the z-axis
-
Automation:
Use Excel tables and structured references to automatically apply the formula to new survey data as it’s added.
-
Documentation:
Always include a “Calculations” sheet that documents:
- The formula used
- Units for all inputs and outputs
- Any assumptions or simplifications
- Source of the calculation method
9. Common Mistakes to Avoid
When calculating dogleg severity in Excel, watch out for these common pitfalls:
-
Unit Confusion:
Mixing metric and imperial units is a frequent error. Ensure all length measurements are in consistent units (all feet or all meters) before performing calculations.
-
Azimuth Wrap-Around:
When the azimuth difference crosses 0° (e.g., from 350° to 10°), the simple subtraction gives -340° when it should be 20°. Use this formula to handle wrap-around:
=IF(ABS(D3-D2)>180, 360-ABS(D3-D2), ABS(D3-D2)) -
Division by Zero:
If two surveys have the same measured depth (ΔMD = 0), you’ll get a division by zero error. Handle this with:
=IF(A3-A2=0, 0, [your DLS formula]) -
Radians vs Degrees:
Excel’s trigonometric functions use radians, while survey data is in degrees. Forgetting to convert with RADIANS() or DEGREES() will give incorrect results.
-
Survey Quality:
Garbage in, garbage out. Always verify survey data quality before calculations. Check for:
- Unrealistic inclination changes (>30° between surveys)
- Azimuth jumps (>180° between surveys)
- Measured depth decreases
10. Advanced Excel Techniques
For more sophisticated analysis, consider these advanced Excel techniques:
Moving Average DLS
Calculate a moving average of DLS over 3-5 surveys to smooth out measurement noise:
=AVERAGE(IF(ROW($A$2:$A$100)-ROW(A2)<=2, $G$2:$G$100))
(Enter as array formula with Ctrl+Shift+Enter in older Excel versions)
Conditional Formatting
Apply color scales to quickly identify high DLS sections:
- Select your DLS column
- Home tab > Conditional Formatting > Color Scales
- Choose a red-yellow-green scale
- Set custom thresholds (e.g., 5° green, 10° yellow, 15° red)
Data Validation Alerts
Set up alerts for problematic DLS values:
- Select your DLS column
- Data tab > Data Validation
- Set criteria (e.g., between 0 and 20)
- Create custom error message for out-of-range values
11. Alternative Calculation Methods
While the minimum curvature method is most common, other methods exist:
| Method | Formula | When to Use | Accuracy |
|---|---|---|---|
| Minimum Curvature | DLS = (100/ΔMD) × arccos[sin(I₁)sin(I₂) + cos(I₁)cos(I₂)cos(ΔA)] | Standard industry practice | High |
| Average Angle | DLS = (100/ΔMD) × arccos(cos(ΔI) - sin(I₁)sin(I₂)(1-cos(ΔA))) | Quick approximation | Medium |
| Balanced Tangential | DLS = (100/ΔMD) × √(ΔI² + (sin(I)ΔA)²) | Historical method | Low |
| Radius of Curvature | DLS = (18000)/(π × R) where R = ΔMD/(2sin(θ/2)) | Engineering analysis | High |
The Society of Petroleum Engineers (SPE) recommends the minimum curvature method for most applications due to its balance of accuracy and computational simplicity.
12. Real-World Applications
Understanding and properly calculating dogleg severity has numerous practical applications:
-
Drill String Design:
High DLS sections require more robust drill pipe and connections. The American Petroleum Institute (API) provides standards for drill string design based on anticipated DLS.
-
Casing Design:
Sharp doglegs increase casing wear and may require:
- Heavier weight casing
- Centralizers at higher density
- Special wear-resistant coatings
-
Wellbore Stability:
High DLS can lead to:
- Increased risk of differential sticking
- Higher likelihood of keyseating
- Potential wellbore collapse in unstable formations
-
Completion Operations:
Running completion equipment through high DLS sections may require:
- Smaller diameter tools
- More flexible materials
- Specialized running procedures
-
Regulatory Compliance:
Many jurisdictions have maximum allowable DLS values for:
- Environmental protection (preventing unintended surface breaks)
- Safety (preventing well control issues)
- Resource conservation (ensuring proper reservoir drainage)
13. Excel Template Implementation
To create a professional DLS calculation template in Excel:
-
Input Section:
- Create named ranges for all input cells
- Use data validation for all inputs
- Include units next to each input field
-
Calculation Section:
- Implement the minimum curvature formula
- Add intermediate calculations (ΔI, ΔA, ΔMD)
- Include error checking
-
Results Section:
- Display DLS in multiple units
- Add visual indicators (traffic light system) for DLS severity
- Include a small trajectory plot
-
Documentation Sheet:
- Explain the calculation method
- List all assumptions
- Provide references to industry standards
- Include version history
-
Protection:
- Protect all cells except input cells
- Add password protection if needed
- Include a disclaimer about proper use
14. Verification and Quality Control
Always verify your Excel calculations against:
-
Manual Calculations:
For critical wells, perform manual calculations for at least 10% of surveys to verify Excel results.
-
Commercial Software:
Compare with established directional drilling software like:
- Landmark's COMPASS
- Halliburton's WellPlan
- Schlumberger's DrillPlan
-
Industry Benchmarks:
Check that your results fall within expected ranges for similar well types in your area.
-
Peer Review:
Have another engineer review your spreadsheet logic and sample calculations.
15. Future Trends in DLS Calculation
The calculation and application of dogleg severity continues to evolve:
-
Real-time Calculations:
Modern drilling systems now calculate DLS in real-time using downhole sensors, allowing immediate adjustments to drilling parameters.
-
3D Visualization:
Advanced software now provides 3D visualization of wellbore trajectory with color-coded DLS sections.
-
Machine Learning:
AI algorithms are being developed to predict optimal DLS values for specific formations and drilling assemblies.
-
Automated Drilling:
Closed-loop drilling systems can automatically adjust toolface and WOB to maintain target DLS values.
-
Enhanced Standards:
Organizations like ISCWSA continue to refine calculation standards based on new research and field data.
Conclusion
Calculating dogleg severity in Excel is a fundamental skill for directional drillers, well engineers, and drilling supervisors. While the mathematical foundation is straightforward, proper implementation requires attention to detail, especially regarding units, azimuth calculations, and error handling.
Remember that DLS is more than just a number—it directly impacts nearly every aspect of well construction and completion. High DLS values can lead to significant operational challenges and increased costs, while overly conservative DLS limits may prevent achieving complex well trajectories.
For critical wells, always cross-verify your Excel calculations with established commercial software and consult with experienced directional drilling specialists. The American Association of Drilling Engineers (AADE) offers excellent resources and training on advanced directional drilling topics, including dogleg severity calculations.
As drilling technology advances, the importance of accurate DLS calculation will only increase. Modern extended reach wells and complex 3D trajectories push the limits of what's possible, making precise trajectory control and monitoring essential for successful well delivery.