CalcWorks

Home › Converters

Linear Feet Calculator

Units:Switches the numbers you type and the answers. Diagrams, examples and product sizes stay in feet/inches for now.
Total length needed
— ft
Total length needed
— m
Pieces to buy
—
Length you actually buy
— ft
Leftover / offcut length
— ft
Estimated cost
$—

Formula verified · Updated Nov 2026

Results update as you type. Estimates only — confirm final quantities before ordering.

Trim, baseboards, fencing, deck boards and lumber are all sold by the linear foot — the length of the piece, not its area. This calculator works both ways: add up the pieces you have to get the total length, or start from a total length (a fence line, a room perimeter) and find how many standard-length boards to buy, including the offcuts left over and the cost at your price per foot.

Rustic wooden fence stretching across a grassy field
Embed this calculator

Paste this code into your site to show this calculator on your own page. Adjust the height if the calculator is cut off or leaves a large gap.

The formula

Total length = Pieces × Length of one piece
Pieces to buy = Pieces × (1 + Waste) — rounded up
Pieces from a total = Total length ÷ Piece length — rounded up
Length bought = Pieces to buy × Piece length
Leftover = Length bought − Length needed
Cost = Length bought × Price per linear foot
Meters = Feet × 0.3048

Pieces are always rounded up — you cannot buy 13.2 boards. The waste allowance covers miter cuts at corners, bad ends and the odd split board; 10% is standard for straight runs of trim, 15% if the run has many corners, doors or returns. The leftover length is real material: short offcuts are often usable for closet trim or returns.

Worked example

Example: 12 baseboards, each 8 ft long, 10% waste, at $2.50 per linear foot.

The other way: a 100 ft fence line in 8 ft boards needs 100 ÷ 8 = 12.5, rounded up to 13 boards (104 ft bought, 4 ft left over).

Reference chart

Pieces to buy with a 10% waste allowance (8 ft boards)
JobLength neededPieces to buyLength boughtLeftover
6 boards × 8 ft48 ft756 ft8 ft
10 boards × 12 ft120 ft11132 ft12 ft
12 boards × 8 ft96 ft14112 ft16 ft
20 boards × 10 ft200 ft22220 ft20 ft
8 boards × 16 ft128 ft9144 ft16 ft

Frequently asked questions

What is a linear foot?

One linear foot is simply one foot of length along a piece — a 8 ft board is 8 linear feet, whatever its width or thickness. It is the unit trim, fencing, lumber, pipe and rope are sold by, as opposed to the square foot (area) or the board foot (volume).

How do I calculate linear feet for baseboards?

Measure the perimeter of the room — add up all four wall lengths — then subtract the width of the doorways (baseboard does not run across a door opening). A 12 ft × 10 ft room has a 44 ft perimeter; with one 3 ft door, order for 41 ft plus 10% waste, which is about 46 ft, or 6 boards of 8 ft.

How many linear feet are in a fence run?

The length of the fence line itself: a 100 ft property line is 100 linear feet of fence, regardless of height. Rails are usually counted separately — a 100 ft fence with 2 rails per 8 ft section needs about 26 rails (13 sections × 2), and the Fence Calculator works that out.

How much waste should I add for trim?

Ten percent is standard for straight runs; use 15% for rooms with many corners, doors and returns, because every miter cut consumes length and the last piece of a run is often a short offcut. Long stock helps: 16 ft boards waste less per foot than 8 ft boards on long straight walls.

What is the difference between linear feet and square feet?

Linear feet measure length only — one dimension. Square feet measure area — length × width. A 10 ft × 12 ft room is 120 sq ft of floor but 44 linear feet of baseboard around its walls. The two are never interchangeable; trim is priced per linear foot, flooring per square foot.

Related calculators

How we verify this

Linear foot = 1 ft of length along a piece (US lumber and trim trade practice); 1 ft = 0.3048 m exactly; waste allowances 10% standard, 15% for many cuts (trim and flooring trade practice).