{
  "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": "trim-nail-calculator",
  "category": "materials-quantities",
  "title": "Trim and Finish Nail Calculator (Running Trim, Casing and Mitres, in Boxes)",
  "description": "Brad or finish nails for baseboard, casing and other running trim, from its length, the fixing spacing behind it and the mitres and returns, in boxes.",
  "url": "https://craftquantities.com/calculators/materials-quantities/trim-nail-calculator/",
  "json": "https://craftquantities.com/api/v1/calculators/trim-nail-calculator.json",
  "inputCount": 8,
  "testCaseCount": 2,
  "sourceCount": 2,
  "lastVerified": "2026-11-25",
  "citation": {
    "author": "Craft Quantities",
    "title": "Trim and Finish Nail Calculator (Running Trim, Casing and Mitres, in Boxes)",
    "version": "1.0.0",
    "sourcesChecked": "2026-11-25",
    "url": "https://craftquantities.com/calculators/materials-quantities/trim-nail-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. Trim and Finish Nail Calculator (Running Trim, Casing and Mitres, in Boxes). Version 1.0.0. Sources checked 2026-11-25. https://craftquantities.com/calculators/materials-quantities/trim-nail-calculator/",
      "apa": "Craft Quantities. (2026). Trim and Finish Nail Calculator (Running Trim, Casing and Mitres, in Boxes) (Version 1.0.0) [Web calculator]. Retrieved from https://craftquantities.com/calculators/materials-quantities/trim-nail-calculator/",
      "harvard": "Craft Quantities (2026) Trim and Finish Nail Calculator (Running Trim, Casing and Mitres, in Boxes) (Version 1.0.0). Available at: https://craftquantities.com/calculators/materials-quantities/trim-nail-calculator/",
      "bibtex": "@misc{craftquantities-calculators-materials-quantities-trim-nail-calculator,\n  author       = {{Craft Quantities}},\n  title        = {Trim and Finish Nail Calculator (Running Trim, Casing and Mitres, in Boxes)},\n  version      = {1.0.0},\n  year         = {2026},\n  howpublished = {\\url{https://craftquantities.com/calculators/materials-quantities/trim-nail-calculator/}},\n}"
    }
  },
  "inputs": [
    {
      "id": "trimLength",
      "label": "Trim Length",
      "type": "number",
      "dimension": "length",
      "defaultValue": 30,
      "min": 0,
      "max": 5000,
      "step": 0.1,
      "help": "All the baseboard, casing or other running trim, added together."
    },
    {
      "id": "pieces",
      "label": "Pieces of Trim",
      "type": "number",
      "defaultValue": 12,
      "min": 0,
      "max": 2000,
      "step": 1,
      "help": "How many separate lengths go on the wall, so each far end gets its fixing."
    },
    {
      "id": "fixingSpacing",
      "label": "Fixing Spacing (stud centres)",
      "type": "number",
      "dimension": "length",
      "defaultValue": 0.4,
      "min": 0.1,
      "max": 1.2,
      "step": 0.01,
      "help": "How far apart the nailing points are: usually every stud, 16 in or 400 mm."
    },
    {
      "id": "nailsPerFixing",
      "label": "Nails per Fixing Point",
      "type": "number",
      "defaultValue": 2,
      "min": 1,
      "max": 4,
      "step": 1,
      "help": "Two at each stud is usual: one low into the plate, one higher into the stud."
    },
    {
      "id": "joints",
      "label": "Mitres, Returns and Scarf Joints",
      "type": "number",
      "defaultValue": 8,
      "min": 0,
      "max": 2000,
      "step": 1,
      "help": "Each corner, return and joint along a run that is pinned across."
    },
    {
      "id": "nailsPerJoint",
      "label": "Nails per Joint",
      "type": "number",
      "defaultValue": 2,
      "min": 0,
      "max": 6,
      "step": 1,
      "help": "Pins driven across each mitre or scarf."
    },
    {
      "id": "sparePercent",
      "label": "Spare (%)",
      "type": "number",
      "defaultValue": 10,
      "min": 0,
      "max": 50,
      "step": 1,
      "help": "Extra for nails that blow out or fold over. Ten opens the page."
    },
    {
      "id": "nailsPerBox",
      "label": "Nails per Box",
      "type": "number",
      "defaultValue": 1000,
      "min": 1,
      "max": 20000,
      "step": 1,
      "help": "The count printed on the box of brads or finish nails you buy."
    }
  ],
  "sources": [
    {
      "label": "International Residential Code, Section R602.3 and Table R602.3(5): wood studs spaced at 16 or 24 in on centre, the framing running trim is fixed into"
    },
    {
      "label": "AWI, AWMAC and WI, Architectural Woodwork Standards, installation: standing and running trim fastened to the substrate with finish nails set for filling, joints tight and true"
    }
  ],
  "testCases": [
    {
      "name": "30 m of baseboard in 12 pieces at 400 mm, two a point, 8 mitres: 209 nails, one box",
      "inputs": {
        "trimLength": 30,
        "pieces": 12,
        "fixingSpacing": 0.4,
        "nailsPerFixing": 2,
        "joints": 8,
        "nailsPerJoint": 2,
        "sparePercent": 10,
        "nailsPerBox": 1000
      },
      "expected": 1,
      "toleranceDecimalPlaces": 0,
      "unit": "boxes",
      "confidence": "high",
      "steps": [
        {
          "label": "Trim nails, spare included",
          "value": 209,
          "unit": "nails"
        },
        {
          "label": "Fixing points",
          "value": 87
        },
        {
          "label": "Nails along the runs",
          "value": 174,
          "unit": "nails"
        },
        {
          "label": "Nails at joints",
          "value": 16,
          "unit": "nails"
        }
      ],
      "basis": "cited",
      "sourceIndex": 0
    },
    {
      "name": "200 ft of trim in 20 pieces at 16 in, 30 joints, no spare: 400 nails, four boxes of 100",
      "inputs": {
        "trimLength": 60.96,
        "pieces": 20,
        "fixingSpacing": 0.4064,
        "nailsPerFixing": 2,
        "joints": 30,
        "nailsPerJoint": 2,
        "sparePercent": 0,
        "nailsPerBox": 100
      },
      "expected": 4,
      "toleranceDecimalPlaces": 0,
      "unit": "boxes",
      "confidence": "high",
      "steps": [
        {
          "label": "Trim nails, spare included",
          "value": 400,
          "unit": "nails"
        },
        {
          "label": "Fixing points",
          "value": 170
        },
        {
          "label": "Nails along the runs",
          "value": 340,
          "unit": "nails"
        },
        {
          "label": "Nails at joints",
          "value": 60,
          "unit": "nails"
        }
      ],
      "basis": "cited",
      "sourceIndex": 0
    }
  ],
  "usedByAssemblies": [
    {
      "id": "room-fitout",
      "name": "Room fit-out"
    },
    {
      "id": "resilient-floor",
      "name": "LVP, laminate or engineered floor"
    },
    {
      "id": "trim-run",
      "name": "Baseboard and casing"
    },
    {
      "id": "interior-door-installation",
      "name": "Interior door installation"
    },
    {
      "id": "window-replacement",
      "name": "Window replacement"
    },
    {
      "id": "external-door-replacement",
      "name": "External door replacement, with its frame"
    }
  ]
}
