ForHosting KIT · Engineering & construction

Lumber calculator

Covering 16 by 10 feet with 8 foot boards 0.5 feet wide, a 0.01 foot gap and 10 % waste takes 44 boards. Enter your area and stock to get a count you can take straight to the yard. Free in your browser.

  • Free
  • Runs in your browser
  • No sign-up
  • Your data stays on your device
Use it from WebAPIEmailTelegramApp soon
If you enter
Length
16
Width
10
Board length
8
Board width
0.5
Spacing
0.01
Waste percent
10
You get
Area
160
Pitch
0.51
Boards across exact
19.6274509804
Boards across
20

Covering a shed wall, a fence run, a subfloor, or any simple rectangle with lumber is a packing problem, not a square-footage guess. You know the length and width of the area, the length and width of one board, and the gap you will leave between faces; the question is how many whole boards to buy and how much extra material that purchase actually is. This lumber calculator packs boards along the length and across the width with the given spacing, ceilings each direction so a leftover strip still costs a full board, then applies a waste percent for cuts and defects. It returns the purchase board count and a waste allowance in face area so a yard ticket and a takeoff script stay honest.

Where a lumber covering calculator earns its keep

Homeowners boarding a shed wall, a fence, a workbench top, or a simple subfloor reach for a lumber calculator when the yard asks how many boards, not how many square feet of abstract area and not how many linear feet of decking. Typing a sixteen-by-ten rectangle, eight-unit stock, a half-unit face, a small gap, and ten percent waste yields a count you can compare against a unit price per board without opening a spreadsheet of mixed units.

Remodelers choosing between a wider face and a narrower face re-run the same length and width to see how the packed count and waste allowance move when pitch changes; that is a materials decision, not a deck-specific linear-footage decision. Contractors bidding a rectangular covering pin the goldens in tests so a takeoff script and a phone check never disagree on whether forty-four boards cover the job after waste. Trade-school modules on carpentry can freeze the sixteen-by-ten, eight-unit, half-unit, 0.01-spacing, ten-percent case because the arithmetic is deterministic.

This landing is the search for lumber as covering stock: board count and waste allowance from area length, width, board dimensions, spacing, and waste. A decking calculator that reports linear feet in mixed feet and inches answers a different query. An area-plus-gap deck-board estimator that never packs along a stock length answers another.

Compare face widths on the same rectangle

Re-run the same length and width with a half-unit face and a narrower face to see how pitch changes the packed count, extra boards, and waste allowance.

How does the lumber calculator count boards?

Boards run along length and pack across width.

What units do length, width, and board dimensions use?

One system for every linear field. If the area is in metres, those edges are metres. Do not mix feet and inches in one request.

How many boards do I need to cover a 16 by 10 foot wall?

With 8 foot boards 0.5 feet wide and a 0.01 foot gap, 20 boards fit across and 2 along, 40 in all. Adding 10 % for cuts and defects brings the purchase to 44 boards.

How is the waste percentage added?

As a share of the net board count, rounded up to whole boards. In the example, 10 % of 40 adds 4 boards, and the result also shows the extra face area you buy, 16 square feet.

Can I leave no gap between boards?

Yes, a gap of zero gives the count for boards laid tight against each other. The board width, though, must be more than zero, because a board with no face cannot cover anything.

Everything on this page is available programmatically. This section is for teams who want to wire it into their own systems; everyone else can just use the tool above.

POSThttps://api.kit.forhosting.com/build/lumber

Prefer to automate it? One authenticated POST creates the task; the result comes back by webhook or a signed link. The same capability also runs here on the web, by email and from Telegram — and soon from our app too.

curl -X POST https://api.kit.forhosting.com/build/lumber \
  -H "Authorization: Bearer $KIT_KEY" \
  -H "Content-Type: application/json" \
  -d '{"length":16,"width":10,"board_length":8,"board_width":0.5,"spacing":0.01,"waste_percent":10}'
{
  "length": 16,
  "width": 10,
  "board_length": 8,
  "board_width": 0.5,
  "spacing": 0.01,
  "waste_percent": 10
}
{
  "task_id": "tsk_a1b2c3d4e5f6a1b2c3d4e5f6",
  "type": "build.lumber",
  "status": "queued",
  "_links": {
    "result": "/tasks/tsk_…/result"
  }
}

The API is asynchronous: the call returns a task_id immediately and the result arrives by webhook. Polling is capped at 1 req/s per task.

Per request$0.002

Published price — no tokens, no invented credits. A failed task is never charged.

HTTPCodeMeaning
401unauthorizedMissing or invalid API key.
402insufficient_balanceYour balance doesn't cover the task price.
404unknown_typeThat task type doesn't exist.
429rate_limitedToo many requests. Use the webhook instead of polling.

A zero board width is rejected with invalid_input instead of a divide-by-zero. The same pure arithmetic powers the free browser tool and the API path, so a Saturday sketch matches the line a purchasing script posts later.

How board count and waste allowance are computed

Treat the area as a rectangle whose boards run along the length and whose faces pack across the width. Keep every linear input in one system: if the area is in feet, board length, board width, and spacing are feet; if the area is in metres, those edges are metres. Because the last board has no trailing gap, n boards and n minus one gaps must cover the width, which rearranges to n equals (width plus spacing) divided by pitch. A sixteen-by-ten rectangle with eight-unit boards, a half-unit face, one-hundredth spacing, and ten percent waste packs twenty boards across and two along for a net of forty, four extra boards, a purchase count of forty-four, and a waste allowance of sixteen square units. The path is deterministic floating-point arithmetic with no random seeds, no wall-clock timestamps, and no network. Zero spacing is a legal butt-tight layout; a zero board width is not, because pitch would vanish and the count would be undefined. The pitch of one board plus its following gap is board_width plus spacing. That exact ratio is boards_across_exact; boards_across is the ceiling, so a leftover strip still costs a whole extra board in that direction. Along the run, stock boards are butted end to end with no extra gap: boards_along is the ceiling of length divided by board_length. The net packed count is boards_across times boards_along. Waste percent then adds whole extra boards: waste_allowance_boards is the ceiling of net times waste_percent over one hundred, and board_count is net plus those extras. Waste allowance is purchased face area minus the rectangle: board_count times board_length times board_width, minus length times width. That figure is the extra wood you pay for because you cannot buy a fraction of a board, you rip the last face, you cut ends, and you asked for a percent overage.

What you send, which units apply, and how errors behave

Send six required finite numbers. length is the area dimension along the boards; rows of stock are joined until they span that run. width is the area dimension across the boards, the direction you fill with faces and gaps. board_length is the stock length of one piece, not the finished run: an eight-foot board against a sixteen-foot wall needs two pieces per row. board_width is the actual face width in the same units as width, not a nominal stamp on the end grain: six-inch stock is 0.5 if you work in feet, or 0.1524 if you work in metres. spacing is the intended gap between adjacent faces; zero is allowed when boards are butted. waste_percent is the extra whole-board allowance as a percentage of the net packed count, from zero through one hundred; ten is a common carpentry starting point for covering work. Missing fields, empty strings, non-numeric text, NaN, and Infinity fail with invalid_input naming the field and are not charged. A board_width of exactly zero fails with a message that board width cannot be zero. Non-positive length, width, or board_length, a negative board_width, a negative spacing, and a waste percent outside zero to one hundred fail the same way. On success the JSON echoes the cleaned inputs, the rectangle area, pitch, the exact and whole across and along counts, board_count_net, waste_allowance_boards, the purchase board_count, purchased_face_area, waste_allowance, coverage_width, coverage_length, extra_width, extra_length, plus a unit_note, a formula string, and method lumber_cover_pack so logs can document the algorithm. API pricing is the published base of $0.002 per successful item; validation failures do not consume prepaid balance.

Where a lumber covering calculator earns its keep

Because this capability is a pure parse engine, API pricing is the published base of $0.002 per successful item and failed validation does not consume balance. Keep requests small, pin board_count and waste_allowance in tests, and you get a reproducible takeoff for quotes, purchase orders, and edge workers without standing up a CAD kernel of your own.

Shed wall or fence covering takeoff

Enter area length and width, stock board length and face width, spacing, and a waste percent to get board_count and waste_allowance before you visit the lumber yard.

Contractor bid with a frozen golden

Pin a 16-by-10 rectangle with 8-unit stock, a 0.5 face, 0.01 spacing, and 10 percent waste in a takeoff script so the phone check and the bid line agree.

What is waste_allowance?

waste_allowance is purchased face area minus the rectangle: board_count × board_length × board_width − length × width. It is the extra wood you pay for from whole-board ceilings, rips, end cuts, and the waste percent you asked for.

What happens if board width is zero?

The task fails with invalid_input. A zero board_width would make pitch vanish, so the calculator refuses to invent a board count and is not billed.

What does the lumber calculator cost?

The browser tool is free. API requests use prepaid balance at $0.002 per successful call; invalid input is not billed.

Read the full KIT documentation →