Framing calculators

29 tools

Framing Calculators

Framing follows fixed on-center spacing and code rules. These tools apply the formulas, so you order lumber you can cut accurately.

Stair CalculatorStair CalculatorA stair calculator that turns your total rise, floor to floor or ground to deck, into the riser count, tread count, actual riser height and total horizontal run. It works for deck stairs, porch steps, basement stairs and full flights. Uneven risers trip people; a wrong run lands the last step past the landing, so get both numbers before you cut a stringer.Lumber Board Feet CalculatorLumber Board Feet CalculatorThis board feet calculator converts your lumber's nominal dimensions and quantity into total board feet, the standard unit lumber is priced and sold by, so you can check a quote and estimate the cost before you buy. Enter the thickness, width, length and number of boards. Ten 2 by 6 boards, 8 ft long, are 8 board feet each, or 80 board feet in total.Wall Stud CalculatorWall Stud CalculatorA wall stud calculator that turns your wall length and on-center spacing into the stud count for framing it, then adds plates, corners and openings. Miss studs and the framing stops mid-wall while you wait for lumber; over-order and long studs fill the garage. Enter the length and spacing and get the count before you buy.Ramp Slope CalculatorRamp Slope CalculatorThis ramp slope calculator turns your vertical rise and chosen slope ratio into the horizontal run, total ramp length and incline angle you need, so you can build a ramp that is safe to use and fits the space. Then plan landings and handrails around it. A 24 in rise at the ADA maximum 1:12 slope needs a 288 in, or 24 ft, run, a ramp length of about 24.1 ft and an angle of about 4.76 degrees.Plywood & Sheathing CalculatorPlywood & Sheathing CalculatorA plywood calculator that turns your roof, wall or floor area into the exact number of standard 4×8 ft sheets of plywood or OSB you need, then helps you choose the right thickness and plan the nailing. A sheet short leaves a patch of deck uncovered; extra sheets tie up money and truck space. Enter the area and get the sheet count the job takes.Lumber Cost CalculatorLumber Cost CalculatorA lumber cost calculator that turns your board list into board feet, the cost per board foot and per piece, and the total with waste, delivery and tax. Enter how many boards you need, their size and the wood species, then compare all six species side by side for the same order. The species choice matters more than the board count, so compare it before you order.Anchor Bolt CalculatorAnchor Bolt CalculatorThis anchor bolt calculator works out how many foundation anchor bolts your sill plate needs, and where the code says to put them, so the frame is anchored correctly the first time. Enter your sill plate's total length and the maximum allowed spacing. At the IRC maximum of 6 ft spacing, a 20 ft plate needs 5 bolts, with at least 2 bolts per plate section.Floor Joist CalculatorFloor Joist CalculatorThis floor joist calculator finds the smallest joist size that works for your span, from 2 by 6 to 2 by 12, and counts the joists, so you order the right lumber and avoid a floor that bounces. Pick the species, spacing and loads, then enter the span and floor length. Each size is checked three ways, bending, deflection and shear. A Douglas Fir-Larch joist at 16 in on-center spans 13.87 ft as a 2 by 10 and 16.87 ft as a 2 by 12.Log Weight CalculatorLog Weight CalculatorThis log weight calculator works out the weight of a log before you fell it, load it or mill it, so the trailer, crane or mill is never overloaded. A log's weight is its volume times the species density, and the density depends on whether the wood is green or dry, because green wood can be a third water by weight. Enter the length, the diameter at each end and the species to get the green weight, the dried weight and the water lost as it seasons.Lumber Weight CalculatorLumber Weight CalculatorThis lumber weight calculator works out the weight of a lumber order before you load it, carry it or build with it, so nothing is overloaded on the way to the job. Ten 2×4×8 ft boards of dry pine weigh 87.5 lb, but the same ten in dry white oak weigh 137 lb. Enter the board size, the length, the quantity and the species to get the weight per board, the board feet and the total for the order in pounds and kilograms.Compound Miter CalculatorCompound Miter CalculatorA compound miter calculator that gives you both saw settings at once: the miter, how far the saw swings, and the bevel, how far the blade tilts. Enter the spring angle and wall corner for crown molding cut flat, the corner for a simple miter, or the sides and lean for a hopper box. Get both settings right and the joints close; get one wrong and every corner shows it.Wood Beam Span CalculatorWood Beam Span CalculatorA wood beam span calculator that tells you how far a wood beam can span before it is overstressed or sags too much. Pick the species, size and load, and get the maximum allowable span, checked three ways: bending, deflection and shear, with the governing check named. You get the span and the reason it stops there, so you can see whether a deeper beam, a doubled beam or an LVL gets you the span you need.Beam Deflection CalculatorBeam Deflection CalculatorA beam deflection calculator that works out how far a beam sags under load, in inches, as an L/x ratio, and against the code limit. Pick the support type and load type, enter the span and load, and get the deflection, bending moment and bending stress, checked against L/360, L/240 and L/180 all at once. A beam that sags too much will not break, but the drywall above it and the tile on it will show it.Beam Load CalculatorBeam Load CalculatorA beam load calculator that tells you how much load a beam can carry before it is overstressed or sags too much. Pick the material, size and span, and get the maximum uniform load in lb per foot and the maximum center point load in lb. Checked three ways, bending, deflection and shear, with the governing check named, so you know what the beam in place can actually hold.Bending Stress CalculatorBending Stress CalculatorA bending stress calculator that works out the bending stress in a beam, in psi, from the moment it carries, or from the load and span that create the moment. Get the section modulus, the allowable stress for your material, the utilisation as a percentage, the required section modulus, and the smallest section that would pass. Four numbers that tell you whether a beam is big enough before you build with it.Header & Beam Span CalculatorHeader & Beam Span CalculatorA header size calculator that sizes the header over a door or window opening, the beam that carries the wall above it down to the jack studs. Enter the opening width, what sits above the wall and the tributary width, and get the smallest doubled 2x or LVL header that spans it, with the jack studs, king studs and cut length. A header that is one size short only shows up when the drywall cracks, so size it before you cut.Spiral Staircase CalculatorSpiral Staircase CalculatorThis spiral staircase calculator sizes a spiral stair from the two numbers you know, the floor-to-floor height and the diameter you have room for, so you know before you order whether the stair passes code. It works out the risers, the tread count, the rotation, the tread depth at the walkline, the clear width and the headroom, and checks all four against the IRC spiral-stair rules.Square-Up CalculatorSquare-Up CalculatorThis square up calculator checks that a rectangle is truly square before you pour concrete or nail off a deck, so you catch a crooked layout while it is still cheap to fix. Enter the length and width and it gives the exact diagonal both corners should measure, the 3-4-5 triangle to check a single corner with a tape, and, if you enter your measured diagonals, how far out of square the layout is and which way to push it.Rake Wall CalculatorRake Wall CalculatorFrame a rake wall, the sloped-top gable-end wall under a pitched roof, without doing the trigonometry on the deck. This rake wall calculator gives you every stud length in order, so you can cut each stud right the first time. Enter the wall length, the low-end height, the roof pitch and the stud spacing, and get every stud length, the common difference between studs, the sloped top plate length, the bevel angle for every stud top, and the total lumber to buy.Miter Angle CalculatorMiter Angle CalculatorWork out the saw setting for any miter joint before you cut, so the two faces meet cleanly and you do not waste a board on a wrong angle. This miter angle calculator also covers the angle cut for joining two boards at any corner. Enter the corner angle for a joint, the number of sides for a polygon frame, or the angle for a single cut across one board, and get the miter angle, the saw dial setting, the cut face length, and a reference table for common shapes.Board Foot CalculatorBoard Foot CalculatorA board foot calculator that works out how many board feet of lumber a project needs, what it costs at a price per board foot and how much it weighs, from one board or a whole order. Enter the board size and quantity and the calculator applies the standard board-foot formula, adds your waste allowance and converts the total to cubic feet.Beam Size CalculatorBeam Size CalculatorA beam size calculator that finds the beam that carries your span, so you do not pay for timber you do not need or live with a floor that bounces. Enter the clear span, the tributary width it supports and the live and dead loads, and the calculator checks every size in LVL, glulam or built-up sawn lumber against bending and deflection, and tells you which check fails when a size does not work. Planning estimate only: confirm with your code and a licensed engineer before building.Window Rough Opening CalculatorWindow Rough Opening CalculatorA window rough opening calculator that turns a window unit size into the framed hole it needs, the rough opening, the header length and size, the king and jack studs, the cripples above and below and the rough sill height. Enter the unit size and the shim allowance, and frame it right the first time. The manufacturer published rough opening always wins when it differs.Door Rough Opening CalculatorDoor Rough Opening CalculatorA door rough opening calculator that turns a door size into the framed hole it needs, the rough opening, the header length and size and the jack and king studs, for prehung interior and exterior doors, pocket doors, bifolds and French pairs. Enter the slab size and door type, and the calculator applies that type allowance, including the flooring still to go in.Stair Railing CalculatorStair Railing CalculatorA stair railing calculator that works out everything a stair railing needs, the handrail length along the slope, the number of balusters with a code-safe gap, the newel posts and the cost, for wood, metal or cable rail. Enter the total rise and run of the stair, and the calculator follows the slope, checks the 4-inch sphere rule and prices the job, so no opening is wide enough for a child to slip through.Egress Window CalculatorEgress Window CalculatorAn egress window calculator that checks a bedroom or basement window against the building code before you cut the wall or order the window. Enter the clear opening width and height, the sill height and the room type, and see whether the opening passes all four IRC R310 rules, net clear area, minimum width, minimum height and maximum sill height, plus the window well rules for a below-grade window, and the window size that would pass.Right Angle CalculatorRight Angle CalculatorA right angle calculator that squares corners before a fraction of a degree puts the far end of a 40 ft wall inches off the footing. Enter any two sides of a right triangle to solve the third and both angles, check a corner you have already marked by entering the diagonal you actually measured, or scale the 3-4-5 rule to any size and find a neat multiple that fits your job.Wall Framing CalculatorWall Framing CalculatorA wall framing calculator that works out the full lumber list for a framed wall, not just a stud count. Enter the wall length and height, the stud spacing and the windows and doors, and the calculator gives you every piece: the field studs, the king and jack studs at each opening, the corner studs, the double top plate and bottom plate, the headers, the cripple studs and the sheathing sheets. It is the list you take to the lumber yard.Fastener Spacing CalculatorFastener Spacing CalculatorA fastener spacing calculator that gives you the maximum spacing the code allows, the edge distance the fastener must keep, and the fastener count for the run. A deck board fastened with screws goes 16 in on centre, and a 12 ft run needs 10 screws, one at each joist crossing plus one at the start. A fastener that is too far apart holds nothing, and a fastener that is too close to the edge splits the wood, so check it before you drive the first one.

