Linear Feet Calculator

Estimate linear feet for trim, fencing, edging, lumber, borders, and other materials sold by length.

Calculator

Project Setup

Choose how you want to enter your measurements.
Select the closest project. Defaults will adjust. You can override any value.

Measurements

Enter each straight run separately. Add as many segments as needed.

Number of times this full set of segments repeats.

Enter the room or rectangular area dimensions to calculate the perimeter.

Enter the total area and the material width to find how many linear feet you need.

Enter the linear feet and material width to find the area covered.

Enter the total linear feet you already know you need. The calculator will apply waste and round to purchasable quantities.

Enter the actual product width, not just the name on the package.
ft
Doorways, gates, gaps, or areas that do not need material.

Material & Purchase Details

%
Waste factor above 30% is unusually high. Verify this is intentional.
ft
Leave blank to skip piece count and purchase rounding.
$

%
Tax rate above 25% seems high. Please verify.
$

Optional Lumber Board-Foot Helper

Board feet measure lumber volume (thickness × width × length). This is separate from linear feet. Do not treat them as the same unit.

Results

Plan for

— ft

total linear feet after waste

Measured

linear ft

Pieces to Buy

pieces

Est. Cost

material

Est. Leftover

linear ft

Material Breakdown

CategoryLinear Feet

Full Breakdown

What this means

