Introduction
Rolling offsets are what separate a layout that looks clean from one that looks improvised. The pipe has to clear an obstruction, and it has to do it in two directions at once. A vertical jump of 6 inches with a 4-inch lateral shift isn’t the same as a 6-inch straight offset. The true offset is the diagonal, the hypotenuse of a right triangle whose legs are the two offsets. Get that wrong and the travel length comes out short. The pipe won’t reach.
The fitting angle sets how much extra length the travel picks up. A 45° elbow makes the travel 1.414 times the true offset. A 22.5° fitting pushes that multiplier to 2.613. Steeper angles make the travel longer for the same offset. That’s why 45s are the default in most shops, they balance length against how much space the offset eats.
Then comes take-out. Every elbow has a center-to-end distance that the pipe doesn’t actually occupy. A 2-inch 45° fitting might have a 1-3/8 inch take-out. Two of those eat 2-3/4 inches from the travel. Subtract that and you have your cut length. That’s the number you mark on the pipe before you cut it.
The calculator handles that whole sequence. It also figures the pipe cost from your price per foot (or meter, or inch) and adds the fitting cost, assuming two fittings per offset. Waste factor is separate so you can keep the cut list clean and pad the order separately.
How to Use the Rolling Offset Calculator
Set the currency from the dropdown if your supplier doesn’t quote in US dollars.
Enter the vertical offset. Pick inches, feet, centimeters, meters, or millimeters.
Enter the horizontal offset. Same unit options. A pure vertical offset with no lateral shift is a horizontal offset of zero.
Enter the fitting angle. Forty-five degrees is the default. Twenty-two and a half, sixty, and eleven and a quarter all work if the field accepts them.
Enter the take-out value for one fitting. This is the center-to-end distance from your fitting chart, not the fitting’s overall length.
Set the pipe size from the dropdown. It doesn’t change the math but it’s recorded in the breakdown.
Enter the price per unit length. Switch between per foot, per meter, or per inch.
Set the waste factor. Five percent is a reasonable default for shop work.
Enter the fitting cost. Choose per-fitting or a flat total.
Hit Calculate. The Summary tab shows travel, cut length, and total cost. The Detailed Breakdown tab lists every intermediate value including the sine of the angle and the take-out deduction.
How the Rolling Offset Calculator Formula Works
The math runs in three stages: find the true offset, find the travel, then deduct take-out.
Formula: True Offset = √(Vertical Offset² + Horizontal Offset²)
Formula: Travel (center-to-center) = True Offset ÷ sin(Fitting Angle)
Formula: Cut Length = Travel − (2 × Take-Out)
Formula: Total Pipe Length = Cut Length × (1 + Waste % ÷ 100)
Formula: Pipe Cost = Total Pipe Length × Price per inch
Formula: Total Cost = Pipe Cost + Fitting Cost
The first formula is the Pythagorean theorem. Vertical and horizontal offsets form the legs of a right triangle. The true offset is the hypotenuse. A 12-inch vertical with a 5-inch horizontal gives √(144 + 25) = √169 = 13 inches.
The second formula divides by the sine of the fitting angle. At 45°, sin(45°) = 0.7071, so travel = true offset ÷ 0.7071 = true offset × 1.4142. At 22.5°, sin(22.5°) = 0.3827, so travel = true offset × 2.613. At 60°, sin(60°) = 0.8660, so travel = true offset × 1.1547.
Take-out comes from the fitting manufacturer’s chart. A 2-inch 45° elbow typically has a 1-3/8 inch take-out. A 2-inch 90° elbow is closer to 3-1/8 inches. The calculator subtracts two take-outs because every rolling offset uses two fittings, one at each end. If you’re using 90s, the take-out is larger and the cut length shrinks accordingly. If take-out exceeds the travel length, the tool floors the result at zero rather than returning a negative number.
Pipe size is captured in the breakdown but doesn’t feed any formula. Wall thickness, material, and schedule affect the take-out value you look up, not the geometry of the offset itself. Enter the take-out for your specific fitting and the math stays correct regardless of size.
Worked Example
You’re running 2-inch schedule 40 pipe through a mechanical room. The offset is 14 inches up and 7 inches over. You’ll use 45° elbows with a 1-3/8 inch take-out per fitting. Pipe is $14.25 per foot. Waste is 5%, and fittings run $8.50 each.
Step 1: True offset.
√(14² + 7²) = √(196 + 49) = √245 = 15.652 inches.
Step 2: Travel length at 45°.
15.652 ÷ sin(45°) = 15.652 ÷ 0.7071 = 22.136 inches.
Step 3: Convert to feet.
22.136 ÷ 12 = 1.845 ft.
Step 4: Deduct take-out for two fittings.
2 × 1.375 = 2.750 inches.
Cut length = 22.136 − 2.750 = 19.386 inches.
Step 5: Add 5% waste.
19.386 × 1.05 = 20.355 inches.
In feet: 20.355 ÷ 12 = 1.696 ft.
In meters: 20.355 × 0.0254 = 0.517 m.
Step 6: Pipe cost.
$14.25 per foot × 1.696 ft = $24.17.
Step 7: Fitting cost.
$8.50 × 2 = $17.00.
Step 8: Total cost.
$24.17 + $17.00 = $41.17.
The Summary tab reads: True Offset 15.652 in, Travel 22.136 in (1.845 ft), Cut Length 19.386 in, Total Pipe Length 20.355 in, Total Cost $41.17. The breakdown tab lists the sine value, the take-out deduction, and every unit conversion.
Change the fitting angle to 22.5° and travel jumps to 40.900 inches. Same offset, longer pipe, less room to fit it in. Change it to 60° and travel drops to 18.077 inches, but the offset eats more vertical space because the fitting is closer to perpendicular.