Two neighbors build decks the same summer. Both decks are about the same size. Both have roughly forty feet of railing. One homeowner pays a little over a thousand dollars for the railing. The other pays three times that. Neither of them was overcharged.

That gap is normal, and it has a simple cause. Railing is not really sold by the foot. It is sold by the post and by the section. A straight run between two posts is one part number and a few minutes of layout. A corner is a post, a cut on both sides of it, two brackets, a hold-down anchor and a fresh set of measurements. Stairs are worse. So a deck with six corners and two stairways can cost far more than a rectangle with the same perimeter.

Here is how that math works, what the national cost ranges actually say, and why the two biggest cost databases in the country disagree by more than double.

The Short Answer: What Deck Railing Costs

The two national databases homeowners land on first are HomeAdvisor and Angi. Both publish installed cost per linear foot by material. Both describe their numbers as national averages. Neither one publishes a figure for the Chicago area.

Material HomeAdvisor, updated 20 June 2026 Angi, updated 9 July 2026
Composite $15 to $30 per linear foot $15 to $60 per linear foot
Wood $40 to $50 per linear foot $15 to $50 per linear foot
Vinyl or PVC $20 to $40 per linear foot $20 to $60 per linear foot
Aluminum $40 to $70 per linear foot $50 to $200 per linear foot
Steel $30 to $80, listed as stainless $50 to $250 per linear foot
Wrought iron $50 to $120 per linear foot $50 to $100 per linear foot
Cable $50 to $200 per linear foot $60 to $500 per linear foot
Glass $100 to $600 per linear foot $100 to $600 per linear foot

Both sets of figures are national averages published by the source named in the column heading. They have not been averaged together, because averaging them would produce a number neither source stands behind.

On whole projects the two sources separate even further. HomeAdvisor puts a full railing replacement at $900 to $1,800 with an average of $1,100. Angi puts a deck railing project at $400 to $4,800 and says most homeowners land around $2,500. Angi’s typical project costs more than twice HomeAdvisor’s average, and the two ranges barely overlap.

So the honest short answer is a range, not a number. Expect a real quote to sit somewhere inside that national spread, and expect its position inside it to be set by your deck’s shape far more than by the catalog you pick from.

Why Corners Cost More Than Straightaways

Start with the piece that carries the money. A guard is the railing that keeps a person from falling off the edge of a raised deck. Its posts are not decorative uprights. Each one is a lever that has to hold a two hundred pound shove at the top without moving.

The force does not stay at two hundred pounds once it reaches the connection. InterNACHI, the home inspectors’ association, puts it plainly: a two hundred pound push at the top of a guard produces roughly seventeen hundred pounds at the upper bolt. That is why a guard post needs a tension anchor tying it back into the framing rather than a couple of lag screws.

The American Wood Council’s prescriptive deck guide spells out what that takes. Guard posts are a minimum four by four. The rim joist they attach to, meaning the board that caps the ends of the floor joists, has to be a minimum two by eight, because a two by six cannot meet the standard. The hold-down anchor has to carry at least eighteen hundred pounds of tension for a thirty six inch guard. The 2021 International Residential Code adds Section R507.10, which requires a continuous load path down into the joists and prohibits notching a guard post at the connection. Lake County repeats the same rules in its own deck guideline for unincorporated addresses.

So a single guard post is a small assembly with its own hardware, its own layout and its own inspection. That is the unit railing is actually priced in. Now count them.

Same 40 Feet Of Railing Very Different Post Counts

 

Take two decks. Each has exactly forty feet of guarded edge. Deck A is one rectangle, sixteen feet by twelve, guarded on three sides, with one stairway. Deck B is the same forty feet wrapped around a bump out, with six corners and two stairways. Count the posts under the same rules: one at each end, one at every corner, one on each side of every stair opening, a newel at the foot of each stair guard, and no run longer than six feet between posts. A newel is simply the heavy post at the end of a railing run.

What forces a post into the plan Deck A, 2 corners Deck B, 6 corners
Ends where the railing meets the house 2 2
Corners and direction changes 2 6
Intermediate posts to hold the 6 foot spacing 2 1
Posts flanking each stair opening 2 4
Newels at the foot of the stair guards 2 4
Total posts for the same 40 feet 10 17

This is arithmetic for illustration, not a price quote. Run the same count on your own plan and the number will be close, because the rules that force a post are not negotiable.

Seventy percent more posts, and not one extra foot of railing. The per foot price never changed. The deck did.