What you can calculate with framing tools

Stairs, lumber, studs and ramps framed to code-ready counts. Every calculator on this page shows the formula it uses, adds a waste allowance you can change and works in imperial or metric units. Open any tool below to get a quantity you can order, then use the matching unit converters or browse all construction calculators.

Framing calculators: how to plan and order

Framing follows fixed spacing and code rules: studs at 16 or 24 inches on center, joists sized to their span and stairs with a maximum riser height and minimum tread depth. These tools apply the standard formulas to give stud counts, stair stringer dimensions, lumber lists and ramp slopes, so you can order lumber and cut accurately. Roof decking, the plywood or OSB sheathing under the shingles, is covered by the plywood sheathing calculator, which divides sloped roof area by the coverage of a 4x8 sheet and adds waste for cuts.

On-center spacing explained

Wall studs are usually spaced 16 inches on center, and 24 inches in some non-load-bearing or advanced framing designs. To count studs, divide the wall length in inches by the spacing, add one, then add extra studs for corners, openings and intersecting walls. A 20 foot wall at 16 inches on center needs 16 studs plus corners and openings.

Stairs and ramps follow rules

Building codes set stair geometry: a maximum riser height of about 7.75 inches and a minimum tread depth of about 10 inches in most residential codes. Total rise divided by the target riser gives the number of steps, and the stair calculator adjusts the riser to make every step equal. Ramps are limited by slope, commonly 1:12 for accessibility, which means one foot of length for every inch of rise.

