Measuring

Stair Handrail Calculator: Length, Height and Pitch

A stair handrail calculator estimates three separate things from your staircase's rise and run: the raked (sloped) length of handrail needed to follow the pitch line, the mounting height measured vertically above the tread nosing, and the pitch angle itself. Handrail length is not the same as the floor-plan length of the stair, because the rail follows the diagonal pitch line, which is always longer than the horizontal run.

Start with the numbers: our stair runner calculator also works as a stair runner length calculator, adding nosing wrap, landings, winders, pattern repeat and waste so you order the right length first time.

By Thomas Bramley, Estimating editor · · 9 min read

Last updated · Reviewed by James Whitfield, Stair runner fitter and flooring estimator

Stair Handrail Calculator: Length, Height and Pitch — measurements noted down on a staircase step

The geometry a handrail calculator uses

A staircase's pitch line runs from the nosing of the bottom tread to the nosing of the top tread, and the handrail follows a line parallel to it, offset upward by the mounting height. The raked length of that pitch line — and therefore roughly the length of handrail needed — is found using simple right-triangle maths: it is the hypotenuse of a triangle whose two other sides are the total rise (vertical) and total run (horizontal) of the flight.

QuantityHow it's found
Total riseNumber of risers × riser height
Total runNumber of treads × tread going (depth)
Pitch line length√(total rise² + total run²)
Pitch anglearctan(total rise ÷ total run)
Approx. handrail lengthPitch line length + allowance for newel returns/volutes

That pitch-line figure is a close estimate of the handrail length for a rail that runs straight from bottom to top newel. Add an allowance — commonly 100-300mm (4-12in) depending on the style of end cap, volute or newel return — because most handrails need extra length to terminate cleanly rather than stopping exactly on the pitch line.

Worked example

Take a flight with 13 risers at roughly 178mm (7in) each and 12 treads at roughly 254mm (10in) going. Total rise is about 2,314mm and total run is about 3,048mm. The pitch line length works out to roughly √(2,314² + 3,048²) ≈ 3,826mm (about 150.6in, or 12.5ft), and the pitch angle is arctan(2,314 ÷ 3,048) ≈ 37.2 degrees. Add an allowance for the end treatment and you would order a rail somewhere around 4.0-4.1m (13-13.5ft) to be safe, always confirming against a physical measurement before cutting.

How a stair runner is measuredOne step showing tread depth, riser height and the nosing wrap that all add together to give the runner length per step.Tread depthRiser heightNosing wrapRunner per step = tread + riser + nosing allowance
The pitch line runs nosing-to-nosing; handrail length follows this diagonal, not the horizontal floor-plan run.

Mounting height

Handrail height is measured vertically from the top of the tread nosing to the top of the rail, generally along the whole pitch of the flight, and most residential codes specify a range rather than a single figure — commonly around 865-965mm (34-38in) in the US, and a similar though not identical range under UK Building Regs, with landings sometimes requiring a slightly different guard height than the stair flight itself. Always check the specific figures that apply in your location before fabricating brackets.

Location on the calculatorTypical height range (confirm locally)
Along the stair flight≈ 865-965mm / 34-38in
At landings (guarding)≈ 900-1,100mm / 36-43in, varies by code
Handrail projection from wall≈ 38-50mm / 1.5-2in clearance behind rail

Pitch and how it affects rail fittings

The pitch angle matters for ordering handrail fittings, because rake fittings — the pieces that transition the rail from sloped to level at a newel, or turn a corner — are usually made for a specific pitch range, commonly grouped in bands such as roughly 30-35 degrees, 35-40 degrees and so on. Standard stairs (see our note on the standard 7-11 rule) tend to land in the high 30s in degrees, which is why so many stock rake fittings are made for that range, but always measure your own flight rather than assuming.

Order rake fittings to your measured pitch, not a guess

A rake fitting made for the wrong pitch band will not sit flush and is very difficult to correct on site. Measure your actual pitch angle first, then order fittings rated for that band.

