Skip to content
Lumber Calculator

Free · No sign-up · 10 languages

Lumber Calculator

Work out how much lumber you need for any project. List each size and length to get the piece count, board feet, weight and cost, then print the lumber list or take it to the yard. Free, no sign-up.

Updated October 31, 2026Our methodology

Units
Lumber sizes & prices

Inputs

Your lumber

One row per size and length. Leave “Price each” empty to price by the sample rate for the lumber type — edit those rates under the lumber list.

More options
%

Added to every row and rounded up. Use 0 if your counts already include spares.

Results

Lumber list

Enter your dimensions to see the lumber list.

Estimate — check sizes and quantities with your lumber yard.

Results

Every lumber calculator you need

Pick a project for a complete material list, or a single tool for the math.

All calculators

Projects

Framing

Board feet & pricing

Planning

Built for the lumber yard counter

One order list for every project

Add a deck, a shed and a fence to the same lumber list. Matching sizes and lengths merge into one yard-ready order you can print, copy or download as CSV.

Stock lengths picked for you

Project calculators pack every cut onto the 8–20 ft (or 2.4–5.4 m) boards your yard actually sells, so you buy fewer boards and leave less in the scrap pile.

Prices you can edit

Price by the piece, linear foot, board foot or per thousand board feet (MBF). Sample prices are a starting point — type in your yard’s numbers and they stay on your device.

Your units, your language

Feet and inches or millimetres, US nominal sizes or metric timber sections, in 10 languages. Every tool is free, with no sign-up.

How much lumber do I need? Quick rules of thumb

Before you open a single calculator, these rules give a fast first answer to “how much lumber do I need?”. They are the same shortcuts estimators use to sanity-check a full lumber takeoff. The calculators on this site apply the exact layout instead of the shortcut, so use the rules to check a result, not to replace it.

Part of the buildRule of thumbExample
Wall studs at 16″ on centerAbout 1 stud per linear foot of wall, including corners and openings40 ft of walls ≈ 40 studs
Wall plates3 × the wall length (one bottom plate, double top plate)40 ft of walls = 120 ft of plate
Joists or rafters at 16″ on centerRun in feet × 0.75, plus 116 ft run = 13 joists
Wall or roof sheathingArea in sq ft ÷ 32 for 4×8 sheets, plus 10%320 sq ft = 10 sheets, 11 to buy
Deck boards (5/4×6, 3/16″ gap)Deck width in inches ÷ 5.69 = rows12 ft wide deck = 26 rows
Fence posts at 8 ft spacingFence length ÷ 8, plus 1100 ft fence = 14 posts
WasteAdd 10% to framing, 5–10% to decking36 studs → buy 40

For anything bigger than a few boards, a lumber estimator that follows the real layout is more reliable. Pick your project below or type your own list into the calculator above.

How to use this lumber calculator

This free lumber calculator works like the list you would write on the back of an envelope before a trip to the lumber yard, except it does the math for you. Each row is one kind of board: how many you need, the size, the length and the type of lumber. As you type, the totals update. They show pieces, board feet (or cubic metres), linear footage, an approximate weight and an estimated cost.

  1. Enter the quantity and size. Pick a size from the list (1×4 through 6×6 in the US, or the metric sizes sold in your region). Use one row per size-and-length combination, such as “20 × 2×4 × 8 ft”.
  2. Choose a length. Select one of the stock lengths your yard sells, or choose a custom length if you have it cut to size or buy precut studs.
  3. Set the lumber type. Framing lumber, pressure-treated, cedar/outdoor or hardwood each have their own sample price and weight. The type matters because a wet treated 4×4 weighs nearly twice as much as a dry spruce one.
  4. Add your price if you have one. Leave “Price each” empty to use the sample price, or type the price per piece from your yard’s flyer or quote.
  5. Check the waste allowance. The default is 10%, the usual figure for framing. Lower it for clean, simple cuts or raise it for diagonal decking and rough hardwood.
  6. Save, print or share. “Add to lumber list” stores the rows in your lumber list, where items from all calculators are merged into one order. You can also print the list, download it as a CSV for a spreadsheet, copy it as text for a message to the yard, or copy a link that reopens the calculator with the same inputs.

