Linear feet calculator for boards and trim

Add up linear feet from pieces and lengths, convert to yards and meters, and price lumber or trim by the foot.

Quick sizes:
ft
in
$
Optional. Shows the total cost.

The numbers start with a worked example. Change any box and the result updates instantly. Your last entries are remembered on this device.

10 pieces at 8.00 ft

80.0

linear feet

Linear yards26.67
Meters24.38
Inches960
Estimated cost$100.00

Estimate only. Check product labels and local codes. Updated December 2026.

How to use the linear feet calculator

Linear feet measure length only, not width or thickness. Use it to price trim, lumber, fencing, gutters and anything else sold by the foot.

Enter your measurements in the boxes above. Every result updates as you type, and you can add a price to see the total cost. Use Copy result to save the numbers to your phone before you go to the store.

Formula

Linear feet = number of pieces × length of each piece
Yards = feet ÷ 3 · Meters = feet × 0.3048

Worked example

With number of pieces 10, length of each piece 8 ft, plus inches 0 in, you need 80.0 linear feet (linear yards: 26.67; meters: 24.38). With a price per linear foot of $1.25, the estimated cost is $100.00.

Quick reference chart

Common sizes worked out with the same formula and the default settings above.

PiecesEachLinear feet
108 ft80.0
208 ft160.0
1012 ft120.0
2012 ft240.0
1016 ft160.0
2516 ft400.0

Tips before you buy

  • To measure a room for trim, add the length of every wall and subtract door openings.
  • Add 10% for cuts and mistakes on trim and molding.
  • Linear feet are not board feet. Board feet also include width and thickness.

Frequently asked questions

How do I calculate linear feet?

Multiply the number of pieces by the length of each. Ten 8 ft boards are 80 linear feet.

How many linear feet are in a 12x12 room?

The perimeter of a 12 × 12 ft room is 48 linear feet.

What is the difference between linear feet and square feet?

Linear feet measure length in one direction. Square feet measure area, which is length × width.

Add this calculator to your website

Run a blog, a store or a contractor website? Paste this code to give your visitors this free linear feet calculator.

Linear Feet Calculator by HatCalc – more free calculators →