Plumbing math is arithmetic, fractions and geometry: offset multipliers for changing a run's direction, slope multiplication for drain lines, fixture-unit addition for pipe sizing, and the pressure-and-volume arithmetic behind water and gas work.
This page walks through each formula with worked examples, and separates the math from the numbers that come from the plumbing code.
Do you need to be good at math to be a plumber?
Not in the advanced-math sense: the calculations this page covers — drain slope, offset travel, pipe sizing — are multiplication, division, addition and table lookups you can check on a phone calculator.
The skill is knowing which number to feed the calculator: the fitting angle for an offset, the pipe size for a slope, the load values for a sizing table.
That judgment is learnable, and it is the difference between doing math and doing plumbing.
Math is also one line on a longer list.
Our plumber skills guide covers the full set employers hire for, and if you are weighing the trade itself, our guide to is plumbing hard separates the genuinely tough parts from the ones that only look hard.
Offsets and travel
An offset swings a run out of line and brings it back parallel using a pair of fittings.
Two measurements describe it: the offset, the sideways shift, and the travel, the diagonal length of pipe between the fittings.
One formula connects them:
travel = offset × 1/sin(fitting angle)
Dividing 1 by the sine of each fitting angle gives a constant multiplier for that angle:
| Fitting angle | Multiplier (1/sin) | Travel for a 10 in. offset |
|---|---|---|
| 11-1/4° | 5.126 | 51.26 in. |
| 22-1/2° | 2.613 | 26.13 in. |
| 30° | 2.000 | 20 in. |
| 45° | 1.414 | 14.14 in. |
| 60° | 1.155 | 11.55 in. |
Worked example: a 10-inch shift made with 45-degree fittings needs 10 × 1.414 = 14.14 inches of travel.
The same shift with 22-1/2-degree fittings takes 10 × 2.613 = 26.13 inches — a shallower fitting buys a gentler turn at the price of a longer diagonal.
Travel is the fitting-to-fitting distance, not a cut length.
The fittings themselves occupy part of that dimension, and the deduction — the take-out — is specific to the fitting, so take it from the manufacturer's data for the fitting you are holding rather than from a memorized number.
Pipe slope and fall
Horizontal drain pipe has to fall as it runs, and the plumbing code sets how much.
Under the 2024 International Plumbing Code (Table 704.1), the minimum slope for horizontal drainage pipe is 1/4 inch per foot for pipe 2-1/2 inches and smaller, 1/8 inch per foot for 3- to 6-inch pipe, and 1/16 inch per foot for 8-inch and larger.
So the familiar quarter-inch-per-foot rule is not a universal drain slope — it is the IPC's minimum for the smaller sizes, and larger pipe is allowed to fall less.
The code adds one blanket rule: drainage piping upstream of a grease interceptor slopes at least 1/4 inch per foot (2 percent), whatever the pipe size.
The field math is one multiplication: fall = run (feet) × slope (inches per foot).
A 10-foot run of 2-inch drain at the 1/4-inch minimum drops 2 1/2 inches from end to end; the same run in 4-inch pipe at 1/8 inch per foot drops 1 1/4 inches.
Codes differ — check yours
Fixture units and pipe sizing
Drain sizing starts with the fixture unit — a measure of the load a fixture puts on the drainage system, used so differently loaded fixtures can be added up on one scale.
Described simply, the arithmetic is addition plus a table lookup: total the fixture units at the point you are sizing, then read the pipe size the table gives for that total.
The judgment is in the counting — miss a fixture or read the wrong row, and the math is exact but the answer is wrong.
This page does not reprint fixture-unit values or sizing tables: our research sourced the slope table above but not the fixture-unit tables.
Work from the sizing tables in the code your jurisdiction enforces rather than from memory or a secondhand chart.
Pressure and volume basics
Water and gas work adds two more shapes of math.
Pressure is force spread over area, measured in pounds per square inch (psi), and volume is how much space the water or gas fills.
Pipe volume comes from geometry: volume = π × radius² × length.
Worked example: a foot of pipe with a 1-inch inside radius holds π × 1² × 12 = 37.7 cubic inches.
One field caveat matters: feed the formula the pipe's actual inside dimensions for the material you are installing.
Elevation changes pressure, and friction through pipe and fittings costs some of it — but the conversion factors and loss figures that work runs on live in engineering references our research did not source, so this page stays with the simplest arithmetic: read the gauge, compare it against the rating.
How math shows up on exams
The arithmetic worth being fluent in before any plumbing exam is on this page: fraction and decimal work, ratios, and the geometry behind offsets and slope.
What any specific exam covers is the exam writer's question — our research does not catalog individual tests, so check the outline your program or board publishes.
For apprenticeship entry, our plumbing aptitude test guide covers how those entrance exams are structured and scored, and the pipe-trade counterpart is our pipefitter test guide.
For the route into the trade itself, start with our plumbing apprentice guide.
How much math plumbing uses
The working set stays short: an offset multiplier, a slope multiplication, a sizing lookup, fraction conversions on the tape.
The math itself is short-list simple — what makes it matter is that the answers get checked.
A drain pitched below the code minimum does not meet the code, and that error is in the pipe, not on paper.
So treat the formulas as a small set worth knowing cold, with the code tables and manufacturer data supplying the numbers the math cannot.
For where the work fits into the trade as a whole, our plumber career guide covers the role, the licence ladder and the job market.
Fractions and measurement
The measurements in this page's formulas are fractions of an inch, so the tape skills come first: reading to the sixteenth, adding and subtracting fractions, and switching between fractions and decimals when a calculator gets involved.
The conversions are worth having cold.
A foot is 12 inches, so a run of 10 feet 6 inches lays out as 126 inches.
To multiply with a fraction, keep it as a fraction — 10 feet at 1/4 inch per foot is 2 1/2 inches — or divide it out when you need a decimal: 1/8 of an inch is 0.125, and 1/4 is 0.25.
The slope math from earlier in this page is the payoff: run length in feet × the per-foot slope in inches, with the answer kept in fractions so it reads straight off a level and tape.
Offsets: the formula at a glance
The offset formula, restated for quick reference: travel = offset × multiplier, where the multiplier is 1 divided by the sine of the fitting angle — 1.414 for 45 degrees, 2.000 for 30, 1.155 for 60, 2.613 for 22-1/2 and 5.126 for 11-1/4 (the table above has the worked row for a 10-inch offset).
Because the multiplier comes from the angle alone, it is the same whatever the pipe is made of — the geometry does not care whether the run is PVC, copper or cast iron.
What no formula gives you is the fittings' share of the joint — the take-out — and that number comes from the manufacturer's data for the fitting, not from a math table.
The pipe trades share this geometry: our pipefitter math guide covers the fabrication side — rolling offsets, take-outs and miter cuts.
Grade and slope
Slope and grade are the same idea in two notations.
Slope is inches of fall per foot of run; grade is that ratio written as a percent.
The code uses both — the IPC pairs the 1/4-inch-per-foot minimum with a 2-percent slope for the grease-interceptor requirement — and either notation describes the same pitch.
To convert between them, percent grade is rise ÷ run × 100.
Which number governs on a job is not a math question: the code table sets the minimum for the pipe size, and local amendments can change the picture — confirm both against the code your jurisdiction enforces.
The code values on this page are career information, not legal advice — confirm slope and sizing requirements against the code edition your jurisdiction enforces.

