Framing Calculator

Use this free framing calculator to estimate how many studs, total linear feet of lumber, and number of boards you need for any wall, shed, deck, or roof framing project. Enter your wall dimensions and stud spacing — 12, 16, or 24 inches on center — and the calculator instantly tells you the stud count, total lumber needed including top and bottom plates, and a material and installation cost estimate based on 2026 pricing.

By ConstructlyTools · Published: March 14, 2026 · Updated: April 3, 2026
Framing Calculator
📐 Formula Used
Studs = (Wall Length ÷ Stud Spacing) + 1
Lumber (linear ft) = Studs × Wall Height + Top & Bottom Plates (2 × Wall Length)
Studs Needed
0 studs
Enter measurements above to get your estimate
Total Lumber
0 linear ft
2×4 Boards (8ft)
0 boards
Material Cost
Total Est. Cost

Includes top plate, bottom plate & all studs · 2×4 lumber ~$4–$8 per 8 ft board · Always add 10–15% for waste, headers & blocking

Estimates based on 2026 US average pricing. Lumber prices fluctuate — always confirm current pricing at your local lumber yard.

Understanding the Calculator Inputs

This calculator estimates stud count, total lumber in linear feet, number of 8 ft boards to buy, and material and labor cost for five common framing project types. Here's what each input means and when to adjust the defaults.

Wall Length

Enter the full exterior length of the wall being framed — not the net interior measurement. For a room with multiple walls, run the calculator once per wall and add the results. For shed framing, enter each wall length separately. The stud count formula adds one stud for the starting corner, so running separate walls gives a more accurate total than treating the perimeter as one continuous run.

Wall Height

Standard residential wall height is 8 ft. Many newer homes use 9 ft (pre-set as default here) or 10 ft ceilings for a more open feel. Taller walls use proportionally more lumber per stud but don't change the stud count formula. For vaulted or cathedral ceilings where height varies, use the average height across the wall. Shed walls are typically 7–8 ft at the eave.

Stud Spacing

16" on center is the US building code standard for load-bearing walls and most exterior walls. It's the safe default for any wall where you're unsure. 24" on center is permitted for non-load-bearing interior partition walls and is used in advanced framing (OVE — Optimum Value Engineering) to save lumber — roughly 25% fewer studs. 12" on center is used for heavy loads, tall walls over 10 ft, or high-wind/seismic zones where extra rigidity is required. Never use 24" OC on a load-bearing wall without engineering approval.

Project Type

The project type adjusts the material cost per linear foot (lumber grade and species appropriate for that use) and the labor cost per square foot of wall. Deck framing uses pressure-treated lumber at higher cost than interior walls. Roof framing uses more complex cuts at higher labor rates. Interior walls use standard SPF dimensional lumber at the lowest cost per linear foot.

💡 Add 10–15% Before You Order

The calculator gives you the theoretical minimum. Real framing jobs always need more — waste from cuts, damaged boards at the lumberyard, extra studs for door and window trimmers, blocking between studs for future shelf brackets, and the occasional miscalculation. Order 10% extra for simple rectangular walls, 15% for walls with multiple openings or complex layouts. Running short mid-frame means a return trip that costs more in time than the extra lumber.

3 Real-World Framing Examples

These are realistic project scenarios with complete material lists — not just stud counts. Each shows what you'd actually bring to the lumber yard.

