# Trim and Finish Nail Calculator (Running Trim, Casing and Mitres, in Boxes)

> 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.

Page: https://craftquantities.com/calculators/materials-quantities/trim-nail-calculator/ (calculator). This is the page's Markdown copy; the HTML page is the canonical version.

Version 1.0.0, sources checked 2026-11-25, 2 published test vectors.

Boxes of trim nails: 1 box for Trim Length 98 ft, the page's opening figures; on the metric page, 30 m gives 1 box. Sources are cited below.

## Key facts

- The IRC frames walls with studs at 16 or 24 in (406 or 610 mm) on centre, the points running trim is nailed into. (source: IRC Section R602.3: 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)
- Running trim nailed twice at every stud on 16 in centres takes about three nails per foot (roughly five per metre) before joints and spare. (source: IRC Section R602.3: 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)

## Inputs

A length, area or volume is entered with its unit. The page opens on the values below: a metric reader sees the metric column, a US customary reader the other.

| Input | id | Opens at (metric) | Opens at (US customary) | Accepts |
|---|---|---|---|---|
| Trim Length | `trimLength` | 30 m | 98 ft | mm, cm, m, in, ft, yd; range 0–5000 m |
| Pieces of Trim | `pieces` | 12 | 12 | range 0–2000 |
| Fixing Spacing (stud centres) | `fixingSpacing` | 400 mm | 16 in | mm, cm, m, in, ft, yd; range 0.1–1.2 m |
| Nails per Fixing Point | `nailsPerFixing` | 2 | 2 | range 1–4 |
| Mitres, Returns and Scarf Joints | `joints` | 8 | 8 | range 0–2000 |
| Nails per Joint | `nailsPerJoint` | 2 | 2 | range 0–6 |
| Spare (%) | `sparePercent` | 10 | 10 | range 0–50 |
| Nails per Box | `nailsPerBox` | 1000 | 1000 | range 1–20000 |

- **Trim Length**: All the baseboard, casing or other running trim, added together.
- **Pieces of Trim**: How many separate lengths go on the wall, so each far end gets its fixing.
- **Fixing Spacing (stud centres)**: How far apart the nailing points are: usually every stud, 16 in or 400 mm.
- **Nails per Fixing Point**: Two at each stud is usual: one low into the plate, one higher into the stud.
- **Mitres, Returns and Scarf Joints**: Each corner, return and joint along a run that is pinned across.
- **Nails per Joint**: Pins driven across each mitre or scarf.
- **Spare (%)**: Extra for nails that blow out or fold over. Ten opens the page.
- **Nails per Box**: The count printed on the box of brads or finish nails you buy.

## The answer on the opening values

Worked exactly as the page works it, on the values each system opens on.

### Metric

| Result | Value |
|---|---|
| **Boxes of trim nails** | 1 box |
| Trim nails, spare included | 209 nails |
| Fixing points | 87 |
| Nails along the runs | 174 nails |
| Nails at joints | 16 nails |

### US customary

| Result | Value |
|---|---|
| **Boxes of trim nails** | 1 box |
| Trim nails, spare included | 207 nails |
| Fixing points | 86 |
| Nails along the runs | 172 nails |
| Nails at joints | 16 nails |

## Formula with your numbers

1. **Count the fixing points**: 98 ft ÷ 16 in + 12 = 86
2. **Nail the runs and the joints**: 86 × 2 = 172 nails; 8 × 2 = 16 nails
3. **Add the spare and box them**: + 10% = 207 nails ÷ 1000 = 1 box

Worked on the figures the page opens on; the page re-works each step on the reader's own.

## How to calculate trim and finish nail (running trim, casing and mitres, in boxes) in 3 steps

1. **Count the fixing points**: Divide the trim length by the spacing, rounded up, and add one per piece for its far end.
2. **Nail the runs and the joints**: Multiply the points by the nails at each, and the joints by their pins.
3. **Add the spare and box them**: Add the spare and divide by the count in a box, rounded up.

## How it is worked out

The count is the trim length at the fixing spacing, one more point per piece, plus the pins at each joint.

The working the page shows, in order: Trim nails, spare included; Fixing points; Nails along the runs; Nails at joints; then boxes of trim nails.

The method, derived in full:

- [Quantity, Waste and Rounding](https://craftquantities.com/methodology/quantity-waste-and-rounding/): Why a material count is a ceiling function rather than a division, and why the waste factor — not the geometry — carries the risk.

What this calculation does not cover:

- Fixing points are counted at the spacing entered along each piece, with one more per piece for its far end. Trim glued as well as nailed, or fixed to masonry with plugs and screws, takes a different count.
- Nail gauge and length are chosen for the trim's thickness and what is behind the wall finish; the page counts nails, it does not choose them.
- Casing round a door or window is nailed into the jamb as well as the framing. Enter the casing length once and allow a second nail per point for the jamb side.
- Filler, glue for the mitres and caulk for the top edge are separate items.

## Sources

As the calculator cites them (sources checked 2026-11-25):

- 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
- 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

The site's pages for the documents these name:

- [International Residential Code](https://craftquantities.com/standards/icc/irc/)

A code or standard has force only where a jurisdiction has adopted it, usually with local amendments; check what is in force with the authority where you build.

## Questions answered on the page

**How many nails does baseboard take?**

About two at every stud, one into the bottom plate and one higher into the stud, plus a couple through each mitre. At 16 in (406 mm) stud centres that is three nails a foot, roughly; 30 m (about 100 ft) of baseboard in 12 pieces with eight mitres comes to a little over 200 with a ten percent spare.

**Brad nails or finish nails?**

Thin 18-gauge brads hold light casing and small mouldings and leave a tiny hole; heavier 15- or 16-gauge finish nails hold tall baseboard and pull trim tight to an uneven wall. The count on this page is the same either way; the gauge is chosen for the trim.

**Why add a fixing point for each piece?**

Because each length is fixed near both of its ends, and the spacing alone counts one end too few. A 3 m length at 400 mm spacing has eight spaces but nine nailing points.

**What if there is no stud where I need a nail?**

Glue the joint and pin it across, or use a longer nail angled into the plate. On masonry, trim is fixed with adhesive, or plugs and screws, and the count changes: use your own spacing for the screws.

## Related calculators

- [Baseboard & Trim Calculator](https://craftquantities.com/calculators/renovation-construction/baseboard-trim-calculator/)
- [Door & Window Casing Calculator](https://craftquantities.com/calculators/renovation-construction/door-window-casing-calculator/)
- [Crown Molding Calculator](https://craftquantities.com/calculators/renovation-construction/crown-molding-calculator/)
- [Framing Stud Calculator](https://craftquantities.com/calculators/renovation-construction/framing-stud-calculator/)

## Run it from a program

- REST: `GET https://api.craftquantities.com/v1/calculate/trim-nail-calculator` with each input as a query parameter, a length, area or volume with its unit; `https://api.craftquantities.com/v1/describe/trim-nail-calculator` lists the inputs.
- MCP: the `calculate` tool at https://api.craftquantities.com/mcp with `slug` `trim-nail-calculator`.
- Definition and test vectors: https://craftquantities.com/api/v1/calculators/trim-nail-calculator.json

---
Source: https://craftquantities.com/calculators/materials-quantities/trim-nail-calculator/
Craft Quantities: free to read, cite and link to; the pages are not licensed for republication. Quantities only: no prices, no design and no certification.
