{
  "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": "carpet-roll-length-calculator",
  "category": "materials-quantities",
  "title": "Carpet Roll Length & Waste Calculator",
  "description": "Calculate the length of broadloom carpet needed from a standard roll width, including seaming and pattern-match waste.",
  "url": "https://craftquantities.com/calculators/materials-quantities/carpet-roll-length-calculator/",
  "json": "https://craftquantities.com/api/v1/calculators/carpet-roll-length-calculator.json",
  "inputCount": 3,
  "testCaseCount": 2,
  "sourceCount": 1,
  "lastVerified": "2026-09-06",
  "translations": {
    "es-US": "https://craftquantities.com/es/calculators/materials-quantities/carpet-roll-length-calculator/"
  },
  "citation": {
    "author": "Craft Quantities",
    "title": "Carpet Roll Length & Waste Calculator",
    "version": "1.1.1",
    "sourcesChecked": "2026-09-06",
    "url": "https://craftquantities.com/calculators/materials-quantities/carpet-roll-length-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. Carpet Roll Length & Waste Calculator. Version 1.1.1. Sources checked 2026-09-06. https://craftquantities.com/calculators/materials-quantities/carpet-roll-length-calculator/",
      "apa": "Craft Quantities. (2026). Carpet Roll Length & Waste Calculator (Version 1.1.1) [Web calculator]. Retrieved from https://craftquantities.com/calculators/materials-quantities/carpet-roll-length-calculator/",
      "harvard": "Craft Quantities (2026) Carpet Roll Length & Waste Calculator (Version 1.1.1). Available at: https://craftquantities.com/calculators/materials-quantities/carpet-roll-length-calculator/",
      "bibtex": "@misc{craftquantities-calculators-materials-quantities-carpet-roll-length-calculator,\n  author       = {{Craft Quantities}},\n  title        = {Carpet Roll Length & Waste Calculator},\n  version      = {1.1.1},\n  year         = {2026},\n  howpublished = {\\url{https://craftquantities.com/calculators/materials-quantities/carpet-roll-length-calculator/}},\n}"
    }
  },
  "inputs": [
    {
      "id": "roomArea",
      "label": "Room Area",
      "type": "number",
      "dimension": "area",
      "defaultValue": 20,
      "min": 0.01,
      "max": 2000,
      "step": 0.5,
      "help": "The total floor area to be carpeted."
    },
    {
      "id": "rollWidth",
      "label": "Standard Roll Width",
      "type": "number",
      "dimension": "length",
      "defaultValue": 3.66,
      "min": 0.01,
      "max": 5,
      "step": 0.01,
      "help": "The width of the broadloom carpet roll."
    },
    {
      "id": "wastePercent",
      "label": "Waste Allowance (%)",
      "type": "number",
      "defaultValue": 10,
      "min": 5,
      "max": 25,
      "step": 1,
      "help": "Extra carpet length for seaming, pattern matching, and pile direction."
    }
  ],
  "sources": [
    {
      "label": "Roll length needed = (room area × (1 + waste allowance)) ÷ standard roll width, accounting for seaming, pattern matching, and pile direction waste"
    }
  ],
  "testCases": [
    {
      "name": "20m² room, 3.66m roll, 10% waste",
      "inputs": {
        "roomArea": 20,
        "rollWidth": 3.66,
        "wastePercent": 10
      },
      "expected": 6.01,
      "toleranceDecimalPlaces": 1,
      "unit": "m",
      "confidence": "medium",
      "steps": [],
      "basis": "sole-source",
      "sourceIndex": 0
    },
    {
      "name": "30m² room, 3.66m roll, 15% waste",
      "inputs": {
        "roomArea": 30,
        "rollWidth": 3.66,
        "wastePercent": 15
      },
      "expected": 9.43,
      "toleranceDecimalPlaces": 1,
      "unit": "m",
      "confidence": "medium",
      "steps": [],
      "basis": "sole-source",
      "sourceIndex": 0
    }
  ],
  "usedByAssemblies": [
    {
      "id": "carpet-and-pad",
      "name": "Carpet and cushion"
    }
  ]
}
