How to lay out a 45° pipe lateral (wye) template by hand
A lateral, or wye, is a branch that meets the header at an angle, here 45°. Its end is cut to a wrap-around template like a tee’s, but the template is lopsided: tall at the crotch, where the branch leans over the header, and flat at the heel. Here it is laid out by hand, step by step, with the lengths worked out so you can check them.
Published 2026-11-29. Rather have the numbers worked out? Pipe Cut Template Builder does it in your browser.
Open this example in the tool same sizes, ready for the DXF
The method in short
- Crotch and heel: the crotch is the acute side, under the lean, where the branch is shortest; the heel is the obtuse side, where it is longest. The example is a 114.3 branch on a 168.3 header at 45°.
- Stretch-out: π × 114.3 = 359.08, divided into 16 equal spaces of 22.44; point 0 at the crotch, point 8 at the heel.
- Length at an angle β round the branch from the crotch, up from a base line through the heel: r × cot α × (1 + cos β) − [R − √(R² − r² sin²β)] ÷ sin α. Here 114.30 at the crotch, 25.49 at the sides, 0 at the heel.
- Join the marks with a smooth batten and wrap the template with its base line square to the pipe and toward the end, the two ends meeting on the crotch line.
What you are making
The worked example is a lateral: a 114.3 branch (4-inch pipe) on a 168.3 header (6-inch), centrelines at 45°. They are the same pipes as the square tee in the saddle template guide, so the two templates can be compared. The angle is the one between the centrelines, the way the Navy’s Steelworker manual names a branch (p. 3-16). The template wraps round the outside of the branch, so it is developed on the branch’s outside diameter.
1. Crotch and heel
A square tee has two crotches and two tips, and its template repeats every half turn. A lateral has one crotch and one heel. The crotch is the acute side, the 45° between the branch and the header, under the lean: there the branch runs out furthest along the header, the cut reaches furthest back from the end, and the branch is shortest. The heel is the obtuse side, 135°, where the branch is longest. The two sides a quarter turn away straddle the header. The crotch is the hard part to weld: Steelworker notes that branches under 45° are limited in practice by “the difficulty of welding the crotch section” (p. 3-20).
2. The stretch-out
Draw a straight base line as long as the branch’s outside circumference: π × 114.3 = 359.08, and divide it into sixteen equal spaces of 22.44. Number the points 0 to 16; 0 and 16 are the same line on the pipe, the crotch. Point 8 is the heel, 4 and 12 are the sides.
The books use twelve (Kittredge, Problem 57; Coey, Ch. 18). Sixteen here, because a lateral’s curve is tall and steep: straight lines between twelve points would miss it by up to 3.20 on this example, between sixteen by 1.94, measured square to the curve as the tool states it (along an ordinate, 3.57 and 2.07). Work the circumference out and divide it; spaces stepped off a drawn circle are chords and come out short, as the saddle guide shows.
3. The lengths
Measure up from a base line through the heel. At an angle β round the branch from the crotch, the length is
r × cot α × (1 + cos β) − [R − √(R² − r² sin²β)] ÷ sin α,
with r the branch’s outside radius (57.15), R the header’s (84.15) and α the branch angle. At 45°, cot α is 1 and 1 ÷ sin α is 1.4142. The first part is the 45° end cut: the wave of a pipe sawn off at 45° from square (see the angled end cut guide). The second takes the header’s curve out of it. The header’s surface falls R − √(R² − r²) = 22.384 from its top to where the branch’s sides land, the depth of the square tee’s saddle, and on the slant that counts 1.4142 times. At the sides: 57.15 − 1.4142 × 22.384 = 25.49. At the crotch the second part is zero and the first is the whole diameter: 114.30.
| Point | Along the line | Length up |
|---|---|---|
| 0 and 16 | 0.00 | 114.30 |
| 1 and 15 | 22.44 | 105.86 |
| 2 and 14 | 44.89 | 82.94 |
| 3 and 13 | 67.33 | 52.68 |
| 4 and 12 | 89.77 | 25.49 |
| 5 and 11 | 112.21 | 8.94 |
| 6 and 10 | 134.66 | 2.12 |
| 7 and 9 | 157.10 | 0.26 |
| 8 | 179.54 | 0.00 |
The books find the same lengths graphically, from an elevation of the joint and an end view of the header (Kittredge, Problem 57; Atkins, Fig. 12). Daugherty draws the 45° case on equal pipes and adds that the method holds “no matter what diameter the pipes may have, or at what angle they are joined” (p. 33). The formula gives the lengths directly. The example button opens the tool at sixteen points under “Marking by hand”, so its table matches this one.
The heel is the lowest point of this cut, so the base line goes through it. That holds while cos α is at least r ÷ R: here 0.707 against 0.679. A steeper branch, or one nearer the header’s size, moves the lowest points off the heel to either side, where cos β = −cot α × √(R² − r²) ÷ r (see the questions below).
4. Draw the curve
Square up from the base line at every point, mark its length and join the marks with a flexible batten, not with straight lines. A tee’s template has two humps; a lateral’s has one, tall at the crotch and nearly flat through the heel, where points 6 to 10 are all within 2.12 of the base line.
5. Wrap and mark
Mark the branch’s four quarter lines first, as Steelworker starts every layout: the crotch line, the heel line opposite it and the two sides. Wrap the template with the base line square to the pipe and toward the end, its two ends meeting on the crotch line, and scribe along the curve. The pipe you keep is beyond the curve. On a plain length of pipe the crotch can go anywhere round it; if the other end already has a flange, an elbow or a seam to line up, put the crotch on the side the branch has to lean toward.
6. Cut it
Cut on the line with the torch square to the branch surface, pointed at its centreline: Steelworker’s radial cut, the torch “perpendicular to the interior center line at all times”, with any bevel cut afterwards (p. 3-26). The outside of the branch then follows the template. The inside of the wall does not: at the heel and the sides it runs on into the header, and at the crotch it stops short. On a 6.02 wall (4-inch Schedule 40), measured along the branch, the inside runs 6.02 into the header at the heel and 7.17 at the sides, and stands 6.02 clear at the crotch. Grind the inside back where it hits until the outside sits down, or enter the wall in the tool, which fits the inside instead and leaves a notch at the outside for the weld.
Cutting the branch to length
Measure from where the two centrelines cross. Along the branch from that point, the heel lands at (R − r × cos α) ÷ sin α = 61.86 and the crotch at (R + r × cos α) ÷ sin α = 176.16, both on the header’s top line. So the branch is longest at the heel: its length there is the centre-to-end length less 61.86. The difference between the two, 114.30, is the template’s height.
The hole in the header
The header needs a hole of the branch’s shape. For this set-on fit the hole is the branch’s bore: on the 6.02 wall, 109.91 round by 144.62 along. Its ends are 8.51 in from the heel and the crotch, and its centre is still R × cot α = 84.15 along the top line from the point above where the centrelines cross (125.65 × 161.64 is the set-in hole). The header hole guide marks it out point by point.
What this method does not cover
- Wall thickness. The template is the outside of the branch on the outside of the header; the inside of the wall is dealt with when you cut (step 6).
- Set-in branches. This is the set-on fit, the branch sitting on the header. A set-in branch goes through the hole to the header’s inside, so its end follows the header’s inside diameter instead.
- Bevels, root gap and kerf. None are in the lengths. They are your welding procedure’s call.
- A branch offset beside the header’s centreline, or as big as the header. The tool does both; the formula above does not.
- Reinforcement. Whether the joint needs a pad is for your code and specification, not for the layout.
Common mistakes
- Using a tee template for a lateral, or a tee template stretched.
- Putting the base line through the sides as on a tee: the heel then comes out 25.49 below it.
- Joining the points with straight lines: up to 1.94 out, square to the curve, with sixteen points on this example.
- Wrapping the template with its base line away from the end, or skewed.
- Centring the hole on the point above where the centrelines cross: at 45° its centre is 84.15 along from there.
- Taking the angle from square instead of between the centrelines. At 45° the two agree; a 60° lateral taken from square comes out as a 30° one.
How this matches the tool
The pipe template tool, set to a saddle at 45°, samples the same curve to a deviation you set rather than a point count, and its lengths agree with the exact ones on this page within 0.01. It prints the template at 1:1 and exports DXF, with the hole in the header beside it. The lengths on this page were produced by its own code when the page was built.
Questions
Which side of a lateral is the heel and which is the crotch?
The crotch is the acute side, the 45° between the branch and the header, under the lean. The branch is shortest there and its template is tallest, 114.30 on this example. The heel is the obtuse side, 135°, where the branch is longest and the length is 0. Both land on the header’s top line, 161.64 apart along it.
How is a lateral template different from a tee template?
A square tee’s template has two crotches and two tips, so it repeats every half turn, and on these pipes it is only 22.38 deep. A lateral’s has one crotch and one heel: one tall wave, 114.30 deep. It is a 45° end cut with the header’s curve taken out of it, so a tee template cannot be stretched to fit. Mark it from its own lengths.
How do I check the template before I cut?
While the heel is the lowest point, the crotch length is the outside diameter times cot α: 114.3 × cot 45° = 114.30, the whole diameter at 45°. The sides are 25.49, and the base line must just meet itself round the branch: 359.08. Measured along the branch from where the centrelines cross, the heel lands at 61.86 and the crotch at 176.16.
Does the same method work at 30° or 60°?
Yes, with the angle in the formula. At 30° the crotch length grows to 197.97. At 60° the lowest points move off the heel to either side, where cos β = −cot α × √(R² − r²) ÷ r, so the base line goes through them: the heel gets 2.41 and the crotch 68.40. The pipe template tool finds the lowest point at any angle on its sampled curve, within 0.01 here, takes an offset branch too, and lists the lengths for 8 to 32 points.
Is a lateral the same as a wye?
In plumbing, a wye is a branch coming off the run at 45°, the joint this page lays out; pipe fitters call it a lateral. A true Y, where the pipe splits into two equal legs, is a different joint and is not covered here.
Sources
- G. W. Kittredge, The New Metal Worker Pattern Book (1901), Problem 57 “The Joint Between Two Pipes of Different Diameters Intersecting at Other Than Right Angles”, Fig. 344, pp. 154–155: the joint line from an end view of the larger pipe, a stretchout at right angles to the arm
- B. Coey, Pattern Development: Sheet Metal Level 1 (BCcampus, 2021, CC BY 4.0), Ch. 18 “Oblique Tee”, pp. 57–59: twelve parts, points transferred from the front elevation, a flexible curve
- J. S. Daugherty, Sheet-Metal Pattern Drafting and Shop Problems (1922), Problem 10 “T-Joint Between Pipes of Same Diameter at an Angle”, Fig. 46, pp. 33 and 35: two cylinders at 45°, “no matter what diameter the pipes may have, or at what angle they are joined”
- E. A. Atkins, Practical Sheet and Plate Metal Work, 2nd ed. (Pitman, undated), Ch. III “Oblique Tee-Piece for Unequal Pipes”, Fig. 12, pp. 18–19: the joint line in elevation, lengths marked up from the girth line
- U.S. Navy, Steelworker, Volume 2, NAVEDTRA 14251 (1996), Ch. 3, p. 3-16: a branch named by the angle between the centre lines; quartering the pipe, the first step in laying out any joint
- Steelworker, Volume 2 (1996), p. 3-20, Fig. 3-49 and “Branch Connections”: the branch cut on the pattern line, “all cuts radial”, then bevelled; branches under 45° limited by “the difficulty of welding the crotch section”
- Steelworker, Volume 2 (1996), p. 3-26, “Pipe Cutting”, Fig. 3-59: radial cutting, the torch “perpendicular to the interior center line at all times”; by hand, beveling is a second operation
Skip the arithmetic
Pipe Cut Template Builder: Wrap-around templates for angled pipe ends and pipe-to-pipe saddles, with the export deviation stated rather than assumed. This guide is its “Lateral (45° branch)” block.
Free, in your browser; nothing you type is sent anywhere. How the tools are checked is on the Verification page. Rather have the job done for you? See how we help shops, quoted per job.