{
  "version": "v1",
  "source": "https://craftquantities.com",
  "licence": "CC BY 4.0",
  "licenceUrl": "https://creativecommons.org/licenses/by/4.0/",
  "attribution": "Craft Quantities — craftquantities.com",
  "documentation": "https://craftquantities.com/api/",
  "versioning": "Fields are added, never removed or repurposed, within a version. A breaking change becomes /api/v2/ and v1 keeps being built.",
  "slug": "cost-per-linear-foot-calculator",
  "category": "financial-adjacent",
  "title": "Cost Per Linear Foot Calculator",
  "description": "Find the cost per linear foot for fencing, trim, gutters, or any other length-priced project.",
  "url": "https://craftquantities.com/calculators/financial-adjacent/cost-per-linear-foot-calculator/",
  "json": "https://craftquantities.com/api/v1/calculators/cost-per-linear-foot-calculator.json",
  "inputCount": 2,
  "testCaseCount": 2,
  "sourceCount": 1,
  "lastVerified": "2026-09-06",
  "citation": {
    "author": "Craft Quantities",
    "title": "Cost Per Linear Foot Calculator",
    "version": "1.0.1",
    "sourcesChecked": "2026-09-06",
    "url": "https://craftquantities.com/calculators/financial-adjacent/cost-per-linear-foot-calculator/",
    "accessDate": null,
    "accessDateNote": "Add the date you retrieved this. It is deliberately absent: a static file cannot know when you read it, and the build date would be wrong.",
    "permanentVersionedUrl": null,
    "permanentVersionedUrlNote": "Not offered. This site keeps no archive of previous builds, so any such URL would resolve to the current page or to nothing. The version and sourcesChecked fields identify the calculation instead.",
    "formats": {
      "plain": "Craft Quantities. Cost Per Linear Foot Calculator. Version 1.0.1. Sources checked 2026-09-06. https://craftquantities.com/calculators/financial-adjacent/cost-per-linear-foot-calculator/",
      "apa": "Craft Quantities. (2026). Cost Per Linear Foot Calculator (Version 1.0.1) [Web calculator]. Retrieved from https://craftquantities.com/calculators/financial-adjacent/cost-per-linear-foot-calculator/",
      "harvard": "Craft Quantities (2026) Cost Per Linear Foot Calculator (Version 1.0.1). Available at: https://craftquantities.com/calculators/financial-adjacent/cost-per-linear-foot-calculator/",
      "bibtex": "@misc{craftquantities-calculators-financial-adjacent-cost-per-linear-foot-calculator,\n  author       = {{Craft Quantities}},\n  title        = {Cost Per Linear Foot Calculator},\n  version      = {1.0.1},\n  year         = {2026},\n  howpublished = {\\url{https://craftquantities.com/calculators/financial-adjacent/cost-per-linear-foot-calculator/}},\n}"
    }
  },
  "inputs": [
    {
      "id": "totalCost",
      "label": "Total Cost",
      "type": "number",
      "defaultValue": 3000,
      "min": 1,
      "max": 1000000,
      "step": 10,
      "help": "The total quoted or actual cost for the whole run.",
      "money": {
        "role": "amount"
      }
    },
    {
      "id": "totalLength",
      "label": "Total Length",
      "type": "number",
      "dimension": "length",
      "defaultValue": 45.72,
      "min": 0.01,
      "max": 5000,
      "step": 0.5,
      "help": "The total length the cost covers."
    }
  ],
  "sources": [
    {
      "label": "Cost per linear foot = total project cost / total length"
    }
  ],
  "testCases": [
    {
      "name": "$3000 for 150ft",
      "inputs": {
        "totalCost": 3000,
        "totalLength": 45.72
      },
      "expected": 20,
      "toleranceDecimalPlaces": 0.1,
      "unit": "currency/linear ft",
      "confidence": "high",
      "steps": [
        {
          "label": "Total length",
          "value": 150,
          "unit": "linear ft"
        },
        {
          "label": "Same cost per linear m",
          "value": 65.61679790026247,
          "unit": "currency/linear m"
        }
      ],
      "basis": "sole-source",
      "sourceIndex": 0
    },
    {
      "name": "$1500 for 100ft",
      "inputs": {
        "totalCost": 1500,
        "totalLength": 30.48
      },
      "expected": 15,
      "toleranceDecimalPlaces": 0.1,
      "unit": "currency/linear ft",
      "confidence": "high",
      "steps": [
        {
          "label": "Total length",
          "value": 100,
          "unit": "linear ft"
        },
        {
          "label": "Same cost per linear m",
          "value": 49.212598425196845,
          "unit": "currency/linear m"
        }
      ],
      "basis": "sole-source",
      "sourceIndex": 0
    }
  ]
}
