Rolling Offset Calculator
Find true offset, center-to-center pipe travel, longitudinal run, fitting orientation, and optional straight-pipe cut length.
For informational layout only; verify actual fittings and installation requirements. Terms and Conditions
H and V are signed displacements perpendicular to the original pipe axis; θ is the deflection of each equal-angle elbow.
Enter pipe centerline dimensions
The example calculates automatically. Use signed offsets to indicate direction.
Rolling offset results
Centerline travel is not the physical pipe cut length.
Layout dimensions
- True offset—
Show calculation stepsGeometry, units, orientation, fabrication checks
- Enter valid values to view the calculation.
Rolling offset geometry
Schematic isometric pipe centerline; live coordinates drive the geometry. Dimensions are listed below.
Measured from the original pipe direction: horizontal roll, vertical rise, and longitudinal run.
Method, sources and assumptions
Exact idealized centerline geometry; fabrication requires verified fitting dimensions.
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
- 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.
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.
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.
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.
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
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
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
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.
- \(V\)
- Vertical displacementSigned rise or drop between the intended pipe centerlines.
- \(O\)
- True offsetCombined perpendicular centerline displacement, before accounting for longitudinal travel.
- \(L\)
- Center-to-center travelDiagonal distance along the inclined connecting axis between theoretical elbow centers.
- \(R\)
- Longitudinal runDistance between theoretical elbow centers projected along the inlet pipe axis.
- \(\theta\)
- Fitting deflectionThe same direction-change angle for each of the two elbows.
- \(\phi\)
- Roll orientationDirection of the transverse offset, measured counterclockwise from positive horizontal.
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.
Combine the perpendicular offsets
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
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.
- 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
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.
- 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
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.
| Fitting deflection | Required 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.
| Elbow deflection | Travel factor (1/sin θ) | Run factor (1/tan θ) |
|---|---|---|
| 11.25° | 5.1258 | 5.0273 |
| 22.5° | 2.6131 | 2.4142 |
| 30° | 2.0000 | 1.7321 |
| 45° | 1.4142 | 1.0000 |
| 60° | 1.1547 | 0.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.
- ASME B16.9-2024 — Factory-Made Wrought Buttwelding Fittings — Published dimensional and manufacturing scope for factory-made wrought butt-welding fittings; it does not provide universal takeouts for other connection types or establish installation welding requirements.
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.