Rolling Offset Calculator

Find true offset, center-to-center pipe travel, longitudinal run, fitting orientation, and optional straight-pipe cut length.

Example values loadedIllustrative dimensions only; replace them with your measured pipe-centerline offsets.

For informational layout only; verify actual fittings and installation requirements. Terms and Conditions

\[O=\sqrt{H^2+V^2},\quad L=\frac{O}{\sin\theta}\]

H and V are signed displacements perpendicular to the original pipe axis; θ is the deflection of each equal-angle elbow.

1

Enter pipe centerline dimensions

The example calculates automatically. Use signed offsets to indicate direction.

Positive right; negative left, viewed along the inlet pipe.

Positive rise; negative drop.

Equal elbows; greater than 0° and less than 90°.

Advanced options · fitting takeouts and layout

Sets the fitting deflection angle above.

Converts all displayed length results.

Additional display only; never changes calculation precision.

Available run means fitting-center separation along the inlet axis, not endpoint clearance.

Distance from theoretical elbow center to straight-pipe end along diagonal axis. Leave blank if unknown.

Distance from second elbow center to its straight-pipe end along diagonal axis. Leave blank if unknown.

Cut length appears only when BOTH actual effective takeouts are entered. Connection-specific engagement and weld requirements are not automatically included.

2

Rolling offset results

Centerline travel is not the physical pipe cut length.

Center-to-center travel
—
in
Results update automatically.

Layout dimensions

  • True offset—
Show calculation stepsGeometry, units, orientation, fabrication checks
  1. Enter valid values to view the calculation.
3

Rolling offset geometry

Schematic isometric pipe centerline; live coordinates drive the geometry. Dimensions are listed below.

Three-dimensional rolling offset centerline schematicThe centerline connects two parallel pipe runs using an intermediate diagonal segment. The input and output centerline positions update with the horizontal offset, rise, and run.

Measured from the original pipe direction: horizontal roll, vertical rise, and longitudinal run.

4

Method, sources and assumptions

Exact idealized centerline geometry; fabrication requires verified fitting dimensions.

3D right-triangle geometry

O = √(H² + V²); L = O / sin θ; R = O / tan θ. Assumes equal fitting deflections, a shared offset plane and parallel inlet and outlet axes. No fitting dimensions are assumed.

  • H/V are signed pipe-centerline displacements perpendicular to the original pipe axis. θ is a fitting deflection, not the roll orientation.
  • Takeout refers to an effective length along the intermediate straight-pipe axis; check actual fitting and connection drawings before cutting.
  • Clearance, structural loading, flow, fitting availability, weld gaps and installation-code compliance are outside this model.

Pipefitting calculator guide

What Is a Rolling Offset?

A rolling offset connects two parallel pipe runs that are displaced sideways and vertically. Enter the horizontal offset, vertical offset, and fitting deflection angle in the calculator above to find the true offset, center-to-center travel, longitudinal run, and roll orientation. The calculation combines the two perpendicular displacements into one true offset, then uses the elbow angle to determine the diagonal route between fitting centers. Travel is not automatically the length of straight pipe to cut.

A simple offset changes the pipe position in one transverse direction; a rolling offset changes it in two. A pair of equal-angle elbows can bring the outlet pipe back parallel to the inlet, with an inclined connecting section between their theoretical centers.

Known measurements
Horizontal shift, vertical shift, elbow angle
Main result
Diagonal fitting-center travel
Fabrication check
Actual fitting dimensions and connection details
Three-dimensional rolling offset centerline layoutA three-dimensional schematic: starting at the first fitting center A, the longitudinal construction segment reaches C, the perpendicular horizontal segment reaches D, and the vertical segment reaches second fitting center B. The inclined pipe travels directly from A to B. The inlet and outlet pipe axes are parallel. Dimension values and directions appear in the readable legend below.
The solid blue diagonal connects the theoretical fitting centers. Dashed segments illustrate the three independent displacements: longitudinal run, horizontal roll, then vertical rise. This is a schematic projection, not a scaled fabrication drawing.
Longitudinal run (A to C)
20.000 in along the inlet pipe axis.
Horizontal roll (C to D)
12.000 in perpendicular to the run.
Vertical rise (D to B)
16.000 in, perpendicular to both other directions.
Centerline travel (A to B)
28.284 in along the inclined intermediate pipe.

Measure and Enter Your Offset