Everything runs in your browser, with no sign-up, and your lists and prices stay on your device. The Units & region bar above the calculator switches between imperial and metric and loads local lumber sizes and prices.

How to estimate lumber for a project: a simple lumber takeoff

Builders call the count of every board a lumber takeoff. This lumber calculator for project planning does the arithmetic of that takeoff for you. Whether the job is a bookshelf, a raised bed or a garage, it always comes down to the same four steps.

  1. List every piece by size and length. Work from a drawing, even a rough sketch. Count the studs, plates, joists, rails or boards and write them down as “quantity × size × length”. Group identical pieces into one line.
  2. Round each length up to a stock length. Lumber is sold in fixed lengths, so a 7 ft rail is bought as an 8 ft board and a 13 ft joist as a 14 ft board. Where several short pieces can come out of one long board, plan the cuts so you buy fewer boards.
  3. Add a waste allowance. Some boards will be bowed, split or too knotty, and some cuts will go wrong. 10% is typical for framing.
  4. Total it in the unit your yard uses. Home centers price by the piece, lumber yards often quote per thousand board feet (MBF), and hardwood dealers price per board foot. The calculator shows all of them.

Worked example: the default list

The rows loaded when you first open this page are a small framing package: twenty 2×4 studs, eight 2×8 joists and four treated 4×4 posts.

LineBoard feet eachBefore wasteWith 10% waste
2×4 × 8 ft, framing2 × 4 × 8 ÷ 12 = 5.3320 pcs · 106.7 bd ft22 pcs · 117.3 bd ft
2×8 × 12 ft, framing2 × 8 × 12 ÷ 12 = 168 pcs · 128.0 bd ft9 pcs · 144.0 bd ft
4×4 × 8 ft, treated4 × 4 × 8 ÷ 12 = 10.674 pcs · 42.7 bd ft5 pcs · 53.3 bd ft
Total32 pcs · 277.3 bd ft36 pcs · 314.7 bd ft

Waste is rounded up per line, so 20 studs become 22, not 22.0. At the sample prices of $780 per MBF for framing lumber ($0.78 per board foot) and $1,150 per MBF for treated lumber, the order comes to about $265: $91.52 for the studs, $112.32 for the joists and $61.33 for the posts. That works out to an average of $0.84 per board foot, which is higher than the framing rate because treated lumber costs more.

To skip the counting entirely, start from a project calculator. It lays out the framing members, chooses the stock lengths and adds the complete list to your lumber list.

A lumber calculator for every project

Each project calculator below is a free lumber estimator for one kind of build, and each ends in a printable material list. It counts the members the way a builder would lay them out, shows the result in a 3D or plan drawing, and turns it into a priced lumber list. The quick numbers are what each calculator gives for its default inputs, with US sizes and sample prices.

Lumber calculator for a deck

The deck lumber calculator covers the ledger, joists, rim joists, beams, posts, footings, hardware and deck boards. It also plans which board lengths to buy so every butt joint lands on a joist. A 12 × 16 ft attached deck with 2×8 joists at 16″ on center needs 13 joists, one doubled 2×10 beam on 3 posts, and 26 rows of 16 ft 5/4×6 deck boards (28 with waste), with no butt joints at all.

Lumber calculator for a wall and for framing

For a single wall, the wall framing calculator is a lumber calculator for wall framing with doors and windows. A plain 12 ft wall at 16″ on center needs 10 studs (12 × 12 ÷ 16 + 1). Corners, king and jack studs, headers and cripples are added for each opening. For a whole building, the framing lumber calculator takes a list of walls and merges them into one framing takeoff. For a 16 × 12 ft building with one door and four windows it gives 59 full-length studs including waste, about 165 linear feet of plates and 15 sheathing sheets.

Lumber calculator for a shed

The shed lumber calculator builds a complete shed material list: skids and floor joists, subfloor, four framed walls with a door and windows, gable or lean-to rafters, siding and roof sheathing. Pick a common size such as 8 × 10, 10 × 12 or 12 × 16 and see every piece in 3D before you buy.