The same logic runs through the rest of the estimate. Every corner also means two extra end cuts, two more brackets, another hold-down anchor and another round of layout. Every stair section costs more per foot than a level one, because stairs mean angled cuts, shorter usable pieces out of standard stock, and often a separate graspable handrail on top of the guard. A handrail is the part a hand actually grips going up and down. Guard and handrail are two components with two different rules, and a stair frequently needs both.

Post Spacing Is the Hidden Multiplier

Corners are only half the story. The other half is how far apart your chosen system lets the posts sit. That limit comes from the manufacturer, and it varies a lot.

One 40 Foot Run, Four Post Spacings

 

System, and who publishes the limit Maximum post spacing Posts in a straight 40 foot run
Cable, per Atlantis Rail and Viewrail 4 feet 11
Trex Select rails, per the Trex install guide 6 feet 8
TimberTech Classic 6 foot rails 6 feet 8
Master Halco RailMaster aluminum, per ESR-5480 8 feet on 2.5 inch posts 6
TimberTech Classic 10 foot rails 10 feet 5

These are each manufacturer’s published limits for its own system. They are not code numbers and they do not carry over between brands. TimberTech’s ten foot rail is only rated at ten feet when it carries the aluminum top support rail and three foot blocks the install guide calls for.

Eleven posts against five, on the same forty feet. That is the biggest single reason cable railing quotes come in high. Cable is not rigid. Push on the middle of a cable field and the cables spread apart, and the code test is whether a four inch sphere passes through the railing as built. Atlantis Rail and Viewrail both answer that by calling for posts or cable stabilizers no more than four feet apart, which buys you roughly twice the posts of a wide span aluminum system before anyone prices a single cable.

One caution before you shop on spacing alone. Trex’s own installation guide for Select railing carries a compliance table, and in it the six foot railing is listed as compliant with the residential code but not the commercial one, while the eight foot railing is listed as compliant with neither. That is the maker’s own printed statement about its own product. Read the install guide of whatever system you are quoted, because the wider and cheaper configuration is not always the one it stands behind.

Two National Databases, More Than Twice Apart

Homeowners reasonably assume the big cost sites roughly agree. On railing they do not.

Two National Cost Databases, One Set of Materials

 

Where they split HomeAdvisor Angi The nature of the gap
Wood $40 to $50 $15 to $50 HomeAdvisor’s floor sits above Angi’s midpoint
Composite $15 to $30 $15 to $60 Same floor, Angi’s ceiling is double
Aluminum $40 to $70 $50 to $200 Angi’s ceiling is nearly three times
Cable $50 to $200 $60 to $500 Angi’s ceiling is two and a half times
Whole project $900 to $1,800 $400 to $4,800 Angi’s typical job is more than double

Only glass agrees, at $100 to $600 per linear foot in both sources, and a range that wide is not really agreement.

Neither source is lying. They survey different contractors and define a project differently. But the lesson is real. When two national aggregators disagree by a factor of two or three on the same material, a single number pulled off either one is not a budget.

The useful move is to narrow the material question before you chase the price. Once you know whether you are pricing wood, composite, aluminum or cable, the spread collapses fast, which is why the railing systems worth comparing first is a better place to start than a cost calculator.

What a Price Per Linear Foot Leaves Out

A per foot figure compares materials against each other. It does not price a deck. Here is what sits outside it.

  • Labor, priced two different ways. Angi reports labor at $10 to $50 per linear foot with an average of $30 per linear foot, and both sources also report hourly rates of $50 to $150. Which one a contractor uses depends on whether the job is a kit install or custom work.
  • Stairs. Stair railing costs more per foot than level railing every time, because of angled cuts, wasted stock, extra posts and the separate handrail.
  • Deck height and access. HomeAdvisor lists height, accessibility and foundation requirements as cost factors. A second story guard needs staging before anyone touches a rail.
  • Permits. HomeAdvisor gives a national permit range of $300 to $2,000. That is a national spread across every kind of jurisdiction and it should never be read as a local number.
  • Post repairs. Angi prices post repair or replacement at $20 to $120 per post, which is the figure that matters most on a wobbly railing.

Kit versus custom is the other split that moves a quote. A listed kit system is priced by the pre manufactured section, so the cost follows the section count. Custom fabrication is priced by the hour, so the cost follows the complexity. If you are weighing a packaged approach, pre built deck kits and what they include covers what normally comes in the box and what still has to be bought separately.

Why No Website Can Quote Your Address

Neither national database publishes a Chicago metro figure. Not a high one, not a low one, none at all. Anyone presenting a national average as a local price is making that translation up.