Assumptions Used

    Want to compare different stock lengths, waste factors, or pricing options?

    How to Use This Calculator

    Each input helps you build a complete material estimate. Here is what each field does:

    • Calculation mode: Choose whether you are adding individual lengths, measuring a rectangular room or border, converting square feet to linear feet, converting linear feet to square feet, or planning a purchase directly.
    • Project type: Select the closest project so the calculator can suggest practical defaults. You can override every assumption.
    • Measurement system: Choose U.S. customary or metric based on how you measured the project.
    • Segment lengths: Enter each straight run separately. This is useful for fences, edging, trim, or irregular layouts.
    • Room length and width: Enter the inside room dimensions if estimating baseboards or trim around a rectangular room.
    • Openings or deductions: Enter doorways, gates, gaps, or sections that do not need material.
    • Total area: Use this when you know square feet and need to estimate linear feet of a material with a known width.
    • Material width: Enter the actual width of the material, not just the name on the package. Required for square-foot conversions.
    • Waste factor: Add extra material for cuts, mistakes, corners, seams, curves, and layout changes. The default is 10%.
    • Stock length or package length: Enter the length of one board, stick, roll, or package so the calculator can round up to whole pieces.
    • Price: Enter price per linear foot or price per piece if you want a cost estimate.
    • Tax and delivery: Optional fields for planning only. Leave them blank if you only want the material quantity.

    Enter your measurements and click Calculate to see your estimate.

    Scenario Comparison

    Adjust the settings below for each scenario to compare different stock lengths, waste factors, material widths, or pricing options. Scenario A uses your current calculator inputs.

    Comparison Chart

    ScenarioWaste %Stock LengthLF After WastePieces to BuyPurchasable LFLeftover LFEst. Cost

    Comparison Notes

    Understanding Linear Feet

    What Linear Feet Means

    A linear foot measures length in one direction. If a board, fence line, trim piece, or edging strip is 12 feet long, it is 12 linear feet long. The word "linear" simply means measured along a straight line, as opposed to area (two dimensions) or volume (three dimensions).

    According to NIST unit conversion guidance, one foot equals exactly 0.3048 meters, which is the internationally defined relationship between U.S. customary and metric length units.

    Linear Feet vs. Square Feet

    Linear feet measure length. Square feet measure area. You cannot accurately convert square feet to linear feet unless you also know the width of the material.

    The relationship comes from the basic area formula for rectangles: area = length × width. Therefore, length = area ÷ width. This is confirmed by OpenStax Contemporary Mathematics.

    Why Material Width Matters

    A 4-inch-wide board and an 8-inch-wide board cover different amounts of area per linear foot. The 8-inch board covers twice the area per linear foot, which means you need fewer linear feet to cover the same square footage with a wider material.

    This is critical when buying decking boards, edging strips, flooring planks, or any material sold by length where width determines coverage. Always use the actual dressed or finished width, not the nominal name on the label.

    When Linear Feet Are Useful

    Use linear feet for:

    • Baseboards and trim around rooms
    • Crown molding on ceilings
    • Lumber and dimensional boards
    • Fence lines and gate sections
    • Garden and landscape edging
    • Deck picture-frame borders
    • Pipe, wire, rope, and fabric rolls
    • Any material sold by length

    Common Mistakes

    1. Confusing square feet with linear feet.
    2. Forgetting to subtract openings like doorways or gates.
    3. Forgetting to add a waste allowance for cuts and corners.
    4. Using nominal lumber dimensions when actual width matters. A nominal 1×4 board is actually about 3.5 inches wide when dressed.
    5. Ignoring package length and buying exact footage that is not actually purchasable.
    6. Measuring curved borders as one straight line instead of breaking them into smaller segments.
    7. Assuming the calculator includes posts, fasteners, labor, permits, or delivery.

    Limitations

    This calculator provides a planning estimate. Actual material needs can change because of:

    • Cuts, corners, defects, and layout decisions
    • Terrain, slopes, and curves not captured in straight-line segments
    • Product-specific expansion gaps, installation methods, or kerf loss
    • Local building code requirements
    • Supplier minimum orders or available stock lengths

    Formula and Method Explanation

    Formula 1: Add Measured Segments

    Total measured linear feet = Segment 1 + Segment 2 + Segment 3 + …

    Each segment is a straight run of material. All segments are converted to a common unit (feet) before summing. The total is then multiplied by any repeated-section count.

    Formula 2: Rectangular Perimeter

    Perimeter = 2 × (Length + Width)

    Net linear feet = Perimeter − Openings − Deductions

    Based on the standard rectangle perimeter relationship confirmed by OpenStax Contemporary Mathematics.

    Formula 3: Square Feet to Linear Feet

    Linear feet = Square feet ÷ Material width in feet

    This rearranges the rectangle area formula. Material width must be converted to feet before dividing. According to NIST SP 811 Appendix B, 1 inch = 0.0833… feet exactly.

    Formula 4: Linear Feet to Square Feet

    Square feet = Linear feet × Material width in feet

    This applies the standard rectangle area formula. Useful when you know the length of material you are buying and want to estimate coverage area.

    Formula 5: Waste Factor

    Linear feet after waste = Net linear feet × (1 + Waste % ÷ 100)

    Waste accounts for cuts, corners, seams, defects, and layout changes. The waste factor is an editable planning assumption, not a universal rule. Default is 10%.

    Formula 6: Pieces to Buy

    Pieces = ⌈ Linear feet after waste ÷ Stock length ⌉

    Purchasable linear feet = Pieces × Stock length

    Leftover = Purchasable linear feet − Linear feet after waste

    ⌈ ⌉ means ceiling (round up to the next whole piece). Materials are purchased in whole boards, rolls, or packages.

    Formula 7: Cost Estimate

    Cost = Purchasable LF × Price per LF
    or: Cost = Pieces × Price per piece

    Tax = Cost × Tax rate

    Total = Cost + Tax + Delivery

    Cost estimates include only material cost unless the user enters tax, delivery, or other optional fees.

    Optional: Lumber Board-Foot Helper

    Board feet = (Thickness in × Width in × Length ft) ÷ 12

    Board feet measure lumber volume, not length. Do not treat board feet and linear feet as the same unit. See AWC Weights & Measurement guidance and the USDA Forest Products Lab Wood Handbook for lumber sizing context.

    Worked Example: Baseboard for a 12 ft × 14 ft Room

    A user wants to estimate baseboard for a 12 ft by 14 ft room.

    1. Room perimeter: 2 × (12 + 14) = 52 linear feet
    2. Subtract openings: One 3 ft doorway + one 5 ft closet opening = 8 ft deducted
      52 − 8 = 44 linear feet net
    3. Apply 10% waste: 44 × 1.10 = 48.4 linear feet after waste
    4. Stock length of 8 ft: ⌈48.4 ÷ 8⌉ = ⌈6.05⌉ = 7 pieces
    5. Purchasable linear feet: 7 × 8 = 56 linear feet
    6. Estimated leftover: 56 − 48.4 = 7.6 linear feet
    7. Cost at $18 per piece: 7 × $18 = $126 estimated material cost before tax or delivery

    Why Trust This Calculator

    • Uses transparent formulas and shows the assumptions behind every estimate, including measurement system, waste factor, stock length, and pricing mode.
    • Separates measured length, deductions, waste allowance, purchase rounding, and cost so you can verify each step independently.
    • Explains the difference between linear feet, square feet, and board feet to prevent common unit-confusion errors.
    • Links to reputable sources for unit conversions, area formulas, lumber measurement context, and fence planning examples — all cited inline and in the Sources section below.
    • Lets you control key assumptions such as waste factor, stock length, material width, and pricing. The calculator does not hide its logic.
    • Provides inline warnings when an input may make the result misleading, including high waste factors, deductions that exceed the measured length, and nominal lumber dimension cautions.
    • Reviewed for clarity and consistency by the Homebase Calculators Editorial Team. Results are planning estimates, not contractor quotes or professional measurements.

    Sources and Methodology

    This calculator estimates linear feet by converting all measurements to a common unit (feet), applying the selected formula, adding the user's chosen waste factor, and rounding up to purchasable piece or package quantities when stock length is provided. It provides an estimate based on the inputs you provide. It does not account for every possible cut, defect, product requirement, local code rule, delivery fee, labor charge, permit, or field condition.

    What this calculator includes

    • Segment lengths with optional repeated sections
    • Rectangular perimeter with optional repeated rooms
    • Area-to-linear-foot conversion by material width
    • Linear-foot-to-square-foot conversion by material width
    • Openings and deductions
    • Corner or cut allowance
    • Waste allowance (user-editable)
    • Piece or package rounding (ceiling function)
    • Minimum order quantity
    • Optional material cost, tax, and delivery
    • Optional lumber board-foot helper
    • Scenario comparison (up to 3 scenarios)

    What this calculator excludes

    • Labor, installation, and professional measurement costs
    • Permits, inspections, code compliance, and structural design
    • Fasteners, posts, adhesive, underlayment, brackets, caps, and accessories unless the user manually adds them
    • Product-specific installation rules and manufacturer specifications
    • Terrain, slope, expansion gaps, kerf loss, and unusual layouts unless the user reflects them in the waste factor

    Sources

    Helpful Resources

    These resources provide additional context on measurement, material planning, and project preparation.

    External Resources

    Related Homebase Calculators

    Need Help Verifying Your Numbers?

    Before buying materials, confirm your measurements with a tape measure, measuring wheel, product label, or supplier quote. For trim and molding, measure each wall run separately and note doorways, closets, and corners. For fencing, edging, and deck borders, confirm the layout, terrain, gates, posts, curves, and local requirements. For lumber, check actual dimensions and product length before purchasing.

    Where to confirm your numbers

    • Tape measure or measuring wheel
    • Project sketch or room drawing
    • Product packaging and spec sheet
    • Supplier or retailer quote
    • Manufacturer installation instructions

    When to consult a professional

    • Structural deck or railing work
    • Fencing near property lines or easements
    • Work requiring permits or inspections
    • Complex stairs, slopes, gates, or load-bearing material
    • Any work requiring code compliance sign-off

    Useful documents to gather

    • Product spec sheet
    • Store quote or invoice
    • Project drawing or fence layout
    • Room sketch with labeled walls
    • Deck plan or site plan

    Frequently Asked Questions (FAQs)

    A linear foot is a length measurement equal to one foot, or 12 inches, measured in a straight line. Materials such as trim, lumber, fencing, edging, wire, and fabric are often sold by linear foot. It measures length only, not area or volume.

    No. A linear foot measures length, while a square foot measures area. To convert square feet to linear feet, you must know the width of the material. Without material width, the conversion is not possible.

    Convert the material width to feet, then divide the square footage by that width. For example, 120 square feet with a 6-inch-wide material: width = 6 ÷ 12 = 0.5 ft, then 120 ÷ 0.5 = 240 linear feet before waste. The calculator does this conversion automatically when you enter the area and material width.

    Material width is required when converting between area and length. A wider board, edging strip, or plank covers more square feet per linear foot than a narrower one. Without width, square feet and linear feet cannot be accurately converted into one another.

    Waste depends on the material, layout, cuts, corners, defects, and installation method. The calculator provides editable default waste factors by project type (typically 5–12%). These are planning assumptions, not universal rules. Check product instructions or ask your supplier if you need a tighter estimate. Angled cuts for crown molding, curved edging borders, and dense corner layouts typically require more waste than straight runs.

    Materials are often sold in whole boards, sticks, rolls, or packages. If you need 48.4 linear feet and the material is sold in 8-foot pieces, you cannot buy exactly 48.4 feet. The calculator rounds up to the next whole piece — 7 pieces, or 56 linear feet — and shows the estimated leftover so you can plan for off-cuts or returns.

    Subtract openings if the material will not cover those sections. For baseboards, users often subtract doorway openings. For fencing, gates may require separate hardware, posts, and framing, so treat the deduction as a length estimate only, not a complete fence plan. Enter deductions in the "Openings or Deductions" field.

    The main calculator estimates linear feet (length). Board feet measure lumber volume using thickness, width, and length — they are a separate concept. When the Lumber project type is selected, the Advanced Options panel includes an optional board-foot helper. The result is displayed separately and clearly labeled so it is not confused with the linear feet estimate.

    No. The calculator estimates material length and optional material cost based on the inputs provided. It does not include labor, permits, inspections, code compliance, structural requirements, property-line issues, or professional installation details. Consult a qualified professional for structural, code-regulated, or permit-required work.

    The math is accurate based on the numbers entered, but the estimate is only as accurate as your measurements and assumptions. Product dimensions, cuts, mistakes, layout changes, slopes, defects, and installation requirements can change the final amount needed. Always verify measurements and product requirements before purchasing. This calculator is a planning tool, not a professional measurement.

    Report an Error or Share Feedback

    Found a calculation error, an outdated assumption, a broken source link, or something unclear on this page? Contact the Homebase Calculators Editorial Team so we can review it. We update pages when corrections are warranted.

    By Homebase Calculators Editorial Team

    Last updated: May 2026