{
  "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": "flooring-cost-comparison-calculator",
  "category": "financial-adjacent",
  "title": "Flooring Cost Comparison Calculator",
  "description": "Compare two flooring options by their annualized cost per square foot, factoring in expected lifespan.",
  "url": "https://craftquantities.com/calculators/financial-adjacent/flooring-cost-comparison-calculator/",
  "json": "https://craftquantities.com/api/v1/calculators/flooring-cost-comparison-calculator.json",
  "inputCount": 4,
  "testCaseCount": 2,
  "sourceCount": 1,
  "lastVerified": "2026-09-05",
  "citation": {
    "author": "Craft Quantities",
    "title": "Flooring Cost Comparison Calculator",
    "version": "1.0.1",
    "sourcesChecked": "2026-09-05",
    "url": "https://craftquantities.com/calculators/financial-adjacent/flooring-cost-comparison-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. Flooring Cost Comparison Calculator. Version 1.0.1. Sources checked 2026-09-05. https://craftquantities.com/calculators/financial-adjacent/flooring-cost-comparison-calculator/",
      "apa": "Craft Quantities. (2026). Flooring Cost Comparison Calculator (Version 1.0.1) [Web calculator]. Retrieved from https://craftquantities.com/calculators/financial-adjacent/flooring-cost-comparison-calculator/",
      "harvard": "Craft Quantities (2026) Flooring Cost Comparison Calculator (Version 1.0.1). Available at: https://craftquantities.com/calculators/financial-adjacent/flooring-cost-comparison-calculator/",
      "bibtex": "@misc{craftquantities-calculators-financial-adjacent-flooring-cost-comparison-calculator,\n  author       = {{Craft Quantities}},\n  title        = {Flooring Cost Comparison Calculator},\n  version      = {1.0.1},\n  year         = {2026},\n  howpublished = {\\url{https://craftquantities.com/calculators/financial-adjacent/flooring-cost-comparison-calculator/}},\n}"
    }
  },
  "inputs": [
    {
      "id": "optionAPricePerSqft",
      "label": "Option A: Price per Sq Ft",
      "type": "number",
      "defaultValue": "",
      "min": 0.1,
      "max": 100,
      "step": 0.1,
      "help": "The material + install cost per square foot for the first option.",
      "money": {
        "role": "rate"
      }
    },
    {
      "id": "optionALifespanYears",
      "label": "Option A: Expected Lifespan (years)",
      "type": "number",
      "defaultValue": 10,
      "min": 1,
      "max": 100,
      "step": 1,
      "help": "How many years Option A is expected to last before replacement."
    },
    {
      "id": "optionBPricePerSqft",
      "label": "Option B: Price per Sq Ft",
      "type": "number",
      "defaultValue": "",
      "min": 0.1,
      "max": 100,
      "step": 0.1,
      "help": "The material + install cost per square foot for the second option.",
      "money": {
        "role": "rate"
      }
    },
    {
      "id": "optionBLifespanYears",
      "label": "Option B: Expected Lifespan (years)",
      "type": "number",
      "defaultValue": 25,
      "min": 1,
      "max": 100,
      "step": 1,
      "help": "How many years Option B is expected to last before replacement."
    }
  ],
  "sources": [
    {
      "label": "Annualized cost per sq ft = price per sq ft / expected lifespan in years — a cheaper material with a shorter lifespan can cost more per year than a pricier, longer-lasting one"
    }
  ],
  "testCases": [
    {
      "name": "A: $3/10yr vs B: $8/25yr",
      "inputs": {
        "optionAPricePerSqft": 3,
        "optionALifespanYears": 10,
        "optionBPricePerSqft": 8,
        "optionBLifespanYears": 25
      },
      "expected": 0.3,
      "toleranceDecimalPlaces": 2,
      "unit": "currency/sq ft/year (Option A wins)",
      "confidence": "medium",
      "steps": [
        {
          "label": "Option A annualized cost",
          "value": 0.3,
          "unit": "currency/sq ft/yr"
        },
        {
          "label": "Option B annualized cost",
          "value": 0.32,
          "unit": "currency/sq ft/yr"
        }
      ],
      "basis": "sole-source",
      "sourceIndex": 0
    },
    {
      "name": "A: $5/15yr vs B: $12/40yr",
      "inputs": {
        "optionAPricePerSqft": 5,
        "optionALifespanYears": 15,
        "optionBPricePerSqft": 12,
        "optionBLifespanYears": 40
      },
      "expected": 0.3,
      "toleranceDecimalPlaces": 2,
      "unit": "currency/sq ft/year (Option B wins)",
      "confidence": "medium",
      "steps": [
        {
          "label": "Option A annualized cost",
          "value": 0.3333333333333333,
          "unit": "currency/sq ft/yr"
        },
        {
          "label": "Option B annualized cost",
          "value": 0.3,
          "unit": "currency/sq ft/yr"
        }
      ],
      "basis": "sole-source",
      "sourceIndex": 0
    }
  ]
}
