Skip to content

Pipe offset calculator: rolling offsets, travel, run, take-out and pipe cut length

Updated on 20 November 2026

An offset moves a pipe run onto a parallel line with two equal elbows: past an obstacle, onto a nozzle out of line, down from a rack. In the field you measure the offset, center to center of the two runs; in the shop you cut the pipe between the elbows. In between are the fitting angle, how much each elbow takes out, and the root gap of the two welds.

When the offset is made of plate, in mitered gores instead of fittings, the part is the segmented S-offset. A branch at any angle, with its fishmouth, is the pipe branch.

Pipe offset calculator

Choose a simple offset, in one plane, or a rolling offset, when the line changes height and side at once. Pick the fitting angle, the pipe size, the schedule and the elbow, then enter the offset and the root gap: you get the travel, the run, the take-out of each elbow and the pipe cut. Fractions work in any field (3/16, 24-1/2"). With a stock length the calculator splits the cut into equal pieces; with the schedule it gives the weight of the assembly.

Only paying users can use this calculator

The formula and the worked example are in the text on this page. The calculator, with your own measurements, is part of full access.

Buy full access Already have access? Sign in

The formulas

Travel
T = O / sin θ O is the offset, center to center of the two runs, and θ the fitting angle. The travel is the distance between the centers of the two elbows, along the sloping pipe.
Run
R = O / tan θ How far the line moves forward while it offsets. At 90° the run is zero.
Elbow take-out
t = Rₑ × tan(θ/2) The center-to-end: how much of the travel the elbow uses. At 90° it is the elbow radius, the A of ASME B16.9; for a 45° long-radius elbow, the B of the standard. Other angles are cut from a 90° elbow and use the formula.
Pipe cut
C = T − 2t − 2g g is the root gap of each of the two welds between the pipe and the elbows. Forgetting it leaves the pipe long.
Rolling offset
O = √(set² + roll²) ; roll angle = atan(roll / set) The set is the vertical offset and the roll the horizontal one. The true offset goes into the formulas above, and the roll angle is how far each elbow turns off plumb to point at the other run.

Offset multipliers

Fitters keep the constants in their head: offset × the travel constant is the travel, offset × the run constant is the run. They are 1/sin θ and 1/tan θ:

Fitting angleTravel = offset ×Run = offset ×
11.25°5.1265.027
22.5°2.6132.414
30°2.0001.732
45°1.4141.000
60°1.1550.577

Butt-weld elbow take-outs (ASME B16.9)

Center-to-end of ASME B16.9 butt-weld elbows, in millimeters (the standard's metric table). Long radius is 1.5 times the nominal size from NPS 1 up; NPS 1/2 and 3/4 are both 38 mm. The standard has no short radius below NPS 1 and no short-radius 45° elbow. The tee, reducing tees, reducer, cap and 180° return of each size, in inches and mm, are in the B16.9 fittings chart.

NPSLong radius 90° (A)Long radius 45° (B)Short radius 90° (A)
1/23816–
3/43819–
1382225
1-1/4482532
1-1/2572938
2763551
2-1/2954464
31145176
415264102
622995152
8305127203
10381159254
12457190305
16610254406
20762318508
24914381610

The calculator has every size from NPS 1/2 to 36. Center-to-end does not change with the schedule.

Worked example

4" schedule STD pipe, 45° long-radius elbows, a 24" offset and a 1/8" root gap:

  1. Travel: 24 × 1.414 = 33-15/16".
  2. Run: 24 × 1.000 = 24".
  3. Take-out of each elbow: 2-1/2" (64 mm, the B of B16.9 for NPS 4).
  4. Pipe cut: 33.94 − 2 × 2.52 − 2 × 0.125 = 28-5/8".

As a rolling offset in millimeters, with a 400 mm set and a 300 mm roll on the same pipe: the true offset is √(400² + 300²) = 500 mm, the travel 707.1 mm, the cut 707.1 − 128 − 6 = 573.1 mm with a 3 mm gap, and each elbow rolls 36.9° off plumb.

Common mistakes

  • Measuring the offset face to face of the pipes. It is center to center; face to face, on 4" pipe, the offset reads 4-1/2" short.
  • Forgetting the root gap. With 1/8" per weld the pipe comes out 1/4" long and the offset does not close.
  • Using 1.5 × NPS for a 3/4" long-radius elbow. ASME B16.9 gives 38 mm (1-1/2"), not 1-1/8".
  • Rolling the elbows by the fitting angle. The roll is atan(roll/set) from plumb and has nothing to do with the 45° of the elbow.

Frequently asked questions

How do you calculate a 45 degree pipe offset?
Multiply the offset, center to center, by 1.414: that is the travel. Subtract the take-out of both elbows (the B of ASME B16.9 for long radius, 2-1/2" on 4" pipe) and the gap of both welds: what is left is the pipe cut.
What is a rolling offset?
An offset where the line changes height (set) and side (roll) at once. The true offset is √(set² + roll²); with it the math is the same as a simple offset, and the elbows roll atan(roll/set) off plumb.
What is the take-out of a 45 degree elbow?
Its center-to-end, the B of ASME B16.9: 35 mm (1-3/8") on 2", 64 mm (2-1/2") on 4", 95 mm (3-3/4") on 6" and 127 mm (5") on 8", long radius. For any other angle it is the elbow radius × tan(θ/2).

Parts in this guide

Other guides