Measure between the intended pipe centerlines, not from arbitrary outside surfaces or from the end of one pipe to an elbow center. Keep a single viewing direction and sign convention throughout the layout.

  1. Establish the axes

    Look along the inlet pipe in its direction of flow or your chosen reference direction. Mark right as positive horizontal, left as negative, rise as positive vertical, and drop as negative. Record these axes on the layout drawing so the roll-angle direction cannot be reversed during installation.

  2. Measure the two centerline displacements

    Enter Horizontal offset (H) and Vertical offset (V) in the corresponding fields. If measuring between outside pipe surfaces, first calculate the centerline difference using the actual outside diameters and the direction of the measurement.

  3. Choose the elbow deflection

    The normal mode takes Fitting deflection angle (θ). Choose a listed preset or enter a custom angle; the two fittings are assumed to have equal deflection and return the outlet to a parallel direction. The results recalculate as you edit.

  4. Use the correct distance reference

    The optional available-run mode uses the longitudinal distance between theoretical fitting centers, not necessarily the space between two existing pipe ends. The advanced fitting takeout fields are for effective dimensions along the inclined connecting pipe axis; enter both only when those dimensions are known.

Length inputs may use different supported units: 12 in horizontal and 406.4 mm vertical describe the same geometry as 12 in horizontal and 16 in vertical. Converting the values to millimeters gives a 508.0 mm true offset and approximately 718.42 mm of 45° travel. Fractional-inch settings round the displayed measurement only; they do not change the underlying geometric calculation or establish a fabrication tolerance.

Rolling Offset Formulas and Fitting Angles

First combine the two perpendicular displacements to get the true offset. Then resolve the triangular centerline geometry at the deflection angle. A separate angle describes how the offset plane is rotated around the inlet pipe axis.

True offset and diagonal travel

\[ O=\sqrt{H^{2}+V^{2}},\qquad L=\frac{O}{\sin\theta} \]

Square each centerline displacement, add them, and take the square root. Divide this true offset by the sine of the elbow deflection angle to obtain the theoretical fitting-center travel.

Longitudinal run and roll orientation

\[R=\frac{O}{\tan\theta},\qquad \phi=\operatorname{atan2}(V,H)\]

The run is measured along the inlet pipe axis. The orientation angle is measured from positive horizontal toward positive vertical in the transverse plane; negative inputs can place it in another quadrant. It is not the elbow’s deflection angle.

Independent three-dimensional travel check

\[L=\sqrt{R^{2}+H^{2}+V^{2}}\]

Square the longitudinal run and both perpendicular displacements, add the three squares, and take the square root. This is the same center-to-center travel obtained from the fitting angle.

\(H\)
Horizontal displacementSigned right–left separation between the intended pipe centerlines.Length
\(V\)
Vertical displacementSigned rise or drop between the intended pipe centerlines.Length
\(O\)
True offsetCombined perpendicular centerline displacement, before accounting for longitudinal travel.LengthDerived
\(L\)
Center-to-center travelDiagonal distance along the inclined connecting axis between theoretical elbow centers.LengthPrimary output
\(R\)
Longitudinal runDistance between theoretical elbow centers projected along the inlet pipe axis.Length
\(\theta\)
Fitting deflectionThe same direction-change angle for each of the two elbows.Degrees
\(\phi\)
Roll orientationDirection of the transverse offset, measured counterclockwise from positive horizontal.DegreesDerived

The relationships assume parallel inlet and outlet centerlines, a straight intermediate section, and two equal-angle fittings lying in the same offset plane. The standard angle mode requires an angle greater than 0° and less than 90°; it is not a general solver for unequal elbows or arbitrary end directions.

45° Rolling Offset: Worked Example

Suppose a pipe must move 12 in to the right and rise 16 in, using two 45° elbows. These are the illustrative measurements preloaded in the calculator above; replace them with field measurements for an actual job.

Given values

Horizontal offset
+12 in
Vertical offset
+16 in
Equal fitting angles
45°
Find
True offset, travel, run, orientation

Combine the perpendicular offsets

\[O=\sqrt{12^{2}+16^{2}}=20.000\ \mathrm{in}\]

The true offset is 20 in. This is the diagonal separation perpendicular to the original pipe direction, not the straight-pipe cut length.

Resolve travel, run, and orientation

\[\begin{aligned}L&=20/\sin45^\circ=28.284\ \mathrm{in}\\R&=20/\tan45^\circ=20.000\ \mathrm{in}\\\phi&=\operatorname{atan2}(16,12)=53.130^\circ\end{aligned}\]

