{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://askcalculators.com/us/fence/schema.json",
  "title": "Fence Materials Calculator — United States inputs",
  "description": "Estimate a single open fence run with separate gates and subtract the post displacement from round concrete-filled holes. USD planning view; stated limitations apply.",
  "type": "object",
  "properties": {
    "unitSystem": {
      "title": "Measurement system",
      "type": "string",
      "default": "imperial",
      "enum": [
        "imperial",
        "metric"
      ],
      "x-optionLabels": {
        "imperial": "Imperial (US gallons / short tons where relevant)",
        "metric": "Metric"
      }
    },
    "length": {
      "title": "Total fence run including gates",
      "type": "number",
      "description": "Illustrative starting value; replace with your own evidence.",
      "default": 98.42519685039369,
      "minimum": 0.03280839895013123,
      "maximum": 3280839895013.123,
      "x-suffix": "ft"
    },
    "panelWidth": {
      "title": "Panel/bay width",
      "type": "number",
      "description": "Illustrative starting value; replace with your own evidence.",
      "default": 5.905511811023622,
      "minimum": 0.03280839895013123,
      "maximum": 3280839895013.123,
      "x-suffix": "ft"
    },
    "gateCount": {
      "title": "Gates",
      "type": "number",
      "description": "Illustrative starting value; replace with your own evidence.",
      "default": 1,
      "minimum": 0,
      "maximum": 1000,
      "x-step": 1,
      "multipleOf": 1
    },
    "gateWidth": {
      "title": "Width of each gate",
      "type": "number",
      "description": "Illustrative starting value; replace with your own evidence.",
      "default": 3.280839895013123,
      "minimum": 0,
      "maximum": 3280839895013.123,
      "x-suffix": "ft"
    },
    "holeDiameter": {
      "title": "Specified round post-hole diameter",
      "type": "number",
      "description": "Illustrative starting value; replace with your own evidence.",
      "default": 9.84251968503937,
      "minimum": 0.03937007874015748,
      "maximum": 39370078740.157486,
      "x-suffix": "in"
    },
    "holeDepth": {
      "title": "Specified post-hole depth",
      "type": "number",
      "description": "Illustrative starting value; replace with your own evidence.",
      "default": 2.4606299212598426,
      "minimum": 0.03280839895013123,
      "maximum": 3280839895013.123,
      "x-suffix": "ft"
    },
    "postWidth": {
      "title": "Square post side length",
      "type": "number",
      "description": "Illustrative starting value; replace with your own evidence.",
      "default": 3.937007874015748,
      "minimum": 0.03937007874015748,
      "maximum": 39370078740.157486,
      "x-suffix": "in"
    },
    "postPrice": {
      "title": "Price per post",
      "type": "number",
      "description": "Illustrative starting value; replace with your own evidence.",
      "default": 0,
      "minimum": 0,
      "maximum": 1000000000000,
      "x-step": 0.01,
      "x-prefix": "USD",
      "x-unit": "currency"
    },
    "gatePrice": {
      "title": "Price per gate",
      "type": "number",
      "description": "Illustrative starting value; replace with your own evidence.",
      "default": 0,
      "minimum": 0,
      "maximum": 1000000000000,
      "x-step": 0.01,
      "x-prefix": "USD",
      "x-unit": "currency"
    },
    "concretePrice": {
      "title": "Concrete price per volume unit",
      "type": "number",
      "description": "Illustrative starting value; replace with your own evidence.",
      "default": 0,
      "minimum": 0,
      "maximum": 764554857984,
      "x-prefix": "USD",
      "x-suffix": "/yd³",
      "x-unit": "currency"
    },
    "unitRate": {
      "title": "Material price per panel",
      "type": "number",
      "description": "Zero means unpriced, not free. Enter a current, scoped supplier quote. Illustrative starting value; replace with your own evidence.",
      "default": 0,
      "minimum": 0,
      "maximum": 1000000000000,
      "x-step": 0.01,
      "x-prefix": "USD",
      "x-unit": "currency"
    },
    "laborCost": {
      "title": "Total labor allowance",
      "type": "number",
      "description": "Illustrative starting value; replace with your own evidence.",
      "default": 0,
      "minimum": 0,
      "maximum": 1000000000000,
      "x-step": 0.01,
      "x-prefix": "USD",
      "x-unit": "currency"
    },
    "deliveryCost": {
      "title": "Delivery allowance",
      "type": "number",
      "description": "Illustrative starting value; replace with your own evidence.",
      "default": 0,
      "minimum": 0,
      "maximum": 1000000000000,
      "x-step": 0.01,
      "x-prefix": "USD",
      "x-unit": "currency"
    },
    "otherCost": {
      "title": "Other fixed costs",
      "type": "number",
      "description": "Illustrative starting value; replace with your own evidence.",
      "default": 0,
      "minimum": 0,
      "maximum": 1000000000000,
      "x-step": 0.01,
      "x-prefix": "USD",
      "x-unit": "currency"
    },
    "costMultiplier": {
      "title": "Material/labor multiplier",
      "type": "number",
      "description": "Use a verified regional index only when supplied. 1 is an unadjusted scenario, not a researched index. Illustrative starting value; replace with your own evidence.",
      "default": 1,
      "minimum": 0.1,
      "maximum": 10,
      "x-step": 0.01
    },
    "spreadPercent": {
      "title": "Low/high sensitivity around the entered total",
      "type": "number",
      "description": "Illustrative starting value; replace with your own evidence.",
      "default": 15,
      "minimum": 0,
      "maximum": 100,
      "x-step": 0.1,
      "x-unit": "percent"
    },
    "taxRate": {
      "title": "Explicit tax allowance",
      "type": "number",
      "description": "Illustrative starting value; replace with your own evidence.",
      "default": 0,
      "minimum": 0,
      "maximum": 100,
      "x-step": 0.1,
      "x-unit": "percent"
    }
  },
  "required": [
    "length",
    "panelWidth",
    "gateCount",
    "gateWidth",
    "holeDiameter",
    "holeDepth",
    "postWidth",
    "postPrice",
    "gatePrice",
    "concretePrice",
    "unitRate",
    "laborCost",
    "deliveryCost",
    "otherCost",
    "costMultiplier",
    "spreadPercent",
    "taxRate"
  ],
  "additionalProperties": false,
  "x-askcalculators": {
    "version": "20.16.0",
    "calculatorUrl": "https://askcalculators.com/us/fence/",
    "queryExample": "https://askcalculators.com/us/fence/?unitSystem=imperial&length=98.42519685039369&panelWidth=5.905511811023622&gateCount=1&gateWidth=3.280839895013123&holeDiameter=9.84251968503937&holeDepth=2.4606299212598426&postWidth=3.937007874015748&postPrice=0&gatePrice=0&concretePrice=0&unitRate=0&laborCost=0&deliveryCost=0&otherCost=0&costMultiplier=1&spreadPercent=15&taxRate=0",
    "migrationStatus": "new",
    "reviewStatus": "pending",
    "pageStatus": "live",
    "workStatus": "pending",
    "formula": {
      "expression": "panels = ceiling((run − total gate width) ÷ bay width); posts = panels + 1 + gates.",
      "note": "Inputs are converted to canonical units before evaluating this stated formula."
    },
    "quality": {
      "availability": "live",
      "technicalReviewRecord": "/reviews/v20-us-fence.json",
      "qualifiedReview": "pending",
      "qualifiedReviewer": null,
      "qualifiedReviewDate": null,
      "formulaVersion": "20.16.0",
      "referenceCoverage": "references-listed",
      "releaseTestScope": "Catalog and regression checks are not a professional formula audit; consult release evidence.",
      "historicalMetadataDate": "",
      "historicalMetadataNotice": "The imported date is not evidence of a completed human review."
    },
    "outputs": {
      "panels": {
        "title": "Whole fence panels/bays",
        "type": "number",
        "x-format": "number",
        "x-digits": 2
      },
      "posts": {
        "title": "Posts including gate separators",
        "type": "number",
        "x-format": "number",
        "x-digits": 2
      },
      "concreteVolume": {
        "title": "Net post-hole concrete",
        "type": "number",
        "x-format": "number",
        "x-digits": 2
      },
      "materialCost": {
        "title": "Material cost",
        "type": "number",
        "x-format": "currency",
        "x-currency": "USD",
        "x-digits": 2
      },
      "laborCost": {
        "title": "Labor allowance",
        "type": "number",
        "x-format": "currency",
        "x-currency": "USD",
        "x-digits": 2
      },
      "deliveryCost": {
        "title": "Delivery allowance",
        "type": "number",
        "x-format": "currency",
        "x-currency": "USD",
        "x-digits": 2
      },
      "otherCost": {
        "title": "Other specified costs",
        "type": "number",
        "x-format": "currency",
        "x-currency": "USD",
        "x-digits": 2
      },
      "tax": {
        "title": "Entered tax allowance",
        "type": "number",
        "x-format": "currency",
        "x-currency": "USD",
        "x-digits": 2
      },
      "low": {
        "title": "Low cost scenario",
        "type": "number",
        "x-format": "currency",
        "x-currency": "USD",
        "x-digits": 2
      },
      "mid": {
        "title": "Middle cost scenario",
        "type": "number",
        "x-format": "currency",
        "x-currency": "USD",
        "x-digits": 2,
        "x-primary": true
      },
      "high": {
        "title": "High cost scenario",
        "type": "number",
        "x-format": "currency",
        "x-currency": "USD",
        "x-digits": 2
      }
    }
  }
}
