PECalcStudio Pecalcstudio.com

PECalcStudio · Guides & Resources

Calculator guide

Virtual Anchor Length for Buried Pipe

Buried pipe that heats up wants to grow — and the soil holds it back. The virtual anchor length is the buried length over which soil friction builds up enough to fully restrain that growth. This guide explains the concept, and the Excel calculator that does the arithmetic.

What it is

When a buried pipeline heats up under operating pressure and temperature, the pipe tries to expand axially. Soil friction along the buried barrel resists that movement. Close to a free end, a bend, or an above-ground tie-in, friction has not yet built up and the pipe still moves; further along, friction wins and the pipe is effectively fully restrained — virtually anchored — even though no physical anchor block exists. The distance over which that transition happens is the virtual anchor length.

Knowing it matters because everything downstream of the calculation depends on it: how much a buried elbow or tee actually moves, what load lands on a thrust block or an above-ground anchor, and whether the fully restrained section's axial stress — driven by temperature change and internal pressure — stays acceptable. This calculator works the friction-versus-expansion balance from the pipe, soil, and operating inputs instead of leaving it to a rule of thumb.

When you need it

  • Estimating movement at buried elbows, tees, and risers where a line comes out of the ground
  • Sizing or checking thrust restraint at direction changes in buried piping
  • Evaluating axial stress in the fully restrained section of a buried line
  • Checking how a temperature uprate or a pressure change affects an existing buried line
  • Deciding where a physical anchor is genuinely needed — and where the soil is already doing the job

Key inputs

Pipe size and wallOutside diameter and wall thickness from a built-in pipe database
Burial conditionsDepth of cover and soil unit weight, which set the normal load on the pipe
Soil–pipe frictionThe friction behaviour between the pipe (or its coating) and the surrounding soil
Operating conditionsDesign pressure and the temperature change from installation to operation
Material propertiesElastic modulus, thermal expansion coefficient, and yield strength of the pipe steel
Restraint contextWhether the run is treated as an elbow/tee end, a fully restrained section, or a thrust-restraint case

What the calculator returns

  • The virtual anchor length for the entered pipe, soil, and operating conditions
  • Axial force developed as friction restrains the pipe
  • Axial stress in the fully restrained section, with a comparison against yield
  • Movement estimates at the unrestrained end of the buried run, for use at bends and tie-ins

Common mistakes

  • Assuming buried pipe does not move. It does — near ends, bends, and risers. The virtual anchor length tells you over what distance that movement dies out.
  • Using one friction value for every job. Friction depends on the soil, the coating, and the installation. A generic value can swing the anchor length significantly.
  • Forgetting the pressure term. Internal pressure contributes to the axial picture through end loads and the Poisson effect, not just temperature change.
  • Treating the fully restrained stress as zero-risk. Once the pipe is fully anchored, the thermal load has nowhere to go — the axial stress in that section needs its own check against yield.

Worked example

The numbers below are the calculator's outputs for the inputs shown, on the Blocking @ Elbow sheet with the line cooling in service — installed at 70 °F, operating at 10 °F. Try the same inputs in the free web version.