The elbow deflects 45° relative to the inlet pipe axis, while the offset plane points 53.13° above positive horizontal.

Result

Center-to-center travel: 28.284 in

Use 20.000 in of longitudinal fitting-center run and locate the outlet centerline 12 in sideways and 16 in higher. Actual cut length requires the selected fittings’ effective takeouts.

Interpret Travel, Run, and Roll Angle

The main result is the ideal diagonal distance between the two theoretical elbow centers. Use the secondary results to locate those centers and orient the offset plane before deriving any physical pipe-end dimensions.

Rolling offset orientation in the plane perpendicular to the inlet pipeAn end-view right triangle. Horizontal displacement points right, vertical displacement points up, and the resultant true offset points diagonally up and right. The angle between positive horizontal and the resultant is 53.13 degrees for the worked example. This is not the elbow’s 45 degree deflection.
End view of the offset plane: its direction is determined by horizontal roll and vertical rise. The roll orientation angle is measured from positive horizontal toward the resultant. The elbow deflection is measured from the inlet pipe axis in three dimensions.
Horizontal displacement
+12 in (right)
Vertical displacement
+16 in (up)
Orientation from horizontal
53.130°
Orientation from vertical
36.870°

Travel is a centerline dimension

With nonzero true offset and a fitting deflection less than 90°, travel must be greater than the true offset. If you cut pipe to the travel dimension before subtracting applicable takeouts, the assembly will be too long for that intended centerline geometry.

Angle changes required space

Holding the true offset fixed, reducing the fitting deflection increases both travel and run. For a 20-in true offset, 30° elbows require 40 in of travel and approximately 34.641 in of run; 45° elbows need 28.284 in and 20 in, respectively.

Check the direction

A negative horizontal or vertical displacement changes the orientation quadrant but does not change the magnitude of the true offset. A zero horizontal or vertical component reduces the problem to an ordinary single-plane offset; two zero components require no offset.

Find the Actual Straight-Pipe Cut Length

The connecting straight piece is shorter than the theoretical fitting-center travel when each fitting extends inward from its center toward the pipe-end reference plane. The calculator’s advanced options accept two separate effective fitting takeouts, measured along the inclined connecting axis.

Cut-length relationship for the defined reference planes

\[L_{\mathrm{cut}}=L-T_1-T_2\]

Subtract each verified effective takeout from the fitting-center travel. The takeouts must describe the actual distance along the intermediate pipe axis from each theoretical fitting center to its relevant pipe-end reference plane; they are not generic allowances for every fitting type.

For illustration, if the 28.284-in travel above has effective takeouts of 1.500 in and 1.750 in, the straight-pipe length is 28.284 − 1.500 − 1.750 = 25.034 in, before any separately defined connection-specific adjustment. These takeout values are example inputs, not published dimensions for an unspecified fitting.

Fitting center-to-center travel and effective takeout reference planesA centerline from first fitting center to second fitting center. Four reference planes mark the first fitting center, the first pipe end, the second pipe end, and the second fitting center. The section between pipe-end planes is the straight-pipe cut length. Text below defines both takeouts and the complete travel.
The four vertical marks identify the two theoretical fitting centers and the two pipe-end reference planes. Effective takeout 1 plus straight-pipe cut length plus effective takeout 2 equals center-to-center travel. The diagram is schematic, and actual takeout definitions must match the selected connections.
Center-to-center travel
28.284 in — outer reference marks
Effective takeout 1
1.500 in — first fitting center to first pipe-end plane
Straight-pipe cut length
25.034 in — between pipe-end planes
Effective takeout 2
1.750 in — second pipe-end plane to second fitting center

Butt-weld elbows

Check the applicable elbow center-to-end dimensions for the actual nominal size, angle, and fitting family. The ASME B16.9 dimensional scope applies to factory-made wrought butt-welding fittings; it does not establish field weld-gap practice or a complete piping installation procedure.

Socket, threaded, and grooved connections

Use the selected product’s connection drawings and instructions. Socket engagement, thread make-up, and grooved-coupling insertion/reference planes can differ from a butt-weld center-to-end deduction. Do not reuse a generic fitting takeout across these connection types.

Fit a Rolling Offset into Available Space

When the theoretical elbow-center run is fixed, the alternative calculation solves the fitting deflection needed to produce the measured true offset over that run. This helps check whether a proposed pair of matching fittings can reach the intended parallel centerline.