Permit fees show why that matters. The Village of Round Lake publishes a $150 residential deck permit fee in its own deck handout. That is one village’s published number, and Round Lake, Round Lake Park, Round Lake Beach and Round Lake Heights are four separate villages with four separate building departments. One town’s fee is not the county’s fee, and a national $300 to $2,000 range does not describe either.

Local amendments cost real money too. Naperville requires hold-down tension devices on decks thirty inches or higher, either two locations per deck rated at 1,500 pounds each or four locations rated at 750 pounds each. That is hardware and labor a national per foot average never saw.

And there is a line in this service area where the rules change outright. Illinois towns build on the International Residential Code, which requires a guard once a walking surface is more than thirty inches above the ground below. Wisconsin runs its own statewide Uniform Dwelling Code, which sets that trigger at more than twenty four inches. So a deck twenty six inches off the ground needs no guard in Barrington and does need one in Kenosha. That is not a percentage on the quote. That is the whole railing appearing or disappearing from the scope.

Because of all of that, a railing budget is best set as a share of the whole job rather than as a standalone number. Seeing what a full deck build runs first gives the railing figure something to sit against, and it keeps the railing from being treated as the line item to cut at the end.

Repair or Replace: The Wobbly Railing Question

The most common railing call is not a new railing. It is a railing that moves when you lean on it. Before you price a replacement, find out what is actually loose.

It is almost never the bolt you can see. Testing at Virginia Tech, reported by Mike Guertin in Professional Deck Builder, found the weak link is where the rim joist attaches to the joists, not where the post attaches to the rim. Nails and screws driven into the end grain of a joist cannot resist the prying force a guard post sends into that board. Guertin’s summary is blunt: every traditional wood to wood post mounting detail failed.

So tightening the bolts is the wrong move. Cranking a bolt down in wood crushes the fibers around the hole, and once they are crushed the connection is permanently looser than before you touched it. The real fix is a tension device that ties the post back into the joists, plus a minimum two by eight at the attachment point.

The cost news is good. At Angi’s $20 to $120 per post, repairing the four posts that actually move costs a fraction of replacing forty feet of railing. Replace instead when the material itself is failing, when the openings between balusters no longer pass the code check, or when the joists behind the rim are too small to anchor to. A baluster is one of the vertical pieces in the railing, and infill is the general term for whatever fills the space between posts, whether that is balusters, cable or panels. If the infill is sound and only the posts move, that is a repair.

Frequently Asked Questions

How much does it cost to install deck railing per linear foot?

Nationally, roughly $15 per foot at the low end for basic wood or composite, and past $100 per foot for glass and high end cable. HomeAdvisor and Angi disagree on nearly every material in between, sometimes by more than double, and neither publishes a Chicago area figure.

What is the labor cost to install deck railing?

Angi reports labor at $10 to $50 per linear foot, averaging near $30. Both sources also report hourly rates of $50 to $150. Labor is a larger share on complex decks, because corners and stairs are mostly labor.

How much does cable railing for a deck cost?

HomeAdvisor says $50 to $200 per linear foot and Angi says $60 to $500, both nationally. Cable sits high partly because its makers call for posts no more than four feet apart, roughly twice the posts of a wide span aluminum system.

Why is glass deck railing so expensive?

Both sources put glass at $100 to $600 per linear foot, the one material where they agree. The panels are safety glazed, the hardware is heavy, and the posts and clamps have to hold a panel that acts like a solid surface rather than an open one.

Is it cheaper to repair a deck railing than replace it?

Usually, yes. Angi prices post repair at $20 to $120 per post. If the infill is sound and only a few posts move, fixing the post connections costs a fraction of a full replacement.

Are deck railing cost calculators accurate?

They are useful for comparing materials and close to useless for pricing a specific deck, because almost none of them ask how many corners or stairways you have. Post count is the cost driver, and a running foot total hides it.

The Bottom Line

Railing is priced by the post and by the section, so the number that predicts your quote is not your perimeter. It is your corner count, your stair count and the post spacing your system allows. Two decks with the same forty feet of railing can differ by seventy percent in post count before anyone picks a color.

The practical next step is to count. Walk your deck or your plan and mark a post at every end, every corner, both sides of every stair opening and the bottom of every stair guard, then fill in so no run exceeds six feet. That number, with the material you want, is what makes two quotes comparable. Ask each bidder for it and the conversation stops being about dollars per foot.

Then ask one more thing before you sign: which code applies at your address, and whether the town adds anything of its own. It costs a phone call now, and it is the most expensive thing to discover after the posts are set.