Skip to the content
The DIY Calculator

My project

Nothing on the list yet. Work out a quantity with a calculator, then press “Add to project”: the lines add up here, and stay in this browser.

Stair, deck and fence calculators

Stair and fence calculators that work out the layout before the lumber: every riser, every post and every picket, drawn to scale with its dimensions.

  • Stair calculatorRisers, treads, total run, angle and stringer length from a total rise, drawn from the side.
  • Fence calculatorPosts, rails, pickets and bags of concrete for a wood or chain-link fence, with gates.
  • Stair stringer calculatorFraming-square marks, the first-step drop, throat depth and the board to buy for a stringer.
  • Deck board calculatorRows, boards cut from the lengths you buy, joints staggered over the joists, screws or hidden clips, and a border.
  • Deck stair calculatorSteps from the deck’s height, treads counted in deck boards, the stringer and its drop, and the pad at the foot.
  • Deck board spacingThe even gap across your deck, or the boards at your gap with the last ripped, beside the makers’ gaps.

Layout first, then the list

A staircase and a fence are both divided evenly: a total rise into equal risers, a run of fence into equal sections. The calculators do that division with exact figures and round only what you read on a tape, so the last riser is as tall as the first and the last picket lands where the fence ends.

Where a building code has something to say, the reference value stands beside the figure. It is a reference, not an approval: your building department has the last word.

Which calculator for which job

  • Planning a staircase. The stair calculator turns the height from floor to floor into risers, treads and a total run, and sets the reference values beside them.
  • Cutting the stringers. The stair stringer calculator takes the same stair to the board: the marks for the framing square, the drop of the first step, what is left of the board under the notches, and the length to buy.
  • Steps down from a deck. The deck stair calculator starts from the deck’s height above the ground, makes each tread of deck boards, cuts the stringer short by a board, and works out the pad at the foot.
  • Decking. The deck board calculator lays the rows across the deck, joins the boards over the joists, counts the boards in the lengths you buy and the screws or hidden clips, and frames it with a border if you want one. The deck board spacing calculator finds the gap that makes the boards come out even across the deck, with no sliver at the edge.
  • A fence. The fence calculator spaces the posts, counts the rails and pickets, takes the gates out of the run, and adds the bags of concrete for the holes.

Work out the stair before you buy the boards for it: the stringer’s length follows from the run, and a run that does not fit the room is cheaper to find on paper.

Updated . How we calculate. Found a mistake? Tell us.