Linear Feet Calculator

This free linear feet calculator gives you the running-foot total that trim, fencing, gutter, deck railing, and dimensional lumber are priced and ordered in. Pick a mode: rectangle perimeter for a baseboard run or a fenced yard, add-up-runs for a multi-sided fence or gutter layout, or square-feet-to-linear-feet for decking and plank flooring. Enter feet and inches, set how many of each run, and the calculator totals it.

Linear feet is a length, not an area or a volume — a 4-inch board and a 12-inch board of the same length are identical linear feet, which is exactly why material sold by the running foot is priced this way. Subtract openings where nothing runs (doorways for baseboard, gates for fence) — but leave crown molding undeducted, since it runs continuously over the doors. Add a stock length and the calculator rounds your running feet up to whole 8, 12, or 16-foot sticks.

Built on the foot as a unit of length (NIST Handbook 44) with a waste factor for miters and offcuts — no signup, no pricing. Once you have your linear feet, feed the number into the Trim, Fence, Gutters, Deck, or Retaining Wall calculator to finish the take-off with materials and fasteners.

View material estimation guides →

Linear Feet Calculator

Work out linear feet (running feet) three ways — the perimeter of a rectangle, the sum of straight runs, or a square-foot area converted to board linear feet. Subtract door and gate openings, add a stock length to see how many sticks to buy, and apply a waste factor. The running-foot unit trim, fencing, gutters, and railing are priced in. Free, no signup.

What are you measuring?

Rectangle dimensions

ft
ft

Openings to subtract (optional)

No openings — the full perimeter will be used.

Stock length & waste (optional)

%

Related Calculators

How to Use This Calculator

  1. Pick a measure mode: Perimeter (a rectangle), Add up runs (a list of straight segments), or Square feet → linear feet (board coverage).
  2. Perimeter mode: enter the length and width; the calculator returns 2 × (length + width).
  3. Runs mode: add a row per straight segment with its feet, extra inches, and how many identical runs.
  4. Subtract openings where no material runs — doorways for baseboard, gates for fencing. Leave this empty for crown molding, which runs continuously.
  5. Square-feet mode: enter the area and pick a board (or a custom face width) plus the install gap to convert to board linear feet.
  6. Optionally pick a stock length (8, 12, 16 ft …) to see how many sticks to buy, and set a waste factor — 10–15% for miter-heavy trim, 5–10% for straight runs.
  7. Click Calculate to see linear feet to buy, net linear feet, openings subtracted, and pieces, then open the Trim, Fence, Gutters, or Deck calculator.

Linear Feet vs. Square Feet vs. Board Feet

These three units trip people up because they measure different things. Linear feet (running feet) measures LENGTH only — it is what you use for trim, fencing, gutter, railing, and dimensional lumber sold by the running foot, where width does not change the price. Square feet measures AREA (length × width) — drywall, paint, tile, and sheet flooring. Board feet measures VOLUME (thickness × width × length) — the unit hardwood and rough lumber are priced in. A 16-foot board is always 16 linear feet, but its square feet and board feet change with its width and thickness. This calculator stays in the linear lane: it also converts a square-foot area to the linear feet of boards needed to cover it, using the board face width plus the install gap.

Frequently Asked Questions

How do you calculate linear feet?

Linear feet measures length only, so it depends on what you're measuring. For a rectangle (a room or a fenced yard) it's the perimeter: 2 × (length + width) — a 14 × 12 ft room is 2 × (14 + 12) = 52 linear feet. For an irregular layout, add up every straight run: a 40 ft fence side plus two 25 ft sides is 40 + (25 × 2) = 90 linear feet. To convert feet and inches, divide the inches by 12 (12 ft 8 in = 12.67 ft). This calculator does all of that and subtracts openings for you.

What is the difference between linear feet and square feet?

Linear feet measures length only; square feet measures area (length × width). Material that runs in a line — baseboard, crown, fence rail, gutter, deck railing, dimensional lumber — is sold by the linear foot, because a 4-inch board and a 12-inch board of the same length cost the same per running foot. Material that covers a surface — drywall, paint, tile, sheet flooring, sod, roofing — is sold by the square foot. Using the wrong unit over- or under-buys by the width of the material, so match the unit to how the product is sold.

How do I convert square feet to linear feet?

You can only convert square feet to linear feet if you know the width of the boards covering the area. The formula is linear feet = area (sq ft) × 12 ÷ (board face width + gap, in inches). For example, 200 sq ft of 5½-inch deck boards installed with a 3⁄16-inch gap is 200 × 12 ÷ 5.6875 = 422 linear feet. Tongue-and-groove flooring with no gap uses just the face width. Set the area, board width, and gap in this calculator's square-feet mode and it does the conversion.

Do I subtract doors and windows from linear feet?

It depends on the trim. For baseboard, yes — subtract every door and cased opening, because the baseboard stops at the casing. For crown molding, no — crown runs continuously around the room over the top of the doors, so you use the full perimeter with no deductions. Windows usually don't affect baseboard (they sit above it) but can interrupt chair rail. Use this calculator's openings section to deduct doorways for baseboard and leave it empty for crown.

How many linear feet of baseboard do I need for a room?

Start with the room perimeter — 2 × (length + width) — then subtract the width of each doorway. A 14 × 12 ft room is 52 linear feet of perimeter; with one 3 ft doorway that's 49 linear feet of baseboard. Add 10–15% waste for miter and cope cuts, so you'd buy about 55 linear feet, or four 14-ft sticks. This calculator's perimeter mode plus the openings deduction gives you the net run and the number of sticks to buy.

Is linear feet the same as lineal feet?

Yes — 'lineal feet' and 'linear feet' mean the same thing: a measurement of length in feet, where 1 linear foot equals 12 inches. 'Linear' is the more common spelling in math and most trades; 'lineal' shows up in the lumber and flooring industries, especially on price lists ('priced per lineal foot'). Both ignore width and thickness and refer only to running length, so you can use the numbers from this calculator interchangeably for either term.

Does this calculator show material prices?

No. Like every calculator on the site, it's pricing-free — it gives you quantities (linear feet, net linear feet, openings subtracted, and pieces to buy), not dollar figures, because prices for trim, fencing, and lumber move constantly by region and grade. Take your linear-foot total to a supplier for a current per-foot or per-stick quote. To finish the take-off with materials and fasteners, hand your number to the Trim, Fence, Gutters, Deck, or Retaining Wall calculator.