Pipe20 in OD × 0.322 in wall, MAOP 100 psig, SMYS 52,000 psi
Materialν 0.3, E 29,500,000 psi, α 6.5×10⁻⁶ / °F (the elbow sheet's built-in value)
Pipe weight5.64 lb/in
Burial / soil36 in cover, clean uniform sand
Temperatures70 °F construction, 10 °F operating
Hoop stress3,106 psi
Longitudinal / combined stress−10,573 psi / 13,679 psi — 26.3% of SMYS for the straight-pipe portion
Anchor force241,384 lbf
Axial soil resistance48.65 lbf per inch of pipe
Potential end movement1.02 in
Virtual anchor length413 ft
Thrust-block bearing area115.6 ft² (allowable block movement 0.84 in)

What the 413 feet means: as you move away from the free end of the buried line, soil friction accumulates against the pipe until it has absorbed the full anchor force. At 413 feet from the end, the pipe stops moving altogether — that point behaves as if it were anchored, even though nothing is bolted there. It is a virtual anchor. In a straight run longer than twice the anchor length, the middle of the run is effectively fully restrained, and the stresses there are the fully-restrained stresses the sheet reports.

Watch the sign convention. The sheet takes ΔT as construction temperature minus operating temperature. A line that cools in service (as in this example) gives a positive anchor force and a positive anchor length. A line that heats up in service reverses the sign: on the elbow and tee sheets the anchor force and anchor length come out negative, which is the sheet's way of saying the movement is in the opposite direction. Read the signs and the temperatures together; do not just take absolute values.

The thrust-block figure is the bearing area the block needs against the soil if blocking is required — the sheet's rule is that blocking is required if a mechanical coupling is discovered within the virtual anchor length, or if the stresses at the elbow or tee are calculated above 90% of SMYS. Bearing area is only one part of a thrust-block design; block geometry, weight, and the soil bearing strength behind the area number still need a proper check.

How the method works

The core calculation is the fully-restrained buried pipe check. Hoop stress is the pressure term P×D/(2t). The expansion rate combines thermal movement with the Poisson effect of the hoop stress, and the longitudinal stress follows from restraining that expansion. The combined equivalent stress is the largest of the longitudinal stress, the hoop stress, and their difference, expressed as a percentage of SMYS.

The anchor force is the force the soil must absorb: the restrained thermal contraction (or expansion) plus the pressure end-load effect, acting over the pipe cross-section. Axial soil resistance comes from the soil's friction against the pipe — the friction coefficient from the soil table, the weight of the soil prism above the pipe, and the pipe's own weight. The virtual anchor length is simply the anchor force divided by that resistance per unit length: the distance over which friction eats the whole force.

Soil properties come from a nine-soil table built into the workbook (dry density, friction coefficient, friction angle, and bearing strength for sands, silts, clays, and gravels). Pick the soil that matches the trench backfill, not the native ground, if they differ — the friction the pipe actually feels is the friction of the material around it.

Limitations — read before you rely on it

  • The fitting checks can govern. The straight-pipe percentage of SMYS is only part of the answer on the elbow and tee sheets. The sheet also runs a stress profile along the fitting's effective bearing length, and that profile can exceed the straight-pipe result by a wide margin. Always read the fitting result alongside the straight-pipe result.
  • Built-in expansion coefficients differ by sheet. The fully-restrained sheet carries a built-in thermal expansion coefficient of 67×10⁻⁶ / °F; the elbow and tee sheets use 6.5×10⁻⁶ / °F. Confirm which basis matches your pipe material before relying on a result, and do not mix sheets without noticing the difference.
  • Thrust-block sizing is bearing-area only. The block section sizes bearing area from the soil bearing strength. It is not a complete thrust-block or geotechnical design, and it does not check overturning, sliding, or the block's own structural adequacy.
  • Soil data is generic. The nine-soil table is a starting point, not site data. If you have a geotechnical report, use its friction and bearing values rather than the table's, and be aware the workbook matches soil names exactly — a misspelled soil type returns no properties at all.

Further reading: ASME B31.3 vs B31.4 vs B31.8: which piping code governs your line?

Reading the results

The sheet reports three groups of results, and they answer three different questions. The stress group — hoop, longitudinal, combined, and percentage of SMYS — answers whether the restrained pipe itself is within its stress allowance. The movement group — anchor force, soil resistance, end movement, and virtual anchor length — answers how far the soil needs to absorb the thermal force, and how much the free end actually moves. The thrust-block group answers what bearing area a block needs if blocking is required. A result can pass in one group and fail in another; the worked example passes on straight-pipe stress (26.3% of SMYS) while still needing 413 feet of friction length and a 115.6 ft² bearing area.

End movement deserves its own look. In the example the free end moves about an inch. That movement has to go somewhere — into a coupling, an expansion joint, a bend leg, or a tie-in — and an inch of axial movement at a rigid connection is a failure waiting for a date. If the run is shorter than twice the anchor length, no virtual anchor forms at all: the whole run moves, the end movement is larger than the sheet's potential-end-movement figure suggests for a long run, and the anchor force the soil must absorb is the full force over the actual length. Short runs and tie-in spools need that reading, not the long-run one.

Choose the sheet that matches the geometry. The fully-restrained sheet is for a straight run with no fitting at the end being checked. The elbow sheet adds the fitting stress profile at a bend; the tee sheet adds it at a branch. The three sheets share the core calculation but differ in the details that matter — the built-in expansion coefficient, how pipe weight is obtained, and whether the anchor length is reported as an absolute value. Running the straight-pipe sheet for a line that ends in an elbow answers the wrong question.

Soil selection is the input most often guessed. The nine-soil table covers the common backfill types, but the friction coefficient and bearing strength vary by a factor of two across it, and the anchor length scales inversely with friction. If the trench is backfilled with a different material than the native soil — which is common — the backfill governs, because it is the material in contact with the pipe. When a geotechnical report exists, its values replace the table's.

FAQ

Is the virtual anchor length the same as a thrust block size?

No. The virtual anchor length describes how soil friction restrains the pipe along its length. Thrust blocks and physical anchors are separate design items — the anchor length and the forces it produces are inputs to deciding whether they are needed and how big they must be.

Does burial depth really change the answer?

Yes. Deeper cover puts more soil weight on the pipe, which raises the friction force per unit length, which shortens the distance friction needs to fully restrain the pipe.

Do I need Microsoft Excel?

Microsoft Excel (2016 or later recommended) is the intended platform. The workbooks also open in Google Sheets and LibreOffice, but they are built and checked in Excel. There are no macros — every calculation is a visible worksheet formula you can audit cell by cell. Formula cells are locked (no password) and input cells are left editable.

What is the difference between the US Imperial and Metric SI editions?

The Metric SI edition is natively metric — inputs, pipe data, and outputs work in SI units throughout — rather than a converted copy of the imperial sheet. If you work in both unit systems, the Both-editions bundle includes the two workbooks together in one bundle.

What is a virtual anchor?

The point along a buried pipeline where soil friction has fully absorbed the thermal anchor force, so the pipe no longer moves axially. Beyond that point — in a run longer than twice the anchor length — the pipe behaves as fully restrained. Nothing is physically anchored there; the soil does the anchoring.

Why is my anchor length negative?

Because of the sign convention: the sheet takes temperature change as construction temperature minus operating temperature. If the line operates hotter than it was installed, the anchor force and anchor length come out negative on the elbow and tee sheets (the fully-restrained sheet takes the absolute value). A negative length means movement in the opposite direction, not an error — but check that your construction and operating temperatures are entered in the right fields before trusting the sign.

Do I need a thrust block if the anchor length is shorter than my run?

Not necessarily. Per the sheet's own rule, blocking is required if a mechanical coupling falls within the virtual anchor length, or if the calculated stresses at the elbow or tee exceed 90% of SMYS. A long run with a short anchor length and low fitting stresses may need no block at all — but the fitting check, not the anchor length alone, decides that.

Get the calculator

Virtual Anchor Length Calculator

Excel spreadsheet with visible formulas and no macros — instant download from Etsy after purchase. Both editions are sold together in one bundle — and all six calculators are in the Imperial and Metric bundles on Etsy.

⚠ Engineering disclaimer

These spreadsheets are calculation tools, not engineering services. The purchaser is solely responsible for verifying all inputs, results, and applicability to their specific project, including all applicable codes and standards.

Results are not reviewed, approved, or stamped by a licensed Professional Engineer, and purchasing does not establish an engineer–client relationship. The seller assumes no liability for the use or misuse of these templates.