Lumber calculator for a garage, room or house

The garage lumber calculator frames a detached garage on a slab, including garage-door headers and either rafters or trusses. The room framing calculator counts only the walls you are adding, which suits basement rooms and partitions. The house lumber calculator is a square foot lumber calculator for early budgeting. For a 2,000 sq ft single-story house on a slab it estimates about 9,400 board feet of framing lumber and 146 sheets, or roughly $4.90 of lumber per square foot at sample prices. It is a ballpark figure, not a takeoff from plans.

Lumber calculator for a fence, stairs or pergola

The fence lumber calculator handles posts, rails, pickets, gates and concrete. A 100 ft privacy fence, 6 ft high with posts every 8 ft, needs 14 posts, 39 rails, 230 pickets including 5% spare, and 22 bags of concrete. The stair stringer calculator works out risers, treads and stringers with US code checks. A deck 36″ above the landing needs 5 risers of 7 3/16″, 4 treads and 2×12 stringers. The pergola lumber calculator counts posts, beams, rafters and top slats.

Floors, roofs and sheet goods

Use the floor joist calculator for joists, rims and blocking, the rafter calculator for rafter length, cut angles and roof area, and the plywood and sheathing calculator to count sheets of plywood or OSB for walls, floors and roofs.

Board feet, linear feet and MBF explained

A board foot is a volume of wood 1 inch thick, 12 inches wide and 12 inches long, or 144 cubic inches. It is the unit lumber yards and sawmills use to measure and price wood, and the reason a long 2×12 costs far more than a 2×4 of the same length.

board feet = thickness (in) × width (in) × length (ft) ÷ 12

A linear foot is simply one foot of length, whatever the size. Trim, decking and fencing are often priced this way. MBF means one thousand board feet (M is the Roman numeral for 1,000). Wholesale softwood is traded per MBF, and contractor quotes often use it too.

PieceBoard feetBoard feet per linear foot
2×4 × 8 ft5.330.67
2×4 × 10 ft6.670.67
2×6 × 12 ft12.001.00
2×8 × 12 ft16.001.33
2×10 × 16 ft26.671.67
2×12 × 16 ft32.002.00
4×4 × 8 ft10.671.33
6×6 × 10 ft30.003.00

The board foot calculator handles any mix of sizes, including rough hardwood in quarters such as 4/4 and 8/4. The board feet to linear feet converter switches between the two units for one size, and the log board foot calculator estimates the lumber in a log with the Doyle, Scribner and International ¼″ rules.

Nominal vs actual lumber sizes

Softwood lumber is named by its nominal size, the rough size before drying and planing. Under the American Softwood Lumber Standard (PS 20), a dry 2×4 actually measures 1½″ × 3½″. Pieces up to 6″ wide lose ½″ in width, and pieces 8″ and wider lose ¾″. Yards still bill board feet on the nominal size, so this calculator does too. Weight uses the real, smaller size.

NominalActual (inches)Actual (mm)Board feet per foot
1×4¾ × 3½19 × 890.33
1×6¾ × 5½19 × 1400.50
2×41½ × 3½38 × 890.67
2×61½ × 5½38 × 1401.00
2×81½ × 7¼38 × 1841.33
2×101½ × 9¼38 × 2351.67
2×121½ × 11¼38 × 2862.00
4×43½ × 3½89 × 891.33
6×65½ × 5½140 × 1403.00

The difference matters when you plan the layout. Ten 2×4s laid side by side cover 35 inches, not 40. A wall framed with 2×6 studs is 5½″ thick before sheathing and drywall. See the full lumber sizes chart for every size with weight and price per foot. Metric markets sell timber by its actual size, such as 45 × 95 mm, and price it per cubic metre or running metre.

How lumber is priced: piece, linear foot, board foot and MBF

The same 2×4 can be quoted four ways. They all convert through the board feet in the piece:

price per piece   = price per MBF ÷ 1,000 × board feet
price per lin ft  = price per piece ÷ length (ft)
price per bd ft   = price per MBF ÷ 1,000
Quoted asWho uses it2×4×8 at $780/MBF
Per pieceHome centers, framing lumber$4.16
Per linear footTrim, decking, long lengths$0.52
Per board footHardwood dealers$0.78
Per MBF (1,000 bd ft)Lumber yards, mills, contractor quotes$780

The per-MBF figure is what contractors mean by the lumber price per thousand. Comparing quotes is easiest in one unit. If one yard sells a 2×10×16 for $21.50 and another quotes $760 per MBF, the second works out to 26.67 × $0.76 = $20.27 per board, about 6% cheaper. The MBF calculator does these conversions, and the lumber cost calculator totals a mixed order with sales tax, delivery and a contractor discount.

The sample prices here are editable estimates dated October 2026, not quotes. For context, NAHB reported a framing lumber composite of about $507 per MBF in late September 2026, citing Madison’s index. That is a wholesale figure; retail prices run higher and change by week and region, so replace the sample with your local price before you budget.

Choosing the right lumber: species, grades and treated wood

A good estimate also needs the right material. Most structural softwood in North America comes from a handful of species groups. Spruce-pine-fir (SPF) is light, straight and common for wall studs. Douglas fir-larch and southern yellow pine are stiffer and heavier, and are often used for joists, rafters and beams. Southern pine also takes preservative well, so most pressure-treated lumber in the US is southern pine.

Reading a grade stamp

Structural lumber carries a stamp from an accredited grading agency. It shows the species group, the grade, the moisture condition and the mill. For framing, No. 2 (often sold as “No. 2 & Better”) is the everyday grade. Stud grade is meant for vertical wall studs. Moisture marks such as KD or S-DRY mean the board was dried before planing, so it will shrink and twist less in the wall than a green board marked S-GRN.

Pressure-treated lumber

Use pressure-treated lumber anywhere wood touches the ground or concrete, or is exposed to weather: sill plates on a slab, deck framing, fence posts and garden beds. Treated lumber is labelled for its use. Boards rated for ground contact are made for posts and anything buried or close to the soil. Boards rated for above-ground use suit deck boards and railings that can dry out. Use fasteners and connectors rated for treated wood. Treated lumber is often sold wet, so expect it to shrink as it dries and to be heavy to carry. The lumber weight calculator shows how much a load weighs.

Cedar, redwood and hardwood

Western red cedar and redwood resist decay naturally and look good untreated, which makes them popular for fences, pergolas and visible deck boards. They are softer and more expensive than treated pine. Hardwoods such as oak, maple and walnut are sold rough by the board foot in quarter thicknesses (4/4 = 1″, 8/4 = 2″). Expect to lose 15–30% of the volume to defects and planing.

Waste factors by project

Waste covers boards that are bowed, split or knotted, cutting mistakes, and offcuts too short to use. The right allowance depends on how many cuts the job has and how fussy the finish is.

ProjectTypical wasteWhy
Wall and floor framing10–15%Culls, extra blocking, layout changes
Deck boards, straight5–10%End trims and butt joints
Deck boards at 45°15–20%Angled cuts at both ends
Fence pickets5%Splits and rejects
Trim and siding10–15%Miters and matching
Rough hardwood15–30%Defects, planing and ripping

The calculator adds the waste percentage to every row and rounds up. If you already counted spares into your quantities, set waste to 0 so they are not counted twice. For cut-heavy projects, entering your actual cuts in the cut list optimizer replaces the guess with real offcuts.

How to order lumber: stock lengths, cut lists and delivery

US and Canadian yards stock dimension lumber in 2-foot steps from 8 to 20 ft. Pre-cut studs are also sold at 92⅝″, 104⅝″ and 116⅝″ for 8, 9 and 10 ft walls with a double top plate. European and Nordic merchants usually stock 2.4 to 5.4 m. Ask before you plan around 22 ft or 6 m boards, because many yards special-order them.

  • Buy to the cut, not the total. Twelve 3 ft pieces add up to 36 ft. Only two fit on an 8 ft board, so they take six 8 ft boards (48 ft), but just four 10 ft boards (40 ft). The cut list optimizer packs your cuts onto the cheapest mix of lengths, allowing for the saw kerf.
  • Order long pieces first in your plan. Joists, rafters and plates set the long lengths. Blocking, cripples and short rails can often come from their offcuts.
  • Send one list. Use “Add to lumber list” on each calculator. The lumber list merges matching items so you can print it or send it to the yard as one order.
  • Ask about delivery and returns. Many yards deliver for a flat fee and accept unused, undamaged boards back. If yours does, a little extra on the first order costs less than a second trip.