Reverse calculation from a known run

\[\theta=\tan^{-1}\!\left(\frac{O}{R}\right),\quad L=\sqrt{O^{2}+R^{2}}\]

Divide true offset by the available fitting-center run and take the arctangent to obtain the required fitting deflection. Travel is the hypotenuse of the true-offset/run triangle.

For a 20-in true offset with a 30-in fitting-center run, the required deflection is approximately 33.690° and travel is approximately 36.056 in. The computed angle is a geometric requirement, not a claim that a matching standard fitting exists.

Required center-to-center run for a 20-in true offset
Fitting deflectionRequired run
30°34.641 in
33.690° (calculated)Approximately 30.000 in
45°20.000 in

Known fitting angle

Use the normal angle-input mode to find how much longitudinal run the selected pair of fittings needs. A different available run requires relocating fitting centers or changing the layout, not simply adjusting the pipe cut length.

Known center-to-center run

Use the available-run mode to calculate the required angle. Then check an actual fitting catalog and the complete spool geometry. The distance between existing pipe endpoints may differ from the distance between theoretical elbow centers.

Rolling Offset Multiplier Chart

For a known fitting angle, multiply the true offset by the appropriate factor to find fitting-center travel or longitudinal run. These numbers are trigonometric multipliers, not fitting dimensions or manufacturer takeout values.

Ideal equal-angle rolling offset multipliers, rounded to four decimals
Elbow deflectionTravel factor (1/sin θ)Run factor (1/tan θ)
11.25°5.12585.0273
22.5°2.61312.4142
30°2.00001.7321
45°1.41421.0000
60°1.15470.5774

At 45°, travel is the true offset multiplied by approximately 1.4142 and longitudinal run equals the true offset. The table provides a manual cross-check; use unrounded trigonometric values for the actual calculation.

Field Layout Checks and Common Mistakes

The most costly offset mistakes come from inconsistent measurement reference points rather than difficult arithmetic. Check the dimensions on the drawing against the same reference points on the actual pipe assembly.

Using horizontal roll as the true offset

If there is also a vertical rise or drop, the true offset is larger than the magnitude of either individual component. Combine both perpendicular measurements before applying a travel multiplier.

Confusing fitting deflection with roll orientation

For the worked example the elbows have a 45° deflection, but the offset plane points 53.13° above horizontal. Mark the chosen horizontal/vertical axes and specify which direction an orientation angle is measured from.

Rounding before laying out the spool

Retain unrounded intermediate values in the calculation and round only the final measurement for the precision supported by the tape, drawing, and fabrication method. Small premature rounding errors can accumulate across more than one spool.

Measuring endpoints instead of fitting centers

Confirm the center-to-center run, the location of each actual pipe end, and each selected fitting’s dimensions separately. A clear gap between pipe ends is not automatically the required theoretical run.

Assumptions and Installation Limits

The calculations describe ideal centerline geometry for two matching-angle fittings connecting parallel inlet and outlet pipe axes. They are useful for layout and cross-checks; they do not by themselves verify the physical assembly or approve a piping system for service.

Geometry and angle scope

Each elbow is modeled as the same deflection in the same offset plane. Unequal angles, nonparallel endpoints, compound multi-fitting spools, and a 90° zero-run configuration require a different physical geometry model.

Dimensions and assembly

The ideal centerline diagram does not account for the pipe outside diameter, elbow envelope, interference with nearby equipment, joint engagement, fit-up tolerances, or the complete location of fixed existing endpoints.

System requirements

Pressure rating, material compatibility, thermal expansion, support loads, drainage slope, flow performance, and applicable piping-code requirements are outside this centerline solver. These may control which piping route and fittings are permissible.

Zero and near-limit cases

When both transverse displacements are zero, no rolling offset is needed. As the fitting angle approaches zero, the theoretical run and travel become very large; as it approaches 90°, run approaches zero even though real fittings occupy finite space.

Method and Fitting References

The offset, travel, run, orientation, and reverse-angle results are derived from Euclidean distance and right-triangle trigonometry. The worked example is independently checked by projecting the calculated diagonal back into its longitudinal, horizontal, and vertical components. Fitting dimensions must come from a source appropriate to the actual product.

Use the current project specifications and the actual selected manufacturer’s installation instructions for product- and connection-specific dimensions. The illustrative takeouts in this guide are calculation examples, not tabulated standard fitting dimensions.

Scroll to Top