Choosing lumber

Use pressure-treated lumber for anything in contact with soil or concrete, and kiln-dried lumber for interior framing. Check span tables for joists and rafters, because the allowed span depends on species, grade, size and spacing. When in doubt, ask for engineered lumber or consult an engineer.

Mistakes that cost the most

Counting studs by length alone and forgetting plates, corners, openings and blocking, and ignoring the stair rules in building codes. Use the on-centre spacing, add the extra studs each corner and opening needs, and buy about 10 percent extra for crooked boards.

What the framing calculators do

Framing is the skeleton of the building, and these six tools cover its most repeated calculations. The wall stud calculator counts studs, plates and opening framing for a wall at 16 or 24 inch spacing. The lumber calculator converts a cut list into board feet and board counts. The stair calculator sizes risers, treads, total run and stringer length within code limits. The ramp slope calculator checks a slope against the 1:12 accessibility limit. The plywood sheathing calculator counts 4 by 8 sheets for walls, floors and roofs, and the anchor bolt calculator spaces the bolts that tie the sill plate to the foundation. Together they turn a plan into a lumber order and a cut list.

How to choose the right framing tool

Match the tool to the decision in front of you. Framing a wall? Start with the wall stud calculator, which handles the spacing, corners and openings in one pass. Ordering lumber for the whole job? Use the lumber calculator with your cut list, since it reports both board feet and the number of boards to buy. Building stairs? The stair calculator is the only one that checks riser height and tread depth against code at the same time. Checking whether a ramp is legal? Use the ramp slope calculator before you build, not after. Sheathing a roof or floor goes through the plywood calculator, and the anchor bolt calculator belongs at the foundation stage. Run the tools in build order, foundation first, so each result feeds the next.

