Reviewing measurement while drilling survey data at a measured depth of 3,250.0 metres on a North Sea horizontal wellbore reveals a rapid trajectory change. Over a 29.0-metre survey interval, the wellbore inclination jumps from 45.0 degrees to 52.0 degrees while the azimuth shifts by 9.0 degrees. This sudden trajectory change creates a localized build and turn that can impair operations if left unchecked.
Calculating dogleg severity accurately within Microsoft Excel is essential for evaluating torque, drag, and casing runnability before localized tortuosity triggers expensive drilling dysfunction. Unplanned tortuosity reduces fatigue life on drillpipe, increases friction factors in high-angle laterals, and leads to stuck pipe or failed casing runs. Rig site engineers often rely on custom spreadsheets to audit directional surveys in real time. Ensuring that these spreadsheets properly implement spherical spatial trigonometry rather than simplified planar models is vital for maintaining operational safety and wellbore integrity.
Survey Input Parameters and the Minimum Curvature Dogleg Formula
Directional survey points provide discrete three-dimensional measurements of wellbore spatial position. Station 1 is recorded at a measured depth of 3,250.0 metres with an inclination of 45.0 degrees and an azimuth of 130.0 degrees. Station 2 is recorded downstream at a measured depth of 3,279.0 metres with an inclination of 52.0 degrees and an azimuth of 139.0 degrees. The difference between these two points defines a course length of 29.0 metres.
To determine the spatial curvature between these two points, the standard minimum curvature formula calculates the subtended dogleg angle using spherical trigonometry across three-dimensional spatial coordinates. The mathematical relationship governing the dogleg angle in radians is given by the spherical law of cosines:
where and represent the inclination angles at the upper and lower survey stations in radians, while and represent the respective azimuth angles in radians relative to true or grid north. The dogleg angle expresses the total angular change in three-dimensional space over the interval.
To convert this total angular change into a standardized metric, dogleg severity normalises over a fixed reference course length. Under North Sea United Kingdom Continental Shelf conventions, dogleg severity is expressed in units of degrees per 30 metres. Under American Petroleum Institute guidelines published in standards such as API RP 10D-2, dogleg severity is referenced in units of degrees per 100 feet. The normalization equation converting the radians of the subtended angle to dogleg severity in degrees per 30 metres is expressed as:
where represents the course length in metres, calculated as . For foot-based systems, replacing 30 with 30.48 or evaluating over a 100-foot course length provides the equivalent API metric. As documented in directional literature including A Compendium of Directional Calculations Based on the Minimum-Curvature Method—Part 2: Extension to Steering and Landing Applications, minimum curvature assumptions provide the industry standard model for continuous wellbore trajectory construction.
Step-by-Step Excel Calculation and Worked Example
Executing this mathematical workflow in Microsoft Excel requires converting raw degrees to radians, applying the cosine identity, extracting the arc-cosine, and scaling by course length. Excel trigonometric functions require angle inputs in radians rather than decimal degrees.
Converting the survey station inputs into radians using the built-in RADIANS function yields exact angular values for the trigonometry terms. For Station 1, an inclination of 45.0 degrees converts to 0.7854 radians, while an azimuth of 130.0 degrees converts to 2.2689 radians. For Station 2, an inclination of 52.0 degrees converts to 0.9076 radians, and an azimuth of 139.0 degrees converts to 2.4260 radians.
Evaluating the spherical cosine term using these radian inputs yields the cosine of the total spatial angle change:
Computing the discrete trigonometric terms gives , and . Summing these intermediate values produces a spherical cosine term of 0.985657.
Taking the inverse cosine via the Excel ACOS function produces a subtended dogleg angle of 0.170025 radians. Converting this value back to decimal degrees by multiplying by 180 and dividing by yields a total spatial dogleg angle of 9.7418 degrees across the 29.0-metre course length.
Normalising this 9.7418 degree angle change across the 29.0-metre survey interval yields the final dogleg severity values. Dividing 9.7418 degrees by 29.0 metres and multiplying by 30 metres produces a calculated dogleg severity of 10.08 degrees per 30 metres. To convert this result to North American customary units, multiplying 9.7418 degrees by 30.48 metres and dividing by 29.0 metres produces a dogleg severity of 10.24 degrees per 100 feet.
While spreadsheet formulas process discrete survey stations, GeoMaster performs continuous dogleg severity computation across streaming sensor channels to detect localized tortuosity between survey points.
Operational drilling guidelines presented in SPE drilling literature target maintaining dogleg severity below 3.0 degrees per 30 metres in conventional build and horizontal sections to prevent drillpipe fatigue and casing wear. The calculated dogleg severity of 10.08 degrees per 30 metres at 3,279.0 metres measured depth represents a severe trajectory anomaly. Severe doglegs of this magnitude significantly increase rotary torque, induce severe keyseating risks, and can prevent casing strings from reaching total depth.
Sanity Checks, Excel Formula Pitfalls, and Trajectory Risks
Implementing directional calculations in Microsoft Excel introduces technical pitfalls that can corrupt trajectory models if unaddressed. A primary mathematical issue stems from floating-point arithmetic limitations in spreadsheet calculation engines. When survey stations report minimal directional changes, such as straight tangent sections where and , the computed spherical cosine term can evaluate to 1.0000000000000002 due to IEEE 754 precision rounding. Passing a value strictly greater than 1.0 into the standard Excel ACOS function causes Excel to fail and return a #NUM! error. Engineers must guard against this issue by nesting the spherical cosine equation inside MIN and MAX bounding functions, structured as ACOS(MIN(1, MAX(-1, spherical_cosine_expression))).
Azimuth transitions across grid north present a second major calculation risk. When a wellbore turns from 358.0 degrees to 2.0 degrees across a survey station, raw spreadsheet subtractions calculate a delta azimuth of -356.0 degrees instead of the true 4.0 degree turn. Uncorrected raw subtractions introduce a 355 degree mathematical anomaly into the spherical cosine formula, causing massive dogleg calculation spikes. Spreadsheet formulas must correct azimuth differences using modular arithmetic or conditional logic, ensuring that any absolute azimuth change exceeding 180 degrees is adjusted by adding or subtracting 360 degrees.
Simplistic calculation methods provide another source of risk in trajectory auditing. Historical tangential calculation models assume that the wellbore forms straight line segments between survey points. As highlighted in well path literature such as Well Path Design and Trajectory Optimization, tangential models underestimate true wellbore curvature by up to 15 percent in high-angle horizontal sections compared to minimum curvature calculations. Relying on simplified formulas distorts vertical depth calculations and obscures critical severe dogleg points.
Manual data entry and spreadsheet maintenance in active offshore drilling environments carry financial and operational costs. Reports published by industry regulators, including the UKCS Operating Costs in 2021 - North Sea Transition Authority, underscore the operational sensitivity of high-cost platform developments to non-productive time. Human transposition errors during manual spreadsheet updates lead to incorrect torque models, flawed casing design margins, and severe delays during casing running operations across North Sea offshore assets.
Transitioning from Spreadsheet Audits to Real-Time Trajectory Monitoring
Standard measurement while drilling survey practices rely on discrete survey stations taken at drillpipe stand connections, typically separated by 29.0 to 31.0 metres. Discrete survey intervals fail to resolve micro-doglegs that frequently exceed 8.0 degrees per 30 metres between survey stations. Motorized bottom hole assemblies can drill severe, short-distance S-curves or ledges over 3-metre to 6-metre intervals that never register in end-of-stand survey points.
High dogleg severity spikes dramatically increase drillstring torque and drag, increasing stuck pipe risks beyond the 3.0 degrees per 100 feet threshold specified in API RP 10D-2. Unrecorded micro-tortuosity accumulates over long horizontal lateral sections, producing high side forces that cause localized casing wear, prematurely destroy drillpipe tool joints, and result in severe drag during casing running operations. As discussed in research presented at the SPE/IADC Drilling Conference and Exhibition, evaluating well path profile metrics beyond standard survey points is essential for identifying severe trajectory risks before drilling tools become stuck.
Replacing manual Excel spreadsheet tracking with automated software computation mitigates human transposition errors across complex multi-well platforms. Real-time trajectory engines calculate wellbore curvature continuously, eliminating spreadsheet rounding bugs and enabling drilling teams to respond immediately to severe downhole trajectory trends.
Auditing existing dogleg severity Excel templates for trigonometric rounding bugs and north-crossing errors ensures that all well trajectory calculations strictly apply minimum curvature equations across standardized survey intervals.
Frequently asked questions
References
- 1.Improving Drilling Operations with Well Path Analysis using Borehole Torsion and Well Curvature… — onepetro.org
- 2.Serving the oil and natural gas industry with information — api.org
- 3.Well Path Design and Trajectory Optimization | PDF | Microsoft Excel | Spreadsheet — scribd.com
- 4.[PDF] UKCS Operating Costs in 2021 - North Sea Transition Authority — nstauthority.co.uk