Example 1 — Basement Partition Wall (16 ft × 8 ft, 16" OC)

A non-load-bearing interior wall dividing a basement into a bedroom and utility area. Standard 2×4 SPF framing, no windows, one door opening.

ItemQtyUnit CostTotal
2×4×8 ft studs (16" OC)13 studs + 15% = 15 boards$4–$7 each$60–$105
2×4×16 ft top plate1 piece (doubled = 2 needed)$12–$18 each$24–$36
2×4×16 ft bottom plate1 piece$12–$18$12–$18
Door header (doubled 2×6, 36" opening)2 pieces × 4 ft$6–$10 each$12–$20
King studs + trimmers (door)4 pieces cut to height$4–$7 each$16–$28
Concrete screws (bottom plate to slab)1 box$10–$15$10–$15
Total materials (DIY)$134–$222
Contractor installed$900–$2,000

Real-world note: Basement partition walls are one of the most common DIY framing projects. The main challenge: concrete slab floors require powder-actuated nailers or concrete screws for the bottom plate — a standard nail gun won't work. Rent a powder-actuated tool ($20–$40/day) or use Tapcon concrete screws with a hammer drill. Also note: if the basement has any moisture history, use pressure-treated lumber for the bottom plate only — it costs ~$5 more but resists rot if water ever contacts it.

Example 2 — Exterior Wall Addition (20 ft × 9 ft, 16" OC)

Framing a new 20 ft exterior wall for a home addition or garage conversion. Load-bearing, 2×6 framing for insulation depth, two window openings.

ItemQtyUnit CostTotal
2×6×10 ft studs (16" OC)16 studs + 15% = 19 boards$9–$14 each$171–$266
2×6×20 ft double top plate4 pieces (2 plates, spliced)$18–$26 each$72–$104
2×6×20 ft bottom plate (PT)2 pieces$22–$32 each$44–$64
Window headers (2 openings, doubled 2×8)4 pieces × 4 ft each$10–$16 each$40–$64
King studs + trimmers (2 windows)8 pieces$9–$14 each$72–$112
Sill plates + cripple studs (2 windows)~10 pieces$9–$14 each$90–$140
Structural hardware (joist hangers, anchors)1 lot$60–$100$60–$100
Total materials (DIY)$549–$850
Contractor installed$2,000–$4,000

Real-world note: Exterior load-bearing walls require 2×6 framing in most cold-climate codes to accommodate R-19 to R-21 batt insulation. In warm climates (zones 1–3), 2×4 walls with exterior foam insulation may be acceptable — check your local energy code. Every window opening in a load-bearing wall requires an engineered header sized for the span — 36" openings typically use doubled 2×6, 48" openings use doubled 2×8. Undersized headers are a code violation and structural risk.

Example 3 — Shed Framing (12×16 ft, All 4 Walls + Roof)

Complete framing material list for a 12×16 ft gable-roof shed. 7 ft eave height, 16" OC, standard 2×4 SPF walls, 2×6 rafters.

ItemQtyUnit CostTotal
2×4×8 ft wall studs (all 4 walls)~60 studs + 15% = 70 boards$4–$7 each$280–$490
2×4 plates (top + bottom, all walls)~12 pieces (various lengths)$6–$14 each$72–$168
2×6×12 ft rafters10 pairs = 20 pieces + 15%$12–$18 each$240–$414
Ridge board (2×8×16 ft)1 piece$28–$40$28–$40
2×4×12 ft collar ties10 pieces$8–$12 each$80–$120
Door header + framing1 opening kit$30–$60$30–$60
Structural hardware (hurricane ties, joist hangers)1 lot$80–$140$80–$140
Total framing materials$810–$1,432
+ Sheathing (walls + roof)$400–$700
Total framing + sheathing$1,210–$2,132

Real-world note: This is framing and sheathing only — not roofing, siding, doors, windows, or foundation. A complete 12×16 shed build typically runs $4,000–$9,000 contracted or $1,800–$3,500 in DIY materials for everything. Use our plywood calculator to calculate exact sheathing quantities and our shed cost calculator for the full project budget including foundation and electrical.

Lumber Size Reference Chart

Lumber is sold by nominal size — the name it goes by at the store — but the actual dimensions are smaller due to the drying and planing process. This matters when you're calculating fits, clearances, and load capacities.

Nominal SizeActual SizeCommon UseAvg Price (8 ft)Pressure Treated
2×31.5" × 2.5"Non-load-bearing blocking, nailers$3–$5N/A
2×41.5" × 3.5"Interior & exterior wall studs$4–$8$6–$11
2×61.5" × 5.5"Exterior walls (cold climate), floor joists$7–$12$10–$16
2×81.5" × 7.25"Floor joists, window/door headers$10–$16$14–$22
2×101.5" × 9.25"Long-span floor joists, ridge boards$14–$22$18–$28
2×121.5" × 11.25"Beams, stair stringers, long spans$18–$28$24–$36
4×43.5" × 3.5"Posts, corners, deck framing$8–$14$12–$20
4×63.5" × 5.5"Beams, heavy-load deck posts$14–$22$20–$30
6×65.5" × 5.5"Heavy posts, pergola columns$22–$35$28–$45

Prices are for standard SPF (Spruce-Pine-Fir) at national average 2026 pricing. Pressure treated adds 40–60% to cost. Douglas Fir runs 10–20% above SPF. Prices fluctuate with lumber market conditions — always check current pricing at your lumber yard before finalizing your budget.

When to Use Pressure Treated Lumber

Pressure treated (PT) lumber is required by code anywhere lumber contacts or comes close to concrete, soil, or moisture:

  • Bottom plates on concrete slabs — any wall plate sitting directly on a concrete floor or slab
  • Ground-contact applications — posts, beams, or framing within 6 inches of grade
  • Deck framing — all structural members of an outdoor deck exposed to weather
  • Exterior sill plates — the bottom plate of any exterior wall sitting on a foundation

You do not need PT lumber for interior wall studs, interior partition plates above the slab, or any framing more than 6 inches above grade that's protected by exterior sheathing.

Stud Count Quick Reference

Quick lookup for common wall lengths at standard spacing. All counts include end studs. Add 15% for waste and add extra for door/window king studs and trimmers.

Wall Length16" OC Studs24" OC Studs8 ft Boards (16" OC)Linear Ft (16" OC, 9 ft wall)
8 ft7 studs5 studs~10 boards~79 linear ft
10 ft9 studs6 studs~12 boards~101 linear ft
12 ft10 studs7 studs~14 boards~114 linear ft
16 ft13 studs9 studs~18 boards~149 linear ft
20 ft16 studs11 studs~23 boards~184 linear ft
24 ft19 studs13 studs~27 boards~219 linear ft
30 ft24 studs16 studs~33 boards~276 linear ft
40 ft31 studs21 studs~44 boards~359 linear ft

Board count includes 15% waste. Linear footage includes studs + top plate + bottom plate at 9 ft wall height. Does not include headers, blocking, or king studs.

💡 Stud Spacing Decision Guide

16" OC — use for all load-bearing walls, all exterior walls, any wall where you're unsure, and any wall that will have tile or heavy finishes. 24" OC — acceptable for non-load-bearing interior partition walls only; saves ~25% on lumber but requires thicker drywall (5/8" instead of 1/2") to prevent sagging between studs. Never guess — if you don't know whether a wall is load-bearing, treat it as load-bearing and use 16" OC until you can confirm with a structural engineer.

Framing Cost by Project Type (2026)

Framing costs vary significantly by project type, lumber species, and whether you hire out or DIY. All figures are 2026 US national average pricing.

Cost Per Square Foot by Project Type

Project TypeMaterial $/sq ftInstalled $/sq ftTypical Project Cost
Interior Partition Wall$1–$3$7–$16$700–$2,400 (100 sq ft wall)
Exterior Load-Bearing Wall$2–$5$10–$20$1,000–$3,000 (100 sq ft wall)
Shed / Outbuilding$3–$6$12–$25$1,500–$5,000 (12×16 shed walls)
Deck Framing (PT lumber)$4–$8$15–$30$3,000–$9,000 (200 sq ft deck)
Roof Framing$5–$10$18–$35$5,000–$14,000 (1,500 sq ft roof)
New Home (full framing)$7–$16$20–$40$30,000–$80,000 (2,000 sq ft home)

Contractor Labor Rate by Region (2026)

RegionFraming Labor Ratevs National Average
Southeast (GA, FL, NC, SC)$8–$14/sq ft wall15–20% below average
Midwest (OH, IN, MI, MN)$9–$16/sq ft wallAt or near average
Mid-Atlantic (VA, MD, PA)$11–$18/sq ft wall10–20% above average
Northeast (NY, MA, CT)$14–$24/sq ft wall30–45% above average
Pacific Coast (CA, WA, OR)$15–$28/sq ft wall35–50% above average
💰 Lumber Price Volatility Warning

Lumber prices are the most volatile input in any framing estimate. They swung 300%+ between 2020 and 2022 and continue to fluctuate based on mill capacity, tariffs, and housing demand. The prices in this calculator reflect 2026 national averages but can be out of date within months. Always confirm current pricing at your local lumber yard before finalizing any framing budget — the material cost difference between a good month and a bad month can be 20–30% on a large project.

What the Calculator Doesn't Count

The stud count and lumber total cover the basic wall structure — studs, top plate, bottom plate. Every real framing job requires additional materials the calculator doesn't include. Plan for all of these before ordering.

Headers Above Every Opening

Every door and window requires a structural header — a beam spanning the opening that transfers load around the gap. Headers are made from doubled dimensional lumber (2×6, 2×8, 2×10, or 2×12 depending on span) or engineered LVL beams. A standard 32" door opening needs a doubled 2×6 header; a 48" window needs a doubled 2×8; a 6 ft garage door needs a doubled 2×12 or an engineered beam. Headers are not in the stud count but can add 5–15% to total lumber depending on the number of openings.

King Studs and Trimmers

Every door and window opening requires two king studs (full-height studs on each side of the opening) and two trimmer studs (shorter studs that support the header ends). That's 4 extra studs per opening — plus cripple studs above the header filling to the top plate. A wall with 3 windows and 1 door needs 16+ extra stud pieces beyond the basic wall calculation.

Blocking

Horizontal blocking between studs is required in many situations: fire blocking (required by code at specific heights in tall walls and at floor-ceiling transitions), backing for future fixtures (grab bars, TV mounts, heavy shelving), and structural blocking between floor joists. For a bathroom being framed, always install blocking at 33–36" height on every wall where grab bars might eventually be mounted — retrofitting blocking later means cutting open finished walls.

Corner and Intersection Framing

Every exterior corner requires 3 studs — two to form the corner and one as a nailer for the interior finish. Every interior wall that meets an exterior wall requires a corner assembly that adds 2–3 studs. On a typical room with 4 corners and 2 intersecting walls, that's 10–18 additional studs beyond the basic wall count.

Structural Hardware

Modern framing requires metal connectors that aren't lumber but are required by code and structural engineering: hurricane ties (rafter-to-wall plate connections), joist hangers (floor and ceiling joist connections), post bases (post-to-foundation connections), and hold-down anchors (required in seismic and high-wind zones). Budget $80–$250 in structural hardware for a typical room addition or shed, and more for seismic zones.

Sheathing

Structural wall sheathing (OSB or plywood applied to exterior walls) and roof decking are separate from framing lumber. Use our plywood calculator to estimate sheathing quantities. A typical exterior wall uses one 4×8 sheet per 32 sq ft of wall area — a 20 ft × 9 ft wall needs approximately 6 sheets of OSB.

⚠️ Never Touch a Load-Bearing Wall Without Engineering

Removing or modifying a load-bearing wall without a structural engineer's review is one of the most dangerous things a DIYer can do. Load-bearing walls transfer the weight of the roof and upper floors to the foundation — removing one without proper temporary shoring and a permanent engineered beam causes structural collapse. Signs a wall may be load-bearing: it runs perpendicular to floor joists, it sits directly above a beam in the basement or crawlspace, it runs through the center of the house parallel to the ridge. When in doubt, hire a structural engineer ($300–$700) before touching anything.

Common Framing Estimation Mistakes

Calculating Only the Net Wall Area

A 20 ft wall with a 3 ft door and a 4 ft window has 13 ft of solid wall — but you still need studs positioned every 16" across the full 20 ft run, plus extra studs for the window and door framing. Framing doesn't stop at openings; it frames around them. Calculate studs for the full wall length, then add window and door framing separately.

Forgetting the Double Top Plate

Load-bearing walls require a double top plate — two layers of horizontal lumber at the top of the wall. This is required by code and is what ties adjacent wall sections together at corners and splices. Most calculators and first-time builders account for one top plate. The second plate adds one full wall length of lumber to your material list — easy to forget, immediately visible when you run short on framing day.

Using Indoor Lumber for Outdoor Applications

Standard KD (kiln dried) SPF lumber used for interior framing will rot within 2–5 years when used in applications that contact concrete, soil, or persistent moisture. Using untreated lumber for deck framing, shed floor systems, or bottom plates on concrete slabs is both a building code violation and a structural failure waiting to happen. Pressure treated lumber costs 40–60% more but is the only appropriate choice for these applications.

Not Accounting for Lumber Length Waste

A 9 ft wall stud cut from a 10 ft board wastes 1 ft per piece — 10% waste per board. An 8 ft board used as a 9 ft stud doesn't work at all, requiring two pieces to be scabbed together. Always match your lumber lengths to your wall height efficiently: 9 ft walls use 10 ft studs, 8 ft walls use 8 ft studs, 10 ft walls use 10 or 12 ft studs. Mismatched lengths generate significant waste and trips back to the lumber yard.

Ignoring the Permit and Inspection Requirements

Most structural framing — adding walls, removing walls, building additions — requires a building permit and a framing inspection before walls are closed in with drywall. Skipping permits saves time upfront and creates problems when selling: buyers' inspectors find unpermitted work, title companies flag open permits, and insurance claims on structures with unpermitted modifications are routinely denied. The permit process for a standard room addition or wall addition typically costs $200–$800 and takes 1–3 weeks.

Factors That Affect Framing Cost

Lumber Species and Grade

Standard SPF (Spruce-Pine-Fir) #2 grade is the most common framing lumber and the most affordable. Douglas Fir is stronger and costs 10–20% more — preferred for long spans and high-load applications. Southern Yellow Pine is strong and rot-resistant but heavier and more expensive. For exterior and ground-contact applications, pressure treated lumber is required regardless of species — it adds 40–60% to material cost.

Wall Complexity

Simple rectangular walls are the cheapest to frame — minimal cuts, predictable stud layout, fast installation. Angled walls, curved walls, cathedral or vaulted ceiling framing, and multi-story walls all increase labor time significantly. Expect 25–50% higher labor costs for complex geometry vs standard rectangular framing. Roof framing is the most complex — complex roof lines with valleys, hips, and dormers can run 3–5× the labor cost of simple gable framing.

Engineered Lumber vs Dimensional

LVL (laminated veneer lumber) beams, I-joists, and PSL (parallel strand lumber) are engineered wood products that span farther and carry more load than dimensional lumber of the same size. They cost 2–4× more but allow longer spans without intermediate posts — eliminating load-bearing walls and creating open floor plans. For headers over large openings (garage doors, wide windows), engineered beams are often the only code-compliant option.

Seismic and Wind Zone Requirements

In earthquake zones (California, Pacific Northwest, parts of the Midwest) and hurricane zones (Gulf Coast, Atlantic Coast), framing requires additional structural connections, shear panels, and hold-down hardware not needed in inland locations. These requirements add $1,000–$5,000+ to a typical framing project in high-risk zones. Always verify local structural requirements before finalizing a framing plan.

How We Estimate Costs

Transparent about where the numbers come from and what they represent.

The Stud Count Formula

Studs = CEILING(Wall Length in inches ÷ Stud Spacing) + 1

The ceiling function rounds up to ensure you always have enough studs. The +1 accounts for the closing stud at the far end of the wall. This is the standard formula used in contractor framing takeoffs and matches the methodology in RSMeans framing labor unit data.

Total Lumber Formula

Total linear feet = (Studs × Wall Height) + (2 × Wall Length)

The second term accounts for one top plate and one bottom plate. Load-bearing walls require a double top plate — add one additional wall length to the total for these walls. The calculator uses a single top plate by default; add 15% waste to cover the double plate on load-bearing applications.

Material Cost Ranges

Material cost per linear foot is derived from retail lumber pricing at Home Depot, Lowe's, and regional lumber yards for the appropriate lumber species for each project type (SPF for interior walls, pressure treated for deck framing, etc.), updated as of early 2026. The ranges reflect the low and high ends of current market pricing for standard grades — premium grades and specialty species will exceed the high end.

Labor Cost Ranges

Labor cost per square foot of wall is sourced from contractor bid data on HomeAdvisor and Angi for clearly scoped framing projects, cross-referenced with RSMeans labor unit data for residential framing. The ranges represent the 20th to 80th percentile of actual contractor bids — excluding the cheapest (often incomplete scope) and most expensive (premium market or complex projects). National average — regional adjustment is covered in the cost table above.

💡 Why This Calculator Shows Ranges

A 2×4 stud costs $4.50 at one lumber yard and $7.80 at another in the same city on the same day. Framing labor runs $9/sq ft in rural Georgia and $24/sq ft in Manhattan. Showing a single number would be meaningless. The ranges reflect real market pricing — use the midpoint for planning, the high end as your ceiling, and get actual quotes from local suppliers and contractors for final budgeting.

Frequently Asked Questions

How many studs do I need per linear foot of wall?+
At 16" on center spacing, you need approximately 0.75 studs per linear foot of wall (plus 1 for the end stud). At 24" on center, approximately 0.5 studs per linear foot. Quick formula: (Wall length in feet × 12) ÷ stud spacing in inches, then add 1 and round up. For a 20 ft wall at 16" OC: (20 × 12) ÷ 16 = 15 + 1 = 16 studs. Add 10–15% for waste plus additional studs for any door or window openings.
How many studs do I need for a 10×10 room?+
A 10×10 ft room has 40 linear feet of wall perimeter. At 16" OC with 9 ft walls: approximately 9 studs per 10 ft wall × 4 walls = 36 studs, plus corner and intersection framing adds 10–12 more = approximately 46–50 studs total. Add 1 door opening (4 extra studs for king studs and trimmers + header) for a grand total of around 50–56 studs. Buy 60 boards to account for waste and give yourself a buffer. Use the calculator above for the exact count — enter each wall separately and add the results.
What is the standard stud spacing for walls?+
16 inches on center is the US standard for load-bearing interior and exterior walls and is required by most building codes. 24 inches on center is allowed for non-load-bearing partition walls and is used in advanced framing to save lumber — it reduces stud count by about 25% but requires checking local code. Never use 24" OC on a load-bearing wall without engineering approval. 12 inches on center is used for extra rigidity in high-load or tall wall applications.
How much does it cost to frame a wall?+
Framing an interior partition wall costs $7–$16 per square foot installed by a contractor at national average pricing. A standard 10×9 ft interior wall (90 sq ft) runs $630–$1,440 installed. DIY materials for the same wall cost approximately $80–$180 in lumber — saving $550–$1,260 in labor. For exterior load-bearing walls, expect $10–$20/sq ft installed. In the Northeast and Pacific Coast, add 30–50% to these figures for regional labor costs.
How much does it cost to frame a house?+
Framing a new 2,000 sq ft house costs $30,000–$80,000 depending on design complexity, lumber prices, and region. This covers all wall framing, floor systems, and roof framing — not sheathing, insulation, drywall, or finish materials. Complex roof designs (multiple valleys, dormers, hips) and multi-story homes push toward the high end. Simple single-story slab-on-grade homes with a gable roof land at the low end. In high-cost markets like California, framing a 2,000 sq ft home routinely exceeds $100,000.
What size lumber is used for wall framing?+
2×4 lumber is standard for interior walls and many exterior walls in mild climates. 2×6 is used for exterior walls in cold climates (allows R-19–R-21 insulation vs R-13–R-15 in 2×4 walls) and for load-bearing walls requiring extra strength. 2×6 exterior walls are required by energy codes in many northern US states. The actual dimensions: a 2×4 is 1.5" × 3.5"; a 2×6 is 1.5" × 5.5" — the extra 2 inches is entirely for insulation depth.
Do I need a permit to frame a wall?+
Yes in most cases — adding or removing walls (especially load-bearing) requires a building permit in most US jurisdictions. Moving a small non-structural closet partition may not require a permit, but check with your local building department first. Any framing connected to electrical, plumbing, or HVAC work always requires permits. Unpermitted framing creates problems when selling — inspectors flag it, title companies hold closings, and it may need to be removed or permitted retroactively.
How accurate is this framing calculator?+
Very accurate for basic stud count and lumber quantity for simple rectangular walls. It includes studs, top plate, and bottom plate — the three primary framing components. It does not include headers, king studs, trimmers, blocking, corner assemblies, or structural hardware — add 10–15% to the lumber total for these on simple walls with one door opening, or 20–25% for walls with multiple openings. Always confirm current lumber pricing with your local supplier — prices can shift 15–20% in a few months.
Scroll to Top