IRC 2021 · AWC Span Tables · Zero Black-Box Math

Check the math before you burn the lumber.

Most calculators spit out a mystery number and hope you don't miscut. LayoutMath prints every formula live, checks IRC & AWC code limits on the spot, and stacks your deck, stairs, and concrete into one printable Job Sheet.

Start a takeoff ↓
Not a black boxEvery formula printed live

See waste %, joist spans, and exact working as you type — never trust a mystery number with your lumber order.

Built for inspection dayIRC & AWC checks built in

Stair risers, 4-inch baluster ball checks, and deck spans cite the exact code section before you cut.

One yard trip, not threeStack takeoffs in one Job Sheet

Save Deck + Stairs + Railings + Footings into a single combined buy list stored in your browser. Zero login.

Pick the job

No calculators match that filter. Try clearing the search or switching to All 23.

Most used01

Deck material

Boards, joists, beams, posts and a cost you can edit.

Try it →
IRC checked02

Stair & stringer

Total rise in; risers, treads, stringers and an IRC check out.

Try it →
IRC checked03

Baluster

Count, equal gap and on-center spacing, checked against the 4 in ball.

Try it →
Live diagram04

Roof pitch

Rise and run in; x:12 pitch, degrees, slope and multiplier out.

Try it →
Squares & bundles05

Roof area

Building size and pitch in; roof area, squares and bundles out.

Try it →
Live diagram06

Rafter

Span and pitch in; rafter length, birdsmouth and hip length out.

Try it →
Base + sand07

Paver

Pavers, base, sand and cost for patios, circles and fire pit rings.

Try it →
Pipe + stone08

French drain

Gravel, pipe, fabric, slope and a cost you can edit.

Try it →
3-4-5 check09

Squaring

Two sides in; the diagonal that squares a layout out.

Try it →
Most used10

Feet & inches

Add, subtract, multiply and divide tape-measure lengths. Decimals and mm too.

Try it →
Volume & bags11

Concrete

Cubic yards and bags of concrete for a slab, footing, column or steps.

Try it →
Most used12

Concrete slab

Concrete, rebar, base stone and joints for a patio, pad or driveway.

Try it →
40-80 lb bags13

Concrete bags

How many 40, 50, 60 or 80 lb bags a pour takes, and what they weigh.

Try it →
Tons & yd³14

Gravel

Cubic yards and tons for any area, with waste and compaction.

Try it →
Landscape rock15

Stone

Tons, cubic yards and bags of landscape rock for a bed or path.

Try it →
Bedding & fill16

Sand

Cubic yards, tons and bags of sand for any area.

Try it →
Lawn & beds17

Topsoil

Cubic yards of topsoil and compost for a lawn, bed or fill.

Try it →
Bags & bulk18

Mulch

Cubic yards and bags of mulch for a bed, border or tree ring.

Try it →
Tonnage19

Asphalt

Tons of asphalt, base stone and milling for a driveway, road or lot.

Try it →
Spray & mix20

Bitumen

Gallons or liters and tons of bitumen for a coat or a mix.

Try it →
Lumber yard21

Board feet

Board feet, linear feet, volume and cost for a lumber list.

Try it →
Sheets & mud22

Drywall

Sheets, joint compound, tape and screws for a room.

Try it →
Layout & grout23

Tile

Tiles, boxes and grout for a floor, wall or backsplash.

Try it →

Three steps from tape measure to buy list

  1. Pick the job. Each calculator does one thing, like the boards for a deck or the risers for a stair, so there is nothing to learn first.
  2. Type what you measured. Write it the way you read it: 5' 3 1/2", 63.5 or 1.6m all work, and the units follow your browser unless you change them.
  3. Check it, then copy it. The result shows its working and its code check. Copy the list into a message or a materials order.

Built to be checked

Every formula is printed on the page. The worked examples run on the same code as the calculator, and each code check names its section, so you can read the source instead of taking our word. No account, no paywall, no app.

These are planning estimates. They do not replace drawings, engineering or the code enforced where you build.

Who LayoutMath is for

Homeowners planning a weekend build, carpenters and builders who want a second check on a count, and anyone who needs the reasoning behind a number as well as the number. Each calculator is one job, so a stair does not need a lesson in roofing first.

The pages say plainly what they do not do. They do not replace drawings, they do not price a job for you, and where a code decides the answer they name the section and send you to the source. Read how the numbers are made or the editorial policy to see how pages are checked.

Used by homeowners and trades planning real projects — no account, no app, no paywall.

Questions people ask first

What can I work out on LayoutMath?

Deck boards, joists and posts; stair risers and stringers; baluster counts and gaps; roof pitch, roof area and shingle bundles; rafter lengths and birdsmouth cuts; paver counts, base and sand; French drain stone and pipe; concrete, slabs and bags of mix; gravel, stone, sand, topsoil and mulch; asphalt and bitumen; board feet, drywall and tile; square corners; and feet and inches arithmetic.

Do I need to sign up or install anything?

No. The calculators open in the browser on a phone, tablet or computer. There is no account, no app and no paywall.

Is it safe to build from these numbers?

They are planning estimates that show their working. Stairs, guards, spans and drainage are safety-critical, so check the result against the code that applies where you build, and ask your building department or a licensed professional when a failure would hurt someone.

Where do the code limits come from?

From the 2021 International Residential Code, Approved Document K for England and the American Wood Council's deck guide. Each code check names its section, and the guides link to the primary source.

Can I use it on a phone at the lumber yard?

Yes. The pages are built for small screens, the buttons are sized for thumbs, and each result can be copied as a plain-text list to paste into a message or an order.

How do I report an error or request a calculator?

Email hello@layoutmath.com with the page address and the numbers you entered. We check every report against the formula and source code section, and fix confirmed issues directly.