Shower Floor Slope Calculator
Enter the distance from the drain to the farthest edge of the shower floor and get how high that edge must sit under the 2021 IRC's ¼ to ½ inch per foot rule — and check a planned slope and curb.
How to work out a shower floor slope
- Measure from the drain to the farthest edge. Take the horizontal distance from the drain to the point of the floor furthest from it — usually a back corner for a centre drain, or the far wall for a linear drain.
- Read the height range. The IRC requires the floor to slope at least ¼ inch and at most ½ inch per foot toward the drain. The tool turns your distance into the height that edge must sit above the drain, in fractions and millimetres.
- Optionally check a planned height. Enter the height you plan to build the edge to and the tool works out its slope per foot and whether it is inside the range.
- Optionally check the curb. The IRC requires the curb to be 2 to 9 inches deep, measured from the top of the curb to the top of the drain.
- Confirm with your local code. These are 2021 IRC figures. Your jurisdiction's adopted code and your inspector decide what applies.
10 situations where the shower slope figure matters
Floating a mortar bed for a tiled shower
With the drain 30 inches from the far corner, the bed must rise at least 5/8 inch and no more than 1¼ inch there. Those are the screed heights to set.
Planning a linear drain at one wall
The run is the full depth of the shower, so a 48-inch shower needs 1 to 2 inches of rise at the opposite wall.
Passing a rough or final inspection
Knowing the code range before the bed is placed is cheaper than finding out at inspection.
Fixing a shower where water pools
When water pools, measuring the actual rise at the edge and entering it shows whether the floor meets the code minimum.
Keeping a floor comfortable to stand on
The ½ inch per foot maximum caps how steep the floor can be. A planned height that exceeds it is flagged.
Setting the curb height
The 2- to 9-inch curb depth from curb top to drain top is checked when you enter it.
Working in millimetres
Enter the run in mm or cm and the rise is given in millimetres as well as inches.
Converting a rule to fractions on a tape
Decimal inches are rounded to the nearest 1/16 so the figure can be read straight off a tape measure.
Quoting a shower pan job
A tile setter can show a client the measured run and the height range the code requires.
Understanding a remodel's limits
When floor height is tight, the minimum rise over the run tells you how much depth the slope will take before tile is added.
Where the slope rule comes from
The rule is Section P2709.1 of the 2021 International Residential Code: 'The finished floor shall slope uniformly toward the drain not less than 1/4 unit vertical in 12 units horizontal (2-percent slope) nor more than 1/2 unit vertical per 12 units horizontal (4-percent slope).' The same section says a finished curb threshold must be at least 1 inch below the sides and back of the receptor, and that the curb must be 2 to 9 inches deep measured from the top of the curb to the top of the drain. The text was read on the ICC's free public code viewer.
The page multiplies your run, in feet, by ¼ inch and by ½ inch to get the minimum and maximum height of the floor's edge above the drain. A planned height is converted back to inches per foot and percent and compared with the range. Fractions are rounded to the nearest 1/16 inch. Note that ¼ inch per foot is 2.08% exactly; the code text calls it 2 percent.
Everything is calculated in your browser; nothing is sent or stored.
The limits: these are the model 2021 IRC figures. States and cities adopt different editions, use the Uniform Plumbing Code, or amend sections, and an inspector's reading governs. For commercial work the International Plumbing Code applies; its Section 421.5.2 requires shower liners to be pitched ¼ inch in 12 toward the drain. Prefabricated receptors and membrane systems also come with their manufacturer's requirements.
This page reports what the code text and arithmetic give. It is not a design or an inspection, and it does not cover waterproofing, accessibility (curbless) requirements or drain sizing.
Sources
- ICC — 2021 International Residential Code, Chapter 27 Plumbing Fixtures — Section P2709.1 shower floor slope and curb depth
- ICC — 2021 International Plumbing Code, Chapter 4 — Section 421.5.2 shower liner pitch
Frequently asked questions
What slope does a shower floor need?
Under the 2021 IRC, not less than ¼ inch per foot and not more than ½ inch per foot toward the drain (Section P2709.1).
How much higher should the wall be than the drain?
Distance in feet × ¼ inch for the minimum, × ½ inch for the maximum. For a wall 3 feet from the drain, that is ¾ inch to 1½ inches.
Do I measure to the nearest wall or the farthest?
Use the farthest point of the floor from the drain — that edge needs the most rise to keep the whole floor at or above the minimum slope.
How deep should a shower curb be?
IRC P2709.1 requires 2 to 9 inches measured from the top of the curb to the top of the drain, and a finished curb threshold at least 1 inch below the sides and back of the receptor.
Is ¼ inch per foot the same as 2 percent?
Nearly — ¼ inch in 12 inches is 2.08%. The code text labels it 2-percent slope; the page shows both.
Does the liner under the mortar bed need a slope too?
The International Plumbing Code (Section 421.5.2) requires shower liners to be pitched ¼ inch in 12 toward the drain. Check the code your jurisdiction uses for residential work.
Related tools
Roof Pitch Calculator
Enter the rise and run and get the pitch as x-in-12, the angle, the slope percentage and the rafter length — plus which roof coverings the IRC allows at that slope.
Geometry, and the 2021 International Residential Code, Chapter 9
Rebar Size Chart
Pick a bar size and get its diameter, cross-sectional area and weight per foot in US and metric units, from a state DOT's published reinforcement table.
Illinois DOT Standard 001001-02, Areas of Reinforcement Bars
Egress Window Calculator
Enter a window's clear opening and sill height and see which IRC R310 egress minimums it meets — area, width, height, sill and window well — with the section for each.
2021 International Residential Code, Section R310
ADA Ramp Calculator
Enter the rise and get the minimum ramp length, the number of runs and landings, and whether handrails are required under the 2010 ADA Standards §405.
2010 ADA Standards for Accessible Design, §303 and §405
NPT Tap Drill Size
Pick a pipe thread size from 1/16 to 3 inch and get the tap drill for NPT — with its decimal and millimetre size and the NPS straight-thread drill — from a tap maker's published chart.
Sowa Tool tap & drill chart, taper pipe taps (NPT) and straight pipe taps (NPS)
Sine Bar Calculator
Enter a sine bar's length and an angle in degrees, minutes and seconds to get the gauge block stack height — or enter the stacks to get the angle. Inches or millimetres.
Sine bar formula, Manufacturing Processes 4-5 (open textbook, CC BY)