Know your numbers in 30 seconds

Enter your step count, tread depth and riser height — the stair runner calculator gives you the exact length to order, in metres and feet, with waste included.

Open the stair runner calculator

Continuous rails, winders and landings

Where a handrail continues around a winder or across a landing, calculate each straight or curved segment separately and sum the lengths, because the simple rise/run hypotenuse method above only applies to a single straight flight. Curved and winder sections are usually quoted by a specialist based on a template or a 3D survey rather than a simple formula, since the geometry compounds quickly.

Common handrail calculation mistakes

  • Using the horizontal floor-plan length instead of the sloped pitch-line length, which under-orders material.
  • Forgetting an allowance for newel returns, volutes or wall-return end caps.
  • Measuring height from the tread surface instead of the nosing.
  • Assuming one height figure applies to both the stair flight and any landing guarding.
  • Ordering rake fittings before measuring the actual pitch angle of the built stair.

Handrail material and typical cost ranges

Handrail material has a big effect on both cost and how the rake fittings behave. Softwood (pine, redwood) is the cheapest option and is easy to shape for volutes and turns, but it dents and marks more easily than hardwood. Oak and other hardwoods cost more, roughly 1.5-2.5x a softwood rail of the same profile, but hold up far better on a busy family staircase and take stain more evenly. Painted MDF-core rails are common on budget builds where the rail is fully painted rather than stained, and metal (steel or brushed aluminium) rails are increasingly common on contemporary staircases, usually priced per metre run rather than per fitting.

Stair Handrail Calculator: Length, Height and Pitch — a pale grey runner on a modern oak staircase
MaterialTypical cost range (per metre, confirm locally)Best suited to
Softwood (painted)≈£15-30 / $20-40Budget builds, fully painted finish
Oak (stained or oiled)≈£35-70 / $45-90Family homes, high-traffic flights
Hardwood exotic/veneered≈£60-120 / $80-160Feature staircases, statement newels
Metal (steel/aluminium)≈£40-90 / $50-115Contemporary or open-plan staircases

Bracket spacing and load

A handrail that is only fixed at the two newels will flex noticeably along a long run, so wall-mounted rails need intermediate brackets. A common spacing is roughly every 900-1,000mm (35-40in), with a bracket placed close to each end and near any fitting or joint, and most residential brackets are rated for a reasonable point load, though you should check the manufacturer's figure rather than assume. On a 13-step flight with a pitch-line length of around 3.8m, that works out to four or five brackets along the run, not counting the end fixings at the newels.

Pitch-line lengthBracket spacing targetApprox. brackets needed
≈3.0m / 9.8ft≈900mm / 35in3-4
≈3.8m / 12.5ft≈900mm / 35in4-5
≈4.5m / 14.8ft≈1.0m / 39in4-5

Fixing into masonry needs a suitable wall plug rated for the bracket's pull-out load, while fixing into a stud wall means locating studs or using a noggin, since a handrail bracket that pulls out of plasterboard under a real grab load is a genuine safety failure, not just a cosmetic one. Always test the first bracket by hand before fixing the rest of the run.

What this means if you're also fitting a runner on the same flight

Handrail height and pitch calculations are usually done alongside a stair runner order, since both jobs happen on the same refurbishment. A stair runner calculator works from the same rise and run figures used above, but converts them into carpet length rather than rail length - the runner needs to wrap every tread going and riser height, plus a waste allowance, whereas the handrail only needs the diagonal pitch-line distance. On a 13-step flight with 10in (25cm) going and 7.5in (19cm) rise, a runner calculation comes out to roughly 13 x (10in + 7.5in) = 227.5in (about 5.78m or 19ft) of running length before waste, compared with the handrail's roughly 150in (3.8m) pitch-line figure - a useful sanity check that the two are genuinely different measurements even though they come from the same staircase. If you are choosing stair runners for the same project, measure both jobs from the same site visit so the numbers stay consistent.

  • Confirm handrail height and pitch before ordering rake fittings, not after.
  • Space brackets at roughly 900-1,000mm (35-40in) and always fix into a stud, noggin or suitably plugged masonry.
  • Order handrail material with a small extra length allowance, roughly 100-150mm (4-6in), for site adjustment.
  • If recarpeting the same flight, measure runner length separately using a stair runner calculator rather than reusing the handrail's pitch-line figure.