Picking good boards

If you choose your own boards, sight down each one before it goes on the cart. Leave behind boards with a strong bow (bent along the wide face), crook (bent along the edge), twist or cup, and boards with large loose knots or splits at the ends. A slight crown is normal; install it facing up on joists and rafters. Bark on the edge (wane) is fine on hidden framing but not on visible work.

Storing lumber on site

Stack lumber flat and off the ground on evenly spaced supports, and cover the top while leaving the sides open to the air. Lumber left in the sun or rain for weeks will warp, so time deliveries close to when you will use them.

Common lumber estimating mistakes

  1. Counting nominal width as actual. Planning a 48″ shelf with eight 1×6 boards leaves you 4″ short, because each board is only 5½″ wide.
  2. Adding lengths instead of planning cuts. A total of 100 linear feet does not mean ten 10 ft boards if half your pieces are 6 ft long.
  3. Forgetting the extras in framing. Corners, wall intersections, doors and windows each add studs, headers and cripples. A rough rule of one stud per linear foot of wall covers most houses.
  4. Using untreated lumber outdoors or on concrete. Sill plates on a slab, posts and anything near the soil need treated lumber rated for that use.
  5. Ignoring the double top plate. Load-bearing walls usually get two top plates and one bottom plate, so you buy three times the wall length in plate stock.
  6. Skipping the waste allowance, then losing a day to a second trip for two studs.
  7. Comparing prices in different units. A per-piece price and a per-MBF quote can’t be compared until you convert them.
  8. Sizing beams, joists and headers by guesswork. Quantity calculators count lumber. Spans and sizes must come from the span tables in your building code or from an engineer.

Metric units, other countries and 10 languages

Use the Units & region bar to switch between feet and inches or metres and millimetres, and to load the lumber sizes, stock lengths and sample prices of the United States and Canada, Europe, the Nordics, Brazil, Japan or the Gulf. Metric markets sell timber by its actual size, such as 45 × 95 mm, and price it per cubic metre, so results show cubic metres alongside board feet.

The site is also available in German, French, Spanish, Dutch, Italian, Portuguese, Japanese, Arabic and Swedish. The US code checks in some calculators apply only in the US, so elsewhere check your local rules.

How accurate is a lumber estimate?

The counts here follow the same layout rules builders use, and every formula is explained on its calculator page and in our methodology. Treat the results as a well-prepared estimate, not a substitute for plans. Real projects add details no calculator knows about, such as a beam pocket, an extra window or blocking for a heavy cabinet. Prices are samples until you replace them with your yard’s, and structural sizes such as joists, beams, rafters and headers must be checked against your building code. Before you order, walk through the lumber list against your drawing one line at a time, and ask your supplier to check it too.

Frequently asked questions

How do I calculate how much lumber I need?

List every piece by size and length, round each length up to a stock length, add about 10% for waste, and add up the pieces or board feet. Enter each size and length as a row in the calculator and it totals pieces, board feet, weight and cost. For a whole deck, shed, wall or fence, start from that project’s calculator instead.

Is this lumber calculator free?

Yes. This is a free lumber calculator, and every other calculator on the site is free too, with no account or sign-up. Your lumber list and edited prices are saved only in your own browser.

How many board feet are in a 2×4×8?

5.33 board feet: 2 × 4 × 8 ÷ 12. Yards count the nominal size, so it is billed as 5.33 board feet even though the actual 1½″ × 3½″ board holds about 3.5.

How many board feet are in a 2×6×12?

12 board feet: 2 × 6 × 12 ÷ 12. A 2×6 holds exactly 1 board foot per linear foot, so its board feet always equal its length in feet. The board foot calculator works out any size, including rough hardwood.

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

At 16″ on center, a plain 12 ft wall needs 10 studs: 144 inches ÷ 16 = 9 spaces, plus one stud to close the last space. Corners add 2 extra studs each, and every door or window adds two king studs, two jack studs, a header and short cripples. You also need about 36 ft of plate stock for a bottom plate and a double top plate. The wall framing calculator counts all of it for your openings.

How do I calculate linear feet of lumber?

Multiply the number of boards by their length: 20 boards × 8 ft = 160 linear feet. To convert to board feet, multiply by the board feet per foot of that size, which is 0.67 for a 2×4, so 160 linear feet of 2×4 is about 106.7 board feet. The board feet to linear feet converter does this for any size.

How much lumber does it take to frame a house?

A common rule of thumb is 5 to 7 board feet of framing lumber per square foot of house. Single-story homes on a slab sit at the low end, and two-story homes with framed floors at the high end. For a 2,000 sq ft single-story house on a slab, the house lumber calculator estimates about 9,400 board feet and 146 sheets of sheathing. Use it for budgeting, not as a takeoff from plans.

How do I calculate the cost of lumber?

Multiply each line by its price and add them up. If your yard prices per piece, use pieces × price each. If it quotes per thousand board feet (MBF), divide the MBF price by 1,000 to get the price per board foot, then multiply by the board feet. At $780 per MBF, a 2×4×8 (5.33 board feet) costs about $4.16. The calculator does this for every row and adds your waste allowance.

How much does lumber cost per board foot?

The calculator starts from sample prices of $0.78 per board foot ($780 per MBF) for framing lumber and $1.15 per board foot for pressure-treated lumber. Local retail prices vary by region and week, so type in your yard’s price per piece or edit the rates under the lumber list.

How many 2×4s do I need to frame a 10 × 10 room?

Four 10 ft walls are 40 linear feet. The rule of thumb of one stud per linear foot gives about 40 studs including corners and a few spares, plus three plates per wall (bottom and double top), or about 120 linear feet of plate stock. A door adds a header and jack studs. The room framing calculator counts it exactly.

How many deck boards do I need for a 12 × 16 deck?

With 5/4×6 boards and a 3/16″ gap running the 16 ft direction, a 12 × 16 deck takes 26 rows of 16 ft boards, or 28 boards with a 7% allowance. Using 16 ft boards also means no butt joints. The deck lumber calculator works out other sizes and board lengths.

What waste factor should I add?

10% is the usual allowance for framing and is the default here. Use 5% for fence pickets, 5–10% for straight decking and 15–20% for diagonal decking or rough hardwood.

What lengths does lumber come in?

In the US and Canada, dimension lumber comes in 2-foot steps from 8 to 20 ft, plus pre-cut studs for 8, 9 and 10 ft walls. Metric markets usually stock 2.4 to 5.4 m. Pick the shortest stock length your cuts fit into without much waste.

Why is a 2×4 not 2 inches by 4 inches?

2×4 is the nominal size of the rough-sawn board. Drying and planing shrink it to 1½″ × 3½″, the standard dry size under PS 20. Lumber is still sold and billed by the nominal name.

What is the difference between a board foot and a linear foot?

A linear foot measures length only. A board foot measures volume: 144 cubic inches. Only a 1×12 has exactly one board foot per linear foot. A 2×4 has 0.67 and a 2×12 has 2.

Can I use the lumber calculator in metric units?

Yes. Choose Metric in the Units & region bar above the calculator to enter metres and millimetres and see cubic metres, and choose your region to load local timber sizes, stock lengths and sample prices.

Is there a lumber calculator app?

You don’t need to download one. On a phone the site works like a lumber calculator app, with a bottom tab bar, the drawing pinned at the top and your results one tap away. To keep it on your home screen, choose “Add to Home screen” or “Install app” in your browser menu.

Tools

Projects

Framing

Board feet & pricing

Planning

All calculators

Site

Settings

Units

Lumber sizes & prices

Choose the market whose sizes, stock lengths and sample prices you want.

Theme

Language