Geometry

Geometry for Plumbers

Last updated: March 2026 · Intermediate
Before you start

You should be comfortable with:

Plumbers use geometry on every job. Every pipe offset is a right triangle. Every drainage run is a slope calculation. Every water heater sizing question involves pipe volume. If you have ever grabbed a fitting and a tape measure, you were doing geometry — and understanding the math behind it makes the work faster, more accurate, and less wasteful.

This page connects the geometry you learned in Pythagorean Theorem to the calculations plumbers perform daily on the job.

Simple Pipe Offsets

When a pipe needs to move sideways to avoid an obstacle — a floor joist, a beam, another pipe — two angled fittings create an offset. The geometry behind every offset is a right triangle with three key measurements:

  • Offset — the horizontal distance the pipe moves sideways
  • Set (rise) — the vertical distance between the two parallel pipe runs
  • Travel — the length of the angled pipe between the two fittings (the hypotenuse)

Pipe Offset — Right Triangle Geometry

Set(rise)OffsetTravel45°45°Travel = Set / sin(θ) = Set × Multiplier

The offset, set, and travel form a right triangle, so the Pythagorean theorem applies directly:

Travel2=Offset2+Set2\text{Travel}^2 = \text{Offset}^2 + \text{Set}^2

The Multiplier Shortcut

In practice, plumbers do not solve the Pythagorean theorem from scratch every time. Instead, they use multipliers — pre-calculated constants for each standard fitting angle. The multiplier comes from 1sin(θ)\frac{1}{\sin(\theta)}:

Fitting AngleMultiplierHow It Works
45°1.414Travel = set ×\times 1.414
22.5°2.613Travel = set ×\times 2.613
30°2.000Travel = set ×\times 2.000
60°1.155Travel = set ×\times 1.155

The 45-degree offset is the most common in plumbing. Its multiplier of 1.414 is simply 2\sqrt{2}, which makes sense because in a 45-45-90 right triangle, the hypotenuse is always 2\sqrt{2} times either leg.

Shrinkage

When fittings are installed, they take up physical space. The actual cut length of the travel piece is shorter than the calculated travel because the fitting bodies consume some of that distance. This reduction is called shrinkage or takeoff.

For 45-degree fittings, a common trade rule is approximately 3/8 inch of shrink per inch of set. The precise shrink constant is 0.414 (from 1cos(45°)sin(45°)\frac{1 - \cos(45°)}{\sin(45°)}):

Shrink=Set×0.414\text{Shrink} = \text{Set} \times 0.414

Always check the manufacturer’s fitting dimensions for the exact takeoff values for the specific fitting size and material you are using.

Rolling Offsets — 3D Pipe Routing

A rolling offset is the most challenging offset calculation because the pipe needs to move in two directions simultaneously — both horizontally and vertically. This happens when a pipe must go up and over (or down and sideways) to reach a connection point.

The key insight is that you solve this problem in two stages, applying the Pythagorean theorem twice:

Stage 1 — Find the true offset:

True Offset=Horizontal Offset2+Vertical Offset2\text{True Offset} = \sqrt{\text{Horizontal Offset}^2 + \text{Vertical Offset}^2}

The true offset is the straight-line distance between the two pipe centerlines in the plane perpendicular to the pipe run.

Stage 2 — Find the travel:

Travel=True Offset×Multiplier\text{Travel} = \text{True Offset} \times \text{Multiplier}

This is the same multiplier from the simple offset table. The only extra step is computing the true offset first.

Why Skipping Stage 1 Is a Costly Mistake

If a pipe needs to move 8 inches horizontally and 6 inches vertically, a common beginner mistake is to use 8 inches as the offset and calculate 8×1.414=11.318 \times 1.414 = 11.31 inches of travel. The correct true offset is 82+62=100=10\sqrt{8^2 + 6^2} = \sqrt{100} = 10 inches, giving 10×1.414=14.1410 \times 1.414 = 14.14 inches of travel. Using the wrong value produces a piece that is nearly 3 inches too short — enough to ruin the run and waste material.

Drainage Slope

Every drainage pipe must slope downward toward the sewer or septic system so that gravity carries waste and water through the system. Building codes specify minimum slopes based on pipe diameter:

Pipe DiameterMinimum SlopeRule of Thumb
2 inches or smaller1/4 inch per footMost fixture drains
3 inches1/4 inch per footBranch lines
4 inches or larger1/8 inch per footMain building drains

Calculating Total Drop

The total drop is the vertical distance the pipe must fall over its entire run:

Total Drop=Pipe Length (ft)×Slope (inches per foot)\text{Total Drop} = \text{Pipe Length (ft)} \times \text{Slope (inches per foot)}

For a 20-foot run of 2-inch drain pipe:

Total Drop=20×0.25=5 inches\text{Total Drop} = 20 \times 0.25 = 5 \text{ inches}

This means the outlet end of the pipe must be 5 inches lower than the inlet end. Getting this wrong causes slow drains (too little slope) or siphoning of traps (too much slope).

Why Too Much Slope Is Also a Problem

Many apprentices assume steeper is better, but excessive slope causes liquids to outrun solids. The water rushes ahead, leaving solid waste stranded in the pipe where it accumulates and eventually causes a blockage. The code-specified slopes are engineered to keep liquids and solids moving together.

Pipe Volume and Capacity

Knowing the volume of water inside a pipe is essential for system draining, pressure testing, water heater sizing, and estimating how long it takes hot water to reach a fixture.

The volume of a cylindrical pipe is:

V=πr2×LV = \pi r^2 \times L

where rr is the inside radius and LL is the pipe length. Since plumbers work with nominal pipe diameters, use the actual inside diameter (which varies by pipe material and schedule).

Converting to Gallons

After computing volume in cubic inches or cubic feet, convert to gallons:

  • 1 cubic foot = 7.48 gallons
  • 1 gallon = 231 cubic inches

So for a pipe measured in inches:

Gallons=πr2×L231\text{Gallons} = \frac{\pi r^2 \times L}{231}

where rr and LL are both in inches.

Worked Examples

Example 1: 45-Degree Offset with a 6-Inch Set

A plumber needs to offset a 2-inch drain pipe around a floor joist. The set (vertical rise) is 6 inches, and the fittings are 45-degree elbows.

Find the travel:

Travel=Set×1.414=6×1.414=8.48 inches\text{Travel} = \text{Set} \times 1.414 = 6 \times 1.414 = 8.48 \text{ inches}

Answer: The travel piece measures 8.48 inches (approximately 8-1/2 inches). After subtracting fitting takeoff, the cut length will be slightly shorter.

Example 2: Rolling Offset — 8 Inches Horizontal, 6 Inches Vertical

A pipe must move 8 inches horizontally and 6 inches vertically to reach a connection. The plumber is using 45-degree fittings.

Step 1 — Find the true offset:

True Offset=82+62=64+36=100=10 inches\text{True Offset} = \sqrt{8^2 + 6^2} = \sqrt{64 + 36} = \sqrt{100} = 10 \text{ inches}

Step 2 — Find the travel:

Travel=10×1.414=14.14 inches\text{Travel} = 10 \times 1.414 = 14.14 \text{ inches}

Answer: The travel piece is 14.14 inches (approximately 14-1/8 inches).

Example 3: Drainage Slope for a 30-Foot Run

A 2-inch drain pipe runs 30 feet from a bathroom group to the main stack. What is the required total drop?

The minimum slope for 2-inch pipe is 1/4 inch per foot:

Total Drop=30×0.25=7.5 inches\text{Total Drop} = 30 \times 0.25 = 7.5 \text{ inches}

Answer: The outlet end must be 7.5 inches lower than the inlet end.

Example 4: Volume of a 50-Foot Run of 3-Inch Pipe

How many gallons of water are inside 50 feet of 3-inch copper pipe? The actual inside diameter of 3-inch Type L copper is approximately 2.945 inches, so the radius is 1.4725 inches.

Step 1 — Convert the length to inches:

L=50×12=600 inchesL = 50 \times 12 = 600 \text{ inches}

Step 2 — Calculate the volume in cubic inches:

V=π(1.4725)2×600=π×2.16826×600=1300.96π4087.1 in3V = \pi (1.4725)^2 \times 600 = \pi \times 2.16826 \times 600 = 1300.96\pi \approx 4087.1 \text{ in}^3

Step 3 — Convert to gallons:

Gallons=4087.123117.69 gallons\text{Gallons} = \frac{4087.1}{231} \approx 17.69 \text{ gallons}

Answer: The pipe holds approximately 17.69 gallons of water. This matters when draining the system for repairs — you need a container or drain path for that volume.

Example 5: 22.5-Degree Offset with a 12-Inch Set

A pipe must offset 12 inches using 22.5-degree fittings (common for gentle direction changes in drainage systems). Find the travel.

Travel=Set×2.613=12×2.613=31.36 inches\text{Travel} = \text{Set} \times 2.613 = 12 \times 2.613 = 31.36 \text{ inches}

Answer: The travel piece is 31.36 inches (approximately 31-3/8 inches). Note how much longer the travel is compared to a 45-degree offset — the shallower angle requires significantly more pipe.

Practice Problems

Test your understanding with these problems. Click to reveal each answer.

Problem 1: A plumber needs to offset a drain pipe with a set of 10 inches using 45-degree fittings. What is the travel?

Travel=10×1.414=14.14 inches\text{Travel} = 10 \times 1.414 = 14.14 \text{ inches}

Answer: The travel is 14.14 inches (approximately 14-1/8 inches).

Problem 2: A rolling offset requires moving a pipe 12 inches horizontally and 5 inches vertically. Using 45-degree fittings, what is the travel?

Step 1 — True offset:

True Offset=122+52=144+25=169=13 inches\text{True Offset} = \sqrt{12^2 + 5^2} = \sqrt{144 + 25} = \sqrt{169} = 13 \text{ inches}

Step 2 — Travel:

Travel=13×1.414=18.38 inches\text{Travel} = 13 \times 1.414 = 18.38 \text{ inches}

Answer: The travel is 18.38 inches (approximately 18-3/8 inches).

Problem 3: A 4-inch main drain runs 40 feet to the sewer connection. What is the minimum total drop required by code?

For 4-inch pipe, the minimum slope is 1/8 inch per foot:

Total Drop=40×0.125=5 inches\text{Total Drop} = 40 \times 0.125 = 5 \text{ inches}

Answer: The total drop is 5 inches.

Problem 4: How many gallons of water are inside 100 feet of 2-inch copper pipe? (Inside diameter of 2-inch Type L copper is approximately 1.985 inches.)

Radius = 1.985 / 2 = 0.9925 inches. Length = 100 ×\times 12 = 1200 inches.

V=π(0.9925)2×1200=π×0.98506×1200=1182.07π3713.6 in3V = \pi (0.9925)^2 \times 1200 = \pi \times 0.98506 \times 1200 = 1182.07\pi \approx 3713.6 \text{ in}^3

Gallons=3713.623116.08 gallons\text{Gallons} = \frac{3713.6}{231} \approx 16.08 \text{ gallons}

Answer: Approximately 16.08 gallons.

Problem 5: A pipe must offset 9 inches using 30-degree fittings. What is the travel, and what is the shrink?

Travel: The 30-degree multiplier is 2.000.

Travel=9×2.000=18 inches\text{Travel} = 9 \times 2.000 = 18 \text{ inches}

Shrink: The 30-degree shrink constant is 0.268.

Shrink=9×0.268=2.41 inches\text{Shrink} = 9 \times 0.268 = 2.41 \text{ inches}

Answer: Travel = 18 inches, shrink = 2.41 inches (approximately 2-3/8 inches).

Key Takeaways

  • Every pipe offset forms a right triangle — the set, offset, and travel are the three sides
  • The 45-degree offset is the most common: travel = set ×\times 1.414 (the 2\sqrt{2} multiplier)
  • The 22.5-degree offset uses a multiplier of 2.613; the 30-degree offset uses 2.000
  • Rolling offsets require two Pythagorean theorem calculations: first find the true offset from the horizontal and vertical distances, then multiply by the fitting-angle multiplier
  • Drainage slope is code-mandated: 1/4 inch per foot for pipes 3 inches and smaller, 1/8 inch per foot for 4 inches and larger
  • Total drop = pipe length in feet ×\times slope per foot
  • Pipe volume uses V=πr2LV = \pi r^2 L — convert to gallons by dividing cubic inches by 231
  • Shrinkage accounts for the physical space fittings consume — always subtract takeoff from the calculated travel to get the actual cut length

Return to Geometry for more topics in this section.

Last updated: March 28, 2026