Newel post sizing and fixing

Newel posts take most of the load a handrail passes on when someone grabs it, so they need to be fixed far more securely than an intermediate bracket. A base newel is typically bolted through the first tread and stringer into the floor structure below, commonly with a coach bolt or dedicated newel bolt rated for lateral load, and a housed or half-newel fixed against a wall needs equivalent blocking behind the plasterboard. Undersized or poorly fixed newels are one of the most common handrail failures reported by fitters, usually showing up as a wobble at the bottom of the flight within a year or two of a rushed installation.

Newel positionTypical fixing methodWhat to check
Base newel (bottom of flight)Bolted through tread/stringer into floor structureBolt torque, timber condition around the bolt
Half-newel against a wallFixed to blocking or noggin behind the wall finishBlocking present before wall is closed up
Intermediate/landing newelBolted through landing trimmer or newel post baseTrimmer sized to take the load

If you are refitting a rail onto existing newels rather than building new ones, test every newel by hand with a firm push before assuming it is sound - a loose newel is a common discovery once old carpet or panelling is stripped back during a refurbishment, and it is far cheaper to re-fix it before the new handrail and any new stair runners go down than after.

Whatever you decide, get the numbers first: the stair runner calculator doubles as a stair runner length calculator, adding nosing wrap, landings, winders, pattern repeat and waste so you order the right length the first time.

Frequently asked questions

How do I calculate handrail length for stairs?

Find the pitch-line length using the hypotenuse of total rise and total run (√(rise² + run²)), then add an allowance of roughly 100-300mm (4-12in) for end treatments like volutes or wall returns.

What height should a stair handrail be?

Commonly around 865-965mm (34-38in) measured vertically from the tread nosing, though the exact range varies by local code and can differ for landing guarding — always check locally before fabricating.

How do I find the pitch angle of my stairs?

Take the arctangent of total rise divided by total run (arctan(rise ÷ run)). A typical residential stair often lands somewhere in the mid-to-high 30s in degrees, but always measure your own flight.

Is handrail length the same as the stair's floor-plan length?

No. Handrail follows the sloped pitch line, which is always longer than the horizontal floor-plan run, because it is the hypotenuse of the rise/run triangle.

Why do rake fittings come in specific angle bands?

Because the fitting has to sit flush against both the sloped rail and the level or turning section, manufacturers group fittings into pitch bands (for example roughly 30-35 or 35-40 degrees) rather than making every angle to order.

Do winders need a different handrail calculation?

Yes. Winder and curved sections should be measured and quoted per segment, often from a template or survey, rather than the simple rise/run formula used for a straight flight.

How much extra handrail length should I allow for fittings?

A common allowance is roughly 100-300mm (4-12in) beyond the calculated pitch-line length, though it depends heavily on the specific end cap, volute or newel return style you are using.

What is the difference between handrail height and guard height?

Handrail height is measured along the pitch of the stair flight; guard (or guarding) height applies at landings and open edges and is sometimes set to a different figure by local code.

Know your numbers in 30 seconds

Enter your step count, tread depth and riser height — the stair runner calculator gives you the exact length to order, in metres and feet, with waste included.

Calculate stair geometry

Ready for real prices?

Get quotes from vetted stair runner suppliers and fitters near you. Free, no account, no obligation.

Get quotes

Every guide is written from hands-on measuring and fitting experience, checked against the calculator’s own maths, and re-reviewed whenever prices or methods change. Read our editorial standards.

Keep reading