Omni Calculator logo

This rolling offset calculator, or pipe offset calculator, will help you find the travel distance needed to complete a necessary pipe offset for any typical pipe fitting bends or any bend angle you prefer.

In this calculator, you will learn:

  • What rolling offset is;
  • The different pipe rolling offset formulas; and
  • How to calculate rolling offsets.

You will also read about the different terms we usually use when dealing with pipe offsets, like true offset, travel, and run. Additionally, we will show you a pipe offset chart containing pipe offset multipliers that you can use to find the length of travel quickly and easily.

What is a pipe offset? What is a rolling offset?

In doing some pipe works, we sometimes encounter situations wherein we have to connect two lines of pipes that are not quite aligned with each other. These two pipelines could be offset horizontally or vertically. When we see a combination of both horizontal and vertical offset, or in other perspectives, a combination of offsets in two different directions, we call it a pipe rolling offset.

To deal with pipe offsets, we can use a bent pipe fitting to change the direction of the pipeline and another bent fitting to return to the final direction of the pipeline. In this calculator, we tackle how to find the travel length, which is the length of the diagonal that connects the two points at which the pipeline changes directions, as shown in the image below:

Simple pipeline diagram showing the two different bending points of a pipeline and the rolling offset's travel length.

The length of travel depends on the horizontal and vertical offsets and bent pipe fitting used. We can work out the length of travel using trigonometry, some concepts behind right triangles, and the Pythagorean theorem. Before we proceed on how to calculate rolling offsets, let us first learn how to use our pipe offset calculator.

How do I use the rolling offset calculator?

Using our pipe rolling offset calculator is effortless as you don't need to know any rolling offset formula for this. Our tool can also help you visualize what your rolling offset looks like with diagrams that change according to your selection and inputs. Here are the steps you can follow to use our calculator:

  1. Enter both the horizontal and vertical offsets needed for your pipeline. Our pipe offset calculator will instantly show you the true offset of your pipeline.
  2. Then, choose your preferred fitting bend, depending on which is available to you. Select Custom if you are bending your own pipe or if you got custom-angle bent pipe fittings.
  3. If you picked Custom from the Fitting bend selection, our tool will display the variable Bend angle of fittings to input your desired bend angle.
  4. Upon selecting or entering your fitting bend, you will then see the length of travel and the length of run your pipeline needs to follow to complete your pipe rolling offset.

In the next section of this text, we'll learn how to calculate rolling offsets ourselves to understand better how our calculator works.

How do I calculate the pipe rolling offset?

Figuring out a rolling offset in piping is a matter of finding two hypotenuses of two right triangles inside the imaginary box a rolling offset forms. We have our separate hypotenuse calculator and a right triangle calculator if you want to dive deeper into those topics.

In the illustration below, we can see that we can consider the horizontal and vertical offset measurements as the legs of a right triangle, and its hypotenuse is the true offset of the pipeline:

Image showing the first right triangle, horizontal, vertical, and true offset.

Using the Pythagorean theorem, we can determine the value of the true offset cc, which is simply the diagonal of a rectangle, using the following equation:

c=h2+v2,c = \sqrt{h^2 + v^2},


  • ccTrue offset of the pipeline;
  • hhHorizontal offset of the pipeline; and
  • vvVertical offset of the pipeline.

Now let's take a look inside the imaginary box to see another right triangle formed by the true offset, the run, and the travel length, with the help of this illustration:

Image showing the second right triangle and the travel as the hypotenuse.

In this triangle, we cannot use the Pythagorean theorem since we initially do not know the value of the run RR, which is needed to obtain the length of travel TT. However, since we know the bend angle of the pipe fitting we want to use, we can utilize the trigonometric function of sine to get the value of TT, as with the equation below:

T=csin(θ),T = \frac{c}{sin(\theta)},


  • TTLength of travel of pipe that connects the two opposite corners of our imaginary box;
  • ccTrue offset of the pipeline; and
  • θ\thetaBend angle of the pipe fitting you will use.

You can then use the Pythagorean theorem to find the length of the run using this equation:

R=T2c2,R = \sqrt{T^2 - c^2},

or the trigonometric function of a tangent, as shown here:

R=ctan(θ).R = \frac{c}{\tan(\theta)}.

Apart from these equations, it is also worth noting that in case you already know the value of run, together with the values of horizontal and vertical offsets, you can directly obtain the value of TT using this equation:

T=R2+h2+v2.T = \sqrt{R^2 + h^2 + v^2}.

Now that we know all the equations we might need in calculating rolling offset measurements, how about we consider an example 🙂?

How to do a 45-degree rolling offset? Sample calculation

Let's say we want to connect two pipelines that are offset horizontally and vertically by a meter (100 cm) and half a meter (50 cm), respectively. In this situation, we plan to use 45-degree pipe elbows to complete the rolling offset. So how do we do this 45-degree rolling offset? We can start by obtaining the true offset of the pipeline using our equation:

c=h2+v2=1002+502=10, ⁣000+2, ⁣500=12, ⁣500=111.80 cm\begin{align*} c &= \sqrt{h^2 + v^2}\\[0.5em] &= \sqrt{100^2 + 50^2}\\[0.5em] &= \sqrt{10,\!000 + 2,\!500}\\[0.5em] &= \sqrt{12,\!500}\\[0.5em] &= 111.80\ \text{cm} \end{align*}

Then, using our equation for solving the length of travel, we have:

T=csin(θ)=111.80 cmsin(45°)=158.11 cm\begin{align*} T &= \frac{c}{sin(\theta)}\\[1.2em] &= \frac{111.80\ \text{cm}}{sin(45\degree)}\\[1.2em] &= 158.11\ \text{cm} \end{align*}

We can then get how long the run would be by using either of the two equations discussed earlier. In this example, let's try using the one with the tangent function as follows:

R=ctan(θ)=111.80 cmtan(45°)=111.80 cm\begin{align*} R &= \frac{c}{\tan(\theta)}\\[1.2em] &= \frac{111.80\ \text{cm}}{\tan(45\degree)}\\[1.2em] &= 111.80\ \text{cm} \end{align*}

We now know the necessary distances to complete our pipeline's rolling offset with the calculations we made. Furthermore, notice that the run is always equal to the true offset whenever we use 45-degree elbows. For other pipe fitting angles, their values will already be different.

💡 Take note, though, that you need to adjust the travel length according to your fitting allowances to determine the necessary pipe length to cut for the perfect assembly of your pipeline.

How do I figure rolling offset in piping fast? The use of pipe offset multipliers

Another way to determine the travel length is by using some pipe offset multiplier constants. These constants will come in handy, especially when you want to calculate travel lengths yourself but you only have a calculator that doesn't have trigonometric functions. We have these constants in the pipe offset chart below for your reference:

Fitting bend


22 ½°








To use a pipe offset multiplier, though, you first have to evaluate the true offset. Then to find the travel length, you have to multiply the constant by the true offset, as shown in the equation below:

T=m×h2+v2,T = m\times \sqrt{h^2 + v^2},

where mm is the pipe offset multiplier.

✅ If calculating angles in the world of construction interests you as much as the rolling offset calculations, then you might also enjoy our angle cut calculator and our miter angle calculator. 😊


What is a rolling offset?

When we need to offset a pipeline in horizontal and vertical directions, we have a rolling offset. Imagine a pipeline that enters a corner of an imaginary box and exits the farthest opposite diagonal corner of the said imaginary box. You can complete a rolling offset by finding what is called the travel length of the pipe.

How do I calculate rolling offset in piping?

To calculate rolling offset in piping:

  1. Measure the rolling offset's horizontal and vertical offsets.
  2. Determine the true offset, which is the hypotenuse of the right triangle formed by these offsets.
  3. Divide the true offset by the sine of the fitting's bend angle to find the travel length.
  4. Additionally, you can divide the true offset by the tangent of your fitting's bend angle to estimate the rolling offset's run.

How do I figure a rolling 45 offset?

To figure a rolling offset using 45-degree bent fittings:

  1. Determine the horizontal and vertical offsets of your pipeline.
  2. Take the square root of the sum of the horizontal and vertical offsets' squares. This will be the true offset of your rolling offset.
  3. Finally, multiply the true offset by 1.4142 or divide the true offset by sin(45°).

How do I glue PVC pipe fittings?

The best way to glue PVC pipe fittings onto pipes is by using PVC solvent cement. PVC solvent cements temporarily melt the surfaces of the PVC materials you apply them on. While these surfaces of the PVC melt, you can put them into contact with each other to form a chemical bond as it dries. Make sure to twist the pipe and the fitting a bit to ensure a properly sealed connection when using PVC solvent cement.

How do I find the travel of a pipe?

To find the travel of a pipe:

  1. Measure the horizontal offset, vertical offset, and run of the rolling offset.
  2. Square each of these measurements, then add them all together.
  3. Take the square root of the sum to get the travel.
  4. If you don't know the value of run or have a preferred bent fitting angle, repeat steps 2 and 3 with run equal to zero and divide everything by the sine of your fitting's bend angle.

What is the travel of a 1x1-foot 45-degree rolling offset?

To find the travel length of a rolling offset with 1-foot horizontal offset and 1-foot vertical offset using a 45-degree bent fitting:

  1. Square the horizontal and vertical offsets and add them together like so: 1² + 1² = 2.
  2. Evaluate its square root to find the true offset: √2 = 1.41421 ft.
  3. Finally, divide 1.41421 ft by the sine of 45° to get 1.41421 ft/sin (45°) = 2 ft.
Kenneth Alambra
Related calculators
The illustration of a pipe section with a rolling offset while showing its corresponding dimensions.
Roll or horizontal offset (h)
Set or vertical offset (v)
True offset (c)
Fitting bend
Travel (T)
Run (R)
Check out 35 similar construction materials calculators 🧱
Aluminum weightBalusterBoard and batten… 32 more
People also viewed…

Christmas tree

Welcome to the Christmas tree calculator, where you will find out how to decorate your Christmas tree in the best way. Take a look at the perfect Christmas tree formula prepared by math professors and improved by physicists. Plan in advance how many lights and decorations you'll need!

DIY shed cost

Use our DIY shed cost calculator to estimate the cost of building a DIY shed. It'll help you decide on its size, roof type, and overhang length, and find the span of the roof rafter required.

Plastic footprint

Find out how much plastic you use throughout the year with this plastic footprint calculator. Rethink your habits, reduce your plastic waste, and make your life a little greener.


Use this sealant calculator to determine how much sealant (silicone, polyurethane, or any other sealant materials) you will need for your filling or sealing project.