Common framing mistakes

The classic stud-count error is forgetting the plus one: a wall of length L at spacing S needs L divided by S, plus one stud for the far end, and then extra studs for corners, ends and openings. Forgetting that plus one leaves every wall one stud short. The second mistake is mixing nominal and actual lumber sizes, since a 2 by 4 is actually 1.5 by 3.5 inches, and using the nominal size throws off board foot totals and tight fits. The third is letting riser heights vary across a flight: every riser in one flight must be nearly identical or it becomes a trip hazard. Finally, many people order lumber without sorting it, so crowned or bowed boards end up where straight ones were needed. Sort the pile and put the crown up on joists.

Worked example: stairs for a 105 inch rise

Take a floor-to-floor rise of 105 inches with a target riser height of 7.5 inches. Dividing 105 by 7.5 gives exactly 14 risers of 7.5 inches each, which is under the common code maximum of about 7-3/4 inches. With 14 risers there are 13 treads, and at an 11 inch tread depth the total run is 13 times 11, or 143 inches, about 11 ft 11 in. The stringer length is the hypotenuse of the rise and run: the square root of 105 squared plus 143 squared is about 177 inches, or about 14 ft 9 in. Add a 10 percent waste allowance to the lumber order, and check the headroom where the stairs pass under the floor above, since that is the measurement most often forgotten.

Buying and ordering framing lumber

Lumber is sold by the board foot for hardwood and by the piece for dimension lumber, and the board foot formula is thickness in inches times width in inches times length in feet, divided by 12. A 2 by 6 that is 8 ft long is 2 times 6 times 8 divided by 12, or 8 board feet. Order 10 to 15 percent extra for cuts, defects and culling, and more for long walls where straight stock matters. Prices vary by region, species and grade, so compare the delivered total for the whole list rather than the price of one board. Inspect the pile at the yard when you can, reject badly bowed or twisted pieces, and store lumber flat, stickered and covered so it stays straight until you cut it.

Frequently asked questions

Divide the wall length in inches by the spacing (16 or 24), add one, then add studs for corners, openings and ends.

Accessible ramps are limited to a 1:12 slope, which is about 8.3 percent. Steeper ramps need a different design and approval.

Divide the sloped roof area by 32 sq ft per standard 4x8 sheet and add 10 to 15% waste. A 30 ft by 20 ft roof deck is 600 sq ft, so it needs 21 sheets.

At 16 inches on center it is 0.75 studs per foot, plus extras at corners, windows and doors. A rule of thumb is about 1 stud per linear foot of wall.

2x4 is common for interior and many exterior walls, and 2x6 is used where more insulation or strength is needed.

Sixteen inches on centre is the standard for most walls. Twenty-four inches is used for some non-load-bearing or advanced-framed walls, subject to code.

A board foot is 144 cubic inches. Multiply thickness in inches by width in inches by length in feet and divide by 12.

Codes limit the riser height and set a minimum tread depth, with the figures varying by region. The stair calculator helps you plan and the local code decides.

At 16 inches on center, 144 divided by 16 is 9, plus 1 for the far end, so 10 studs before corners and openings. Add king and jack studs for each door or window.

Thickness times width times length divided by 12: 2 times 6 times 8 divided by 12 equals 8 board feet.

At the 1:12 accessibility limit, a 24 inch rise needs a 24 ft run, plus level landings at the top and bottom. Steeper ramps need a different design.