Deck Railing Cost Calculator
Wood deck railing costs $15 to $30 per linear foot installed — 60 ft of it runs $900 to $1,800, with 11 posts and 180 balusters. Enter your railing length below for the installed cost and the materials list.
Changing the material resets the installed rates to the published ranges — edit the rates afterwards to match your quote. Rates include materials and professional installation for a standard 36-inch-height railing; stair railings add $15 to $25 per linear foot. Baluster spacing is the clear gap between balusters — the IRC requires that a 4-inch sphere cannot pass through. Estimates only: get 2 to 3 local quotes before building.
Code minimums. Guards are required on any deck more than 30 in above grade, must be at least 36 in high, and must withstand 200 lb of force at any point along the top rail. Check your local code — some jurisdictions require 42 in guards.
How the deck railing cost calculator works
The installed cost is the railing length times the per-foot rate for the material, with stair railing priced higher. On the default — 60 linear ft of pressure-treated wood railing, 6 ft post spacing, 4 in baluster spacing, no stairs, 15% waste — the installed cost is 60 x $15 to $30 = $900 to $1,800, midpoint $1,350. The counts are posts = ceil(60 / 6) + 1 = 11, or 13 with 15% extra; sections = 11 - 1 = 10; balusters per section = ceil(6 x 12 / 4) = 18, so 10 x 18 = 180 balusters, or 207 with 15% extra; top plus bottom rail is 2 x 60 = 120 linear ft, or 15 boards of 8 ft; and 13 post hardware sets.
The worked example is the best-calculators one, and it counts the same 60 ft perimeter the same way — 11 posts at 6 ft spacing, 13 with 15% extra; 10 sections; 18 balusters per section at a 4 in gap; 180 balusters, 207 with extra; 60 ft of railing and 13 hardware sets. The cost side of that example prices the components — posts $25 each, rails $8 a foot, balusters $5 each, hardware $15 a set — for a $2,035 component total, which is higher than the installed-rate total because component list prices and installed per-foot rates come from different pricing models; this calculator uses the installed per-foot rates as the cost and the component formulas as the counts.
The cross-check is the linearfeetcalc one, and it confirms the per-foot rates at a second material. A 200 sq ft deck (12 by 16.5 ft) with 60 linear ft of railing prices the railing at $900 to $1,800 in pressure-treated wood and $1,500 to $3,000 in Trex composite — 60 x $15 to $30 and 60 x $25 to $50, exactly the rates this calculator uses. The same page prices the full mid-range tier — Trex deck plus composite railing plus stairs — at $4,540 to $9,280, with the railing as the second-biggest line after the decking itself.
Measure the total linear feet of railing — the deck perimeter minus the stair opening and any side against the house. Post spacing is the maximum span between structural posts, typically 6 ft and at most 8 ft; wider spacing sags the rail and fails the 200 lb top-rail load test. Baluster spacing is the clear gap between balusters, and the code maximum is 4 in — a 4-inch sphere must not pass through, which is why the count uses 4 in as the default. Stair railing is measured along the stringer and priced $15 to $25 a foot above the level rate, since cutting angles and fitting to the slope takes longer. The waste allowance covers cut waste and splitting — 15% is the default on posts and balusters.
Common mistakes: pricing the kit or the materials only and forgetting installation — the per-foot rates here include materials and pro labour, and the labour alone runs $8 to $16 a foot on wood; measuring the deck perimeter instead of the railing length, which counts the stair opening and the house side twice; spacing balusters by eye instead of the 4 in code maximum, which fails inspection; choosing glass or cable for the look without budgeting the premium — glass runs $60 to $120 a foot installed against $15 to $30 for wood; and skipping the guard entirely on a low deck, when any walking surface more than 30 in above grade needs a 36 in guard.
installed cost = railing length x rate (wood PT $15-$30 / composite $25-$50 / aluminum $30-$70 / cable $40-$80 / glass $60-$120 / steel $35-$65 per linear ft) + stair length x (rate + $15-$25) · posts = ceil(length / spacing) + 1 · sections = posts - 1 · balusters per section = ceil(spacing x 12 / baluster spacing) · balusters = sections x per section · top + bottom rail = 2 x length, 8-ft boards = ceil(2 x length / 8) · counts + waste allowance, rounded up · IRC: guards required above 30 in, 36 in high minimum, 4 in maximum baluster gap, 200 lb top-rail load
Related tools
Count the balusters on their own with the Baluster Calculator, price the deck itself with the Deck Build Cost Calculator, count the boards with the Deck Boards Calculator, count the screws with the Deck Screws Calculator, and keep the railing looking new with the Deck Stain Calculator.
Deck railing cost calculator FAQ
How much does deck railing cost per linear foot?
$15 to $30 for pressure-treated wood, $25 to $50 for composite (Trex), $30 to $70 for aluminum, $40 to $80 for cable, $60 to $120 for glass, and $35 to $65 for steel — installed, materials plus labour.
How many posts and balusters do I need for 60 ft of railing?
11 posts (13 with 15% extra), 10 sections, and 180 balusters (207 with extra) at 6 ft post spacing and a 4 in baluster gap — plus 120 linear ft of top and bottom rail.
How far apart should deck railing posts be?
6 ft is the standard maximum span between structural posts, and 8 ft is the absolute maximum. Wider spacing sags the rail and fails the 200 lb top-rail load test.
What is the maximum baluster spacing?
4 in — the IRC requires that a 4-inch sphere cannot pass between balusters. Guards are required on any deck more than 30 in above grade and must be at least 36 in high.
How much extra do stair railings cost?
$15 to $25 more per linear foot than level railing, because cutting angles and fitting to the slope takes longer. Measure stair railing along the stringer, not the flat run.
Wood, composite or aluminum railing — which should I choose?
Wood is cheapest at $15–$30 a foot but needs staining every 2–3 years. Composite ($25–$50) needs only washing and lasts 25 years. Aluminum ($30–$70) is low-maintenance and lasts 25+ years; cable ($40–$80) and glass ($60–$120) cost most but keep the view open.
Does the per-foot rate include installation?
Yes — the rates include materials and professional installation for a standard 36-inch railing. Labour alone runs about $8–$16 a foot on wood, so a DIY install saves that line but not the materials.