---
title: "Framing Calculator: Studs, Plates and Headers for a Wall – Simple House Planner"
description: "Free wall framing calculator: enter the wall length, height and stud spacing to count studs, plates, headers, king, jack and cripple studs, with a drawing."
url: "https://simplehouseplanner.com/tools/framing-calculator/"
---

1.  [Simple House Planner](https://simplehouseplanner.com/)
2.  [Calculators](https://simplehouseplanner.com/tools/)
3.  Wall framing calculator

# Wall framing calculator

Enter the wall length and height, the stud spacing, and the doors and windows. The calculator lays out the wall and counts the studs, the king, jack and cripple studs, the headers and the plates. A drawing shows the wall from the front, to scale.

Your wall

Units

Feet and inches Metric

Wall length Wall height

The height of the frame, from the bottom of the bottom plate to the top of the top plate.

Stud spacing, on center

16 in 24 in

Stud spacing, on center

400 mm 600 mm

Wall

Exterior Interior

Corners at the ends of the wall

None One end Both ends

Doors Windows

Walls that meet this wallWalls that butt into this one between its ends. Each gets a stud at both sides. Spare studs, %Empty uses 10 %, for bent, split and miscut studs. Door and window sizes

Door rough opening, width Door rough opening, height

Window rough opening, width Window rough opening, height

Window sill heightFrom the bottom of the frame to the bottom of the rough opening.

The rough opening is the hole in the frame. For a 36 × 80 in prehung door it is 38 × 82 1/2 in. For a window, read it in the maker's catalog. The default window puts its head level with the door's.

Headers, plates and lumber

Header One flat 2 × 4, nonbearing walls Two 2 × 6 Two 2 × 8 Two 2 × 10 Two 2 × 12

Jack studs at each side of an opening

1 2

Top plates

Double Single

Plate board length Lumber thickness

The header size and the number of jack studs come from your plans or from the span tables of your code. A 2 × 4 or 2 × 6 is 1 1/2 in (38 mm) thick.

Enter sizes the calculator can read, such as 20' or 6 m, and whole numbers for the doors, windows and walls that meet. The doors and windows must fit in the wall, and each header must fit under the top plate.

Studs to buy

Stud length

Studs before spares

Full-height studs

On the layout and at the ends

At corners

At walls that meet

King studs

Jack studs

Cripple studs

Header boards

Window sills

Plates

Plate boards

Wall area

Rough openings

4 × 8 ft sheets1200 × 2400 mm sheets, one side

The wall from the front, to scale. The calculator spreads the doors, windows and walls that meet evenly along the wall.

Jack studs and cripples are cut from studs; the count of studs includes them. Plates include the window sills and a flat header. Sheets cover one side less the openings, without waste.

## How the calculator works

1.  **Stud length.** The wall height less the bottom plate and the top plates: 96 − 3 × 1 1/2 = 91 1/2 in for an 8 ft wall with a double top plate.
2.  **Layout.** A stud at each end, and studs on centers measured from the left end: 16, 32, 48 in and on. Where a door, a window or a meeting wall falls on the layout, its own studs take the place of the layout studs.
3.  **Corners.** At each end that meets another wall at a corner, one more stud beside the end stud, to carry the other wall's drywall.
4.  **Openings.** Each door and window gets king studs from plate to plate, jack studs under the header, and a header. A window also gets a sill and cripple studs under it. Cripples above a header stand on the layout.
5.  **King studs.** In an exterior wall, the number at each side of a header comes from IRC Table R602.7.5. In an interior wall, one at each side.
6.  **Studs to buy.** The full-height studs, plus the studs that the jacks and cripples are cut from, plus the spares, rounded up.
7.  **Plates.** The wall length once for the bottom plate and once for each top plate, plus the sills and a flat header, divided into boards of the length you buy.

## Worked example

An exterior wall is 20 ft (6.10 m) long and 8 ft (2.44 m) high, with studs 16 in (406 mm) on center and a corner at both ends. It has one 36 × 80 in door and two 36 × 48 in windows, double 2 × 8 headers, one jack stud at each side and a double top plate.

| Step | Calculation | Result |
| --- | --- | --- |
| Stud length | 96 in − 3 × 1 1/2 in | 91 1/2 in (2324 mm) |
| Layout and end studs | 14 layout marks, 8 of them inside the openings, plus 2 end studs | 8 |
| Corner studs | 1 at each end | 2 |
| King studs | 3 openings × 2 sides × 1 | 6 |
| Full-height studs | 8 + 2 + 6 | 16 |
| Jack studs | 3 openings × 2, each 81 in long | 6 studs |
| Cripples above the headers | 8 pieces of 3 1/4 in, from 1 stud | 1 stud |
| Cripples under the windows | 8 pieces of 31 1/2 in, 2 from each stud | 4 studs |
| Studs to buy | (16 + 6 + 1 + 4) × 1.10 = 29.7 | 30 studs |
| Header boards | 2 × 41 in for the door, 4 × 39 in for the windows | 6 boards of 2 × 8 |
| Plates | 3 × 20 ft + 2 sills × 36 in | 66 ft (20.1 m) |
| Plate boards | 66 ft ÷ 16 ft = 4.1 | 5 boards of 16 ft |
| Sheets, one side | (160 − 45.8) sq ft ÷ 32 sq ft = 3.6 | 4 sheets of 4 × 8 ft |

The rough openings are 38 × 82 1/2 in for the door and 36 × 48 in for the windows, with the sills at 34 1/2 in. A header is the opening plus a jack stud at each side: 38 + 2 × 1 1/2 = 41 in. With studs 24 in (610 mm) on center, the same wall takes 28 studs.

## Studs by wall length

For a straight wall with no openings, corners or walls that meet, divide the length in inches by the spacing, round up, and add 1 for the stud at the start.

| Wall length | 16 in on center | 24 in on center |
| --- | --- | --- |
| 8 ft (2.44 m) | 7 | 5 |
| 10 ft (3.05 m) | 9 | 6 |
| 12 ft (3.66 m) | 10 | 7 |
| 16 ft (4.88 m) | 13 | 9 |
| 20 ft (6.10 m) | 16 | 11 |
| 40 ft (12.19 m) | 31 | 21 |

The counts are before spares. Each corner, opening and meeting wall adds studs; the calculator counts them.

## Stud spacing in the IRC

The International Residential Code (IRC) gives the largest stud spacing in Table R602.3(5). These are the limits for 2 × 4 and 2 × 6 studs.

| Wall | 2 × 4 studs | 2 × 6 studs |
| --- | --- | --- |
| Bearing, supports a roof and ceiling only | 24 in | 24 in |
| Bearing, supports one floor and a roof and ceiling | 16 in | 24 in |
| Bearing, supports two floors and a roof and ceiling | Not allowed | 16 in |
| Nonbearing | 24 in | 24 in |

The table also limits the stud height between supports: 10 ft for 2 × 4 and 2 × 6 bearing studs, 14 ft for 2 × 4 and 20 ft for 2 × 6 nonbearing studs. Section R602.3.2 asks for a double top plate, with an exception for a single top plate tied with steel plates. Interior nonbearing walls need at least a single top plate (R602.5).

## King studs, jack studs and headers

A header carries the load over an opening. Jack studs under its ends carry it to the bottom plate, and king studs beside them run from plate to plate. IRC Table R602.7.5 gives the king studs at each end of a header in an exterior wall, for wind under 140 mph in exposure B or under 130 mph in exposure C.

| Header span | King studs at each end |
| --- | --- |
| Up to 4 ft (1.22 m) | 1 |
| Over 4 ft, up to 8 ft (2.44 m) | 2 |
| Over 8 ft, up to 14 ft (4.27 m) | 3 |
| Over 14 ft, up to 18 ft (5.49 m) | 4 |

For a span between two rows of the IRC's table, the larger row applies. The calculator takes the rough opening width as the span. The header size and the number of jack studs depend on the span, the loads and the snow; IRC Table R602.7(1) gives them for exterior bearing walls. The calculator does not size headers: choose the size from your plans or that table.

A nonbearing wall needs no load-bearing header. IRC section R602.7.4 allows one flat 2 × 4 as the header over an opening up to 8 ft (2.44 m) wide, with no cripples above it, when the space to the top plate is 24 in (610 mm) or less. Where the space is larger, the calculator puts cripples on the layout above it.

## Lumber sizes

A 2 × 4 is not 2 by 4 inches. The American Softwood Lumber Standard, PS 20, gives the dry dressed sizes.

| Nominal size | Actual size | In millimeters |
| --- | --- | --- |
| 2 × 4 | 1 1/2 × 3 1/2 in | 38 × 89 mm |
| 2 × 6 | 1 1/2 × 5 1/2 in | 38 × 140 mm |
| 2 × 8 | 1 1/2 × 7 1/4 in | 38 × 184 mm |
| 2 × 10 | 1 1/2 × 9 1/4 in | 38 × 235 mm |
| 2 × 12 | 1 1/2 × 11 1/4 in | 38 × 286 mm |

Two 2 × 8 boards with a 1/2 in spacer make a header as thick as a 2 × 4 wall is deep. The calculator counts the boards; it does not count the spacer.

## Corners and walls that meet

Exterior corners are typically framed with three studs. The U.S. Department of Energy notes that the third stud generally only gives the drywall a nailing edge, and that a two-stud corner with drywall clips leaves more room for insulation. The calculator counts the third stud in the wall you enter; the other wall's end stud belongs to that wall. For a two-stud corner, choose None.

Where a wall butts into this wall between its ends, the calculator adds a stud at each side of the meeting wall, 3 1/2 in (89 mm) apart, to take its end stud and the drywall.

To board the wall, use the [drywall calculator](https://simplehouseplanner.com/tools/drywall-calculator/): it adds waste and counts the joint compound, tape and screws.

## Draw the walls before you frame them

Draw the walls, doors and windows of a whole floor to scale and read each wall's length from the plan. See the house in 3D, with several floors under a gable, hip, shed or flat roof. Export a PDF to scale, or DXF for CAD. Free, in your browser, with no account.

[Open editor](https://simplehouseplanner.com/app/) [Edit with ChatGPT](https://simplehouseplanner.com/chatgpt/)

## Questions

### How many studs do I need for a 12 ft wall?

10 studs at 16 in on center and 7 at 24 in on center, for a wall with no openings or corners. Add 10 % for spares: 11 and 8. Each door, window and corner adds studs.

### How do I calculate studs 16 inches on center?

Divide the wall length in inches by 16, round up, and add 1. A 20 ft wall is 240 in: 240 ÷ 16 = 15, plus 1 is 16 studs. Then add the studs for corners, openings and meeting walls, and spares.

### How many studs per foot of wall?

About 3/4 of a stud for each foot at 16 in on center, and 1/2 at 24 in on center, plus one. With openings and corners, a wall takes more.

### How long are the studs for an 8 ft wall?

91 1/2 in (2324 mm) with a bottom plate and a double top plate: 96 − 3 × 1 1/2 in. With a single top plate, 93 in.

### How many studs go beside a door or window?

At each side, a jack stud under the header and a king stud from plate to plate. In an exterior wall, IRC Table R602.7.5 asks for 2 king studs at each side of a header over 4 ft and up to 8 ft, and more for wider spans.

### What is a cripple stud?

A short stud above a header or below a window sill. Cripples stand on the stud layout, so that sheathing and drywall have something to fasten to.

### Does an interior wall need a header?

A nonbearing wall needs no load-bearing header (IRC R602.7.4). One flat 2 × 4 may serve over an opening up to 8 ft wide when the space above it is 24 in or less. An interior bearing wall is framed like an exterior wall (R602.4).

### How much extra lumber should I buy?

A typical allowance is about 10 % more studs, for bent, split and miscut ones. Type your own percent in the calculator.

## Sources

-   [International Code Council: 2021 International Residential Code, chapter 6, Wall construction](https://codes.iccsafe.org/content/IRC2021P2/chapter-6-wall-construction)
-   [City of Seattle: 2021 Seattle Residential Code, chapter 6, with sections R602.3, R602.5, R602.7.4 and R602.7.5 and Tables R602.3(5) and R602.7.5 of the International Residential Code (PDF)](https://www.seattle.gov/documents/Departments/SDCI/Codes/SeattleResidentialCode/2021SRCChapter6.pdf)
-   [NIST: Voluntary Product Standard PS 20-20, American Softwood Lumber Standard, Table 3 (PDF)](https://www.alsc.org/greenbook%20collection/ps20.pdf)
-   [U.S. Department of Energy: Advanced framing, insulated corners](https://bsesc.energy.gov/energy-basics/advanced-framing-insulated-corners)
-   [The Home Depot: Interior prehung door installation, prehung unit size selector (PDF)](https://images.thdstatic.com/catalog/pdfImages/b9/b97d282c-edf2-40b5-849c-31cf8742166b.pdf)
-   [Drywall calculator](https://simplehouseplanner.com/tools/drywall-calculator/)
-   [Ceiling height: standard, minimum and basement ceiling heights](https://simplehouseplanner.com/guides/ceiling-height/)

## Embed this calculator

Add this calculator to your website. Copy the code and paste it into your page.

```
<iframe src="https://simplehouseplanner.com/tools/framing-calculator/?embed" title="Wall framing calculator" width="100%" height="760" style="border: 1px solid #d9d9d9; border-radius: 12px" loading="lazy"></iframe>
<p><a href="https://simplehouseplanner.com/tools/framing-calculator/">Wall framing calculator</a> · Simple House Planner</p>
```

Copy code

## Calculators

-   [Stair calculator](https://simplehouseplanner.com/tools/stair-calculator/)
    
    Free stair calculator with diagram: enter the floor-to-floor height and get risers, treads, run, stringer length and the stairwell opening, checked against code.
    
-   [Square footage calculator](https://simplehouseplanner.com/tools/square-footage-calculator/)
    
    Free square footage calculator: add rooms in feet and inches or meters as rectangles, triangles or circles, subtract closets, and get sq ft, m² and sq yd.
    
-   [Flooring and tile calculator](https://simplehouseplanner.com/tools/flooring-calculator/)
    
    Free flooring and tile calculator: enter the room and plank or tile size to get square feet with waste, pieces and boxes, and carpet in square yards.
    
-   [Paint calculator](https://simplehouseplanner.com/tools/paint-calculator/)
    
    Free paint calculator: enter the room size, doors, windows and coats to get the square feet to paint and how many gallons or liters of paint to buy.
    
-   [Wallpaper calculator](https://simplehouseplanner.com/tools/wallpaper-calculator/)
    
    Free wallpaper calculator: enter the wall or room, the roll size and the pattern repeat with straight or drop match to get the drops per roll, drops and rolls.
    
-   [Roof pitch calculator](https://simplehouseplanner.com/tools/roof-pitch-calculator/)
    
    Free roof pitch calculator with chart: convert x/12, degrees and percent, and get the rafter length with overhang and the roof area of a gable or shed roof.
    
-   [Ramp calculator](https://simplehouseplanner.com/tools/ramp-calculator/)
    
    Free ramp calculator: enter the rise and get the ramp length, slope, runs, landings and floor space under the ADA, UK Approved Document M or DIN 18040.
    
-   [Pool volume calculator](https://simplehouseplanner.com/tools/pool-volume-calculator/)
    
    Free pool volume calculator: enter a rectangle, round, oval or kidney pool, flat or with a deep end, and get US gallons, liters, cubic meters and water area.
    
-   [Floor plan scale calculator](https://simplehouseplanner.com/tools/floor-plan-scale-calculator/)
    
    Free floor plan scale calculator: convert lengths at 1:50, 1:100 or 1/4 in = 1 ft, find the scale of a drawing, and see the paper size the plan fits on.
    
-   [Bed size calculator](https://simplehouseplanner.com/tools/bed-size-calculator/)
    
    Free bed size calculator: enter your bedroom's size and see which US and European beds fit with walkways, and the smallest room for each bed, in feet or cm.
    
-   [Sofa size calculator](https://simplehouseplanner.com/tools/sofa-size-calculator/)
    
    Free sofa size calculator: enter your wall and room depth and get the longest sofa or L sectional that fits with walkways, the seats, coffee table and TV distance.
    
-   [Dining table size calculator](https://simplehouseplanner.com/tools/dining-table-size-calculator/)
    
    Free dining table size calculator: enter the number of people or your room size and get rectangular, square, round and oval tables with room for the chairs.
    
-   [Rug size calculator](https://simplehouseplanner.com/tools/rug-size-calculator/)
    
    Free rug size calculator for a sofa or sectional, a bed or a dining table, rounded to standard US rug sizes in feet and European sizes in cm, with a plan.
    
-   [Window size calculator](https://simplehouseplanner.com/tools/window-size-calculator/)
    
    Free window size calculator: enter the room size and get the glass, openable area and egress opening the room needs under the IRC and other codes, with a drawing.
    
-   [Concrete calculator](https://simplehouseplanner.com/tools/concrete-calculator/)
    
    Free concrete calculator: a slab, footing, post holes or steps in cubic yards with waste, 40, 60 and 80 lb bags or any bag size, and when to order ready-mix.
    
-   [Gravel and mulch calculator](https://simplehouseplanner.com/tools/gravel-calculator/)
    
    Free gravel, mulch and topsoil calculator: enter the area and depth to get cubic yards, tons and bags of gravel, crushed stone, sand, topsoil or mulch.
    
-   [Deck calculator](https://simplehouseplanner.com/tools/deck-calculator/)
    
    Free deck calculator: enter the deck and board sizes to get the deck boards with waste, the joists at 12, 16 or 24 in on center, and the screws or clips.
    
-   [Fence calculator](https://simplehouseplanner.com/tools/fence-calculator/)
    
    Free fence calculator: posts, rails and pickets, panels, boards, wire mesh or barbed wire, corners and gates, and the bags of concrete that set the posts.
    
-   [Drywall calculator](https://simplehouseplanner.com/tools/drywall-calculator/)
    
    Free drywall calculator: enter the room size to get the sheets of 4 × 8, 4 × 10 or 4 × 12 drywall with waste, and the joint compound, tape and screws.
    
-   [Roofing calculator](https://simplehouseplanner.com/tools/roofing-calculator/)
    
    Free roofing calculator: enter the house size and roof pitch to get the roof area in squares, bundles of shingles, underlayment, starter, ridge cap and drip edge.
    
-   [Insulation calculator](https://simplehouseplanner.com/tools/insulation-calculator/)
    
    Free insulation calculator for attics, walls and floors: the R-value for your climate zone, bags of batts or rolls, and the bags and depth of blown-in insulation.
    
-   [Paver calculator](https://simplehouseplanner.com/tools/paver-calculator/)
    
    Free paver calculator: enter a patio, walk or driveway to get the pavers with waste, the gravel base and bedding sand in cubic yards and tons, and edge restraint.
    
-   [Brick and block calculator](https://simplehouseplanner.com/tools/brick-calculator/)
    
    Free brick and block calculator: enter a wall to get the bricks or concrete blocks with waste, less doors and windows, the bags of mortar and grout for the cores.
    
-   [BTU calculator](https://simplehouseplanner.com/tools/btu-calculator/)
    
    Free BTU calculator: enter the room size to get the air conditioner size from ENERGY STAR's table, with sun, people and kitchen, in BTU, tons and kW.
    

[Calculators](https://simplehouseplanner.com/tools/)

Checked on 15 November 2026. The calculator counts lumber; it does not size headers or check a wall's strength. Follow your plans and your local code.
