Single Pile — Axial and Lateral Analysis
One pile in one soil profile raises several questions. How much vertical load does it carry and how far does it settle under the working load? How far does its head move under a horizontal load, and what bending moment does the pile have to take? And when the pile is handed to a frame model as a support, which springs stand for it? This macro answers all of them from the same pile and the same layers, entered once.
The example on this page is a Ø800 mm bored pile, 26 m long, under a car park column. The ground is 4 m of stiff clay over soft clay down to 10 m and stiff clay below that, with the water table at the ground surface. The pile head is held by a cap, and it carries a vertical load of 1,500 kN and a horizontal load of 150 kN.
Creating the calculation
Pick Single Pile — Axial and Lateral Analysis in the Calculation Gallery and add it to your project with "Start Calculation". The input panel is on the left; the results are on the right.

The macro has three capabilities, and the selector at the top of the results switches between them:
| Capability | Answers |
|---|---|
| Axial (t-z) | Capacity, the load-settlement curve, the settlement and load distribution under the design load |
| Lateral (p-y) | Deflection, rotation, moment, shear and soil reaction along the pile; the depth to fixity |
| Pile Spring Constants | The pushover curve, the 2×2 lateral spring matrix and the vertical spring Kᵥ |
The button next to the selector runs the capability you are looking at: Run Axial Analysis, Run Lateral Analysis or Compute Head Springs. The dot beside each capability shows its state: red when its inputs are incomplete, hollow when it has not been run, orange when the inputs changed after the run, and green when the result is up to date.
The input panel has six sections. Each one carries a badge for the capabilities that read it: Shared sections feed all of them, Axial and Lateral sections only their own.
| Section | Data you define |
|---|---|
| Pile | Installation, length, section and material, EI and EA |
| Soil Profile | The layers, their p-y model and strength, the water table |
| Pile Head Loads | The head boundary condition and the vertical and horizontal loads |
| Axial Analysis | Load direction, safety factors, load-transfer curves |
| Lateral Analysis | Static or cyclic loading, P-Delta, the head deflection limit, the group factor |
| Solver Settings | The number of nodes along the pile |
The pile
Installation is driven, bored or CFA. It selects the shaft-friction correlations and the default load-transfer curves of the axial analysis; a CFA pile is computed as a bored one. Pile Length (L) is the embedded length below the ground surface.
The section is entered in the Section and Material window. It offers a solid circle, a hollow circle and a square, and concrete or steel with an editable elastic modulus and unit weight. From these it writes EI, EA and the self weight into the panel. A square pile is entered as a square, not as an equivalent diameter: its perimeter and its toe area differ from a circle's in different proportions.
The EI the window writes is the gross section value. For a cracked reinforced concrete pile, reduce it with the Flexural Rigidity Factor (0.7, for example) rather than changing the number. The self weight is shown because it enters the calculation in uplift, where it resists the pull.
The soil profile
Layers are entered from the ground surface down, each with its thickness. Each layer takes a p-y model, its total unit weight, its position relative to the water table and the strength parameters the model needs:
| p-y model | Parameters |
|---|---|
| Soft Clay (Matlock), Stiff Clay (Reese) | Undrained shear strength sᵤ, its increase with depth, ε₅₀ |
| Sand (API), Sand (Reese) | Friction angle φ |
| Linear (constant k), Linear (increasing k) | Subgrade modulus k and its increase with depth |
| Void / Water (p = 0) | — |
Below the water table the effective unit weight is used. Once a layer is below the water table, the layers under it are too. ε₅₀ can be left blank; it is then taken from sᵤ.
Each layer also has an Axial parameters (optional) group. The values there, such as a unit shaft friction or a unit end bearing taken from a load test, replace the ones the axial analysis would derive from sᵤ and φ.
When the soil report gives no sᵤ, three helpers are at hand. I have c and φ, not sᵤ works from the cohesion and the friction angle. Estimate sᵤ runs the correlations whose inputs the report carries and shows their results side by side. Enter SPT logs takes the borehole's blow counts once, and each clay layer reads the rows inside its own depth range.
I have c and φ, not sᵤ first asks which test produced the cohesion. After a UU triaxial or an unconfined compression test with φ = 0, the cohesion is the undrained shear strength itself. After a direct shear box, a CU or a CD triaxial it is an effective-stress parameter, and the window says not to type it into the sᵤ field.

An SPT log feeds Estimate sᵤ across a whole layer. Each SPT row inside the layer is estimated on its own and a line is fitted through the points, so both sᵤ at the top of the layer and its increase with depth are written to the layer. The methods that can run are shown side by side with their fitted lines. Use this value writes the chosen one, and the layer then shows which method and clause the value came from.
Take the profile from another calculation copies a profile entered in another pile calculation. The copy keeps no link to its source: editing either one later does not change the other.
Pile head loads
The Pile-head Boundary Condition picks the pair of statements made at the head:
| Condition | Meaning |
|---|---|
| Shear + Moment | Free head: a horizontal load and a moment |
| Shear + Slope | A horizontal load with the rotation prescribed; a slope of 0 is a fixed head |
| Shear + Rotational spring | An elastic head: the moment follows the rotation () |
| Displacement + Moment | A prescribed head displacement and a moment |
| Displacement + Slope | A prescribed head displacement and rotation |
The pile in the example sits in a rigid cap, so its head is entered as Shear + Slope with a slope of 0. Vertical load, N is one number for both analyses: the axial analysis takes it as its design load and the lateral one as the axial force of the P-Delta effect. The loads are design values; the macro applies no load factors to them.
Bring a row from a group analysis fills this calculation from a row of a pile group calculation, with that row's p-multiplier and head conditions, so the moment diagram, p-y curves and depth to fixity of that row can be read here.
It replaces the pile, the soil profile, the head condition and the loading settings, so it is meant for a new calculation. In the clip below the leading row of the Pile Group guide's example is brought in. The head becomes Displacement + Slope with the cap's deflection and a slope of 0, and the vertical load becomes the load per pile. The lateral run gives the row's largest moment, 208.5 kN·m, and its largest shear, 141.6 kN: the values in the group's row table.
Axial analysis settings

Load direction is compression or tension. Use a different load for the axial analysis is for the case where the settlement should be computed under a service load other than the head load; the lateral analysis keeps the head load.
The capacity is reported as ULTIMATE. The allowable capacity is derived only from safety factors you enter, one for the shaft and one for the toe, as . Leave them blank and no allowable capacity is given.
Load-transfer curves follow the installation by default: API RP 2GEO for a driven pile, O'Neill and Reese for a bored one. They decide the settlement, not the capacity. Depth with no side friction is the top length of a bored or CFA pile where no shaft friction is counted (1.52 m when left blank).
Lateral analysis settings

Loading type chooses static or cyclic p-y curves. With Include P-Delta (second-order) effects ticked, the vertical load is carried in the lateral analysis in one of two ways:
- Use the constant head load keeps the head load constant down the pile. It is on the safe side and needs no axial analysis.
- Use the axial force in the pile takes the N(z) distribution from an axial solve of the same pile. N decreases as the load is shed to the shaft. The example uses this option.
Once you enter an Allowable pile-head deflection, the head deflection is checked against it and marked pass or fail. Without one, no serviceability check is made. Group factor, Pm reduces the p-y curves of a pile standing in a group; 1 is a single pile.
Reading the axial results
Each run lists its warnings above the results. The example has one: no shaft friction is counted over the top 1.52 m of the pile. It appears on every bored or CFA pile, because the rule applies to all of them.
The first cards give the shaft friction, the end bearing, the ultimate capacity, the mobilised capacity and the allowable capacity. The line under them reports the state under the design load: the head and toe settlement, the elastic shortening, the share carried by the shaft and by the toe, and the vertical spring Kᵥ at that load.
The figure below them draws four quantities against depth beside the soil column: the axial force N(z), the mobilised shaft friction t(z), the settlement w(z) and the bearing capacity. The bearing capacity column answers "what would this pile carry if it ended at this depth"; the depth where that curve crosses the design load is the required embedment, 13.52 m in the example.

The Capacity Breakdown table splits the capacity layer by layer. The Load–Settlement Curve draws the head load against the head settlement. It stays below the ultimate-capacity line: that line is the sum of each layer's peak friction and the end bearing, while the friction in clay drops past its peak, so the largest load the pile can mobilise at one time (the mobilised capacity) is lower.
The t-z Curves tab draws the shaft friction against the pile movement at the depths you choose, by default one in each layer. Clicking a point on the soil column brings that depth's curve forward.

The axial Detailed Calculation tab shows each step with its formula, the same formula with the numbers substituted, and its result: the shaft friction of each layer, the end bearing, the ultimate and allowable capacity, the settlement under the design load and Kᵥ.

Reading the lateral results
The Results tab opens with a method note and the run's warnings. The cards give the head deflection, with the PASS or FAIL mark when you entered a limit, the head rotation, the maximum moment with its depth, the maximum shear and the equilibrium check.

When P-Delta takes the axial force in the pile, a Sequential analysis card shows the N(z) distribution the lateral analysis used. In the example the head is fixed against rotation, so the largest moment, 208.9 kN·m, is at the head.
The figure draws the deflection, rotation, moment, shear and soil reaction along the pile beside the soil column. Moving the pointer over it reads all five at that depth; a click keeps the reading.

The lateral Detailed Calculation tab draws the p-y curves at the depths you choose, gives the formulas of each p-y model in the profile, and works through the curve of the selected depth step by step: the effective overburden, the ultimate resistance and the curve itself.

Depth to fixity
The Depth to Fixity tab gives three values for the depth at which the pile can be taken as fixed in a frame model:
| Value | Meaning |
|---|---|
| Davisson (equivalent cantilever) | The closed-form value, for preliminary design |
| Equivalent cantilever (p-y) | The cantilever length that gives the same head deflection |
| Observed (zero deflection) | The depth where the computed deflection returns to zero; a check |

The closed form assumes one soil modulus. In a layered profile it is reduced to a single equivalent modulus over the active zone, and the tab says so. In the example the active zone, 3.94 m deep, lies inside the top stiff clay, so the modulus is that layer's own. The final design reads the moments and the embedment from the full p-y results, not from a single depth.
Pile spring constants
This group gives what a frame model needs at the pile head. Its run is started with Compute Head Springs in the toolbar or Update in the panel.
The pushover curve pushes the head step by step up to the Target load factor times the design loads. If the soil reaches its ultimate resistance first, the summary shows , and ; otherwise it shows the values at the last step as , and , with a note that these are not a lateral capacity. The raw curve and an equal-energy bilinear idealisation can be downloaded as CSV.

The Lateral Stiffness table gives Kₕₕ, Kₘₘ and Kₕₘ as secants at the load levels you list; clicking a row shows its 2×2 matrix. The first row is the initial tangent. A soft clay or dry stiff clay layer within five diameters of the head has a p-y curve that starts vertical; the initial tangent is then undefined, so it is left out and the table says so.

The Vertical Spring Kᵥ table gives the initial tangent and the secants at half the ultimate capacity and at the design load. Each secant is drawn on the curve as a line from the origin; clicking a row marks it. The Secant Softening chart shows how much the three lateral terms soften as the load grows.
The springs are nonlinear: a spring taken at one load level does not hold at another, which is why each value is given with the load it was taken at.
Generating the report
Generate Report produces a PDF in parts: the inputs, the axial analysis, the lateral analysis, the pile spring constants, and the scope and limitations. Only the capabilities you have run appear in it.


Publishing and verification
Publish at the top of the page opens the Publishing & Verification window. Publish This Version freezes the calculation as it stands, its inputs and results together, into a copy that does not change, and gives that copy a verification link. Anyone with the link sees the copy read-only, without signing in. Editing the calculation afterwards leaves the copy as it was. Publishing a state that is already published returns the same publication instead of a second one.
While the calculation is in its published state, the window marks it Current. Download PDF with QR, and Generate Report too, then produce the report with a QR code that opens the link. Once an input changes, the report no longer matches the publication and the QR is left out. Publish again to get a link for the new state.

The Publications list holds every version with its date and the number of times its link has been opened. Each can be copied, opened or revoked. Revoking is permanent: the link stops working.
Whether the results are current
A change to any input turns the dots of the capabilities that read it orange, and the run button turns orange with them. The results on screen stay as they were until you run again. The axial result follows only the inputs the axial analysis reads: changing the horizontal load, for example, leaves it up to date.
When the pile stands in a group
This macro analyses one pile. When several piles share a rigid cap, the cap imposes the same head deflection on all of them and the rows do not share the load equally. The Pile Group Analysis macro handles that case: it computes the group's axial capacity and the load each row takes. A row of that analysis can be brought back here with Bring a row from a group analysis. The Pile Group guide walks through that macro.