# Cost Per Linear Foot Calculator

> Find the cost per linear foot for fencing, trim, gutters, or any other length-priced project.

Page: https://craftquantities.com/calculators/financial-adjacent/cost-per-linear-foot-calculator/ (calculator). This is the page's Markdown copy; the HTML page is the canonical version.

Version 1.0.1, sources checked 2026-09-06, 2 published test vectors.

## Inputs

A length, area or volume is entered with its unit. The page opens on the values below: a metric reader sees the metric column, a US customary reader the other.

| Input | id | Opens at (metric) | Opens at (US customary) | Accepts |
|---|---|---|---|---|
| Total Cost | `totalCost` | 3000 | 3000 | range 1–1000000 |
| Total Length | `totalLength` | 45.72 m | 150 ft | mm, cm, m, in, ft, yd; range 0.01–5000 m |

- **Total Cost**: The total quoted or actual cost for the whole run.
- **Total Length**: The total length the cost covers.

## The answer on the opening values

Worked exactly as the page works it, on the values each system opens on.

### Metric

| Result | Value |
|---|---|
| **Cost per linear foot** | 20 $/linear ft |
| Total length | 45.72 m |
| Same cost per linear m | 65.62 $/linear m |

### US customary

| Result | Value |
|---|---|
| **Cost per linear foot** | 20 $/linear ft |
| Total length | 150 linear ft |
| Same cost per linear m | 65.62 $/linear m |

## How it is worked out

The working the page shows, in order: Total length; Same cost per linear m; then cost per linear foot.

The method, derived in full:

- [Unit-Rate Estimating, Markup and Contingency](https://craftquantities.com/methodology/unit-rate-estimating-and-markup/): Why a 20% markup is not a 20% margin, why an estimate without a range is the wrong shape of answer, and why contingency should shrink as a design develops rather than staying at ten per cent forever.

What this calculation does not cover:

- A per-foot rate carries no specification. Fence height, post spacing and embedment depth, picket gauge, gutter profile and trim size all change what a foot costs while leaving the run length identical, so two quotes only compare on this number when they describe the same product. A 6 ft board fence and a 4 ft one around the same perimeter are different rates, not a better and a worse price.
- The ground the run crosses is not in it. Rock, tree roots, slope, a hand-dig where no machine can reach and spoil that has to be carted off all sit in the labor half of a per-foot price. A rate lifted from a job across flat lawn does not transfer to a run along a bank or to a boundary a mini excavator cannot reach.

## Sources

As the calculator cites them (sources checked 2026-09-06):

- Cost per linear foot = total project cost / total length

A code or standard has force only where a jurisdiction has adopted it, usually with local amendments; check what is in force with the authority where you build.

## Questions answered on the page

**What is this useful for?**

Comparing quotes apples-to-apples between contractors who quote different total lengths, or checking whether a per-foot quote you received is in a reasonable range compared to a total-project quote you calculate this rate from.

**Does this work for materials priced per linear foot, like trim or gutter?**

Yes — enter the total material cost and total length purchased to back out the effective per-foot rate, useful for comparing suppliers or checking a receipt.

**Should corners or posts be counted differently?**

This calculator treats the total run as one flat length — if posts, corners, or gates carry a different cost than straight runs in your quote, you may want to separate those into their own calculation.

## Related calculators

- [Cost Per Square Foot Calculator](https://craftquantities.com/calculators/financial-adjacent/cost-per-square-foot-calculator/)
- [Fence Calculator](https://craftquantities.com/calculators/auto-utility/fence-calculator/)

## Run it from a program

- REST: `GET https://api.craftquantities.com/v1/calculate/cost-per-linear-foot-calculator` with each input as a query parameter, a length, area or volume with its unit; `https://api.craftquantities.com/v1/describe/cost-per-linear-foot-calculator` lists the inputs.
- MCP: the `calculate` tool at https://api.craftquantities.com/mcp with `slug` `cost-per-linear-foot-calculator`.
- Definition and test vectors: https://craftquantities.com/api/v1/calculators/cost-per-linear-foot-calculator.json

---
Source: https://craftquantities.com/calculators/financial-adjacent/cost-per-linear-foot-calculator/
Craft Quantities: free to read, cite and link to; the pages are not licensed for republication. Quantities only: no prices, no design and no certification.
