Introduction
Building codes don’t care which unit system you think in — they care about the dimension that’s actually built, measured in the units the local code uses. In the US that’s inches and feet; in most of the rest of the world it’s millimeters. When plans, materials, or products cross that boundary, conversion stops being a convenience and becomes a compliance task: a guardrail that’s 90 cm tall instead of the required 36 inches (91.44 cm) fails inspection, and “I converted it wrong” isn’t a defense. This guide covers the code dimensions that most often need converting, the rounding rules that keep you on the legal side, and what to verify with your local authority.
The Inches to CM Calculator gives you the exact converted figures — but for code work, the critical skill is knowing which way to round afterward, because codes state minimums and maximums, not targets. For the conversion method itself, see the formula-explained guide.
Why Conversion Matters for Code Compliance
Three situations put conversion inside the compliance path:
- Building from foreign plans. A European stair or balustrade design dimensioned in millimeters must satisfy inch-based US code minimums — every regulated dimension needs converting and checking.
- Installing imported products. Metric-sized doors, fixtures, railings, and electrical devices going into US-regulated construction must meet the local dimensional requirements, not just “look right.”
- Working under metric codes abroad. US-designed details (a 36-inch guard, a 32-inch door) built in metric jurisdictions must be converted to satisfy millimeter-based codes.
In all three, the pattern is the same: identify every dimension the code regulates, convert it exactly, then round away from the violation — up for minimums, down for maximums. A converted minimum that’s rounded down is a violation you created with arithmetic. The common mistakes guide covers the rounding traps in general; here they’re legal traps.
Common Code Dimensions, Converted
These are widely referenced US residential (IRC) and electrical (NEC) dimensions, converted exactly. Codes vary by jurisdiction and edition — your local authority having jurisdiction may amend any of these. Always verify against the code as locally adopted; treat this table as a conversion reference, not a code citation.
| Requirement (typical US residential) | Inches | Exact metric | Round for compliance |
|---|---|---|---|
| Guardrail minimum height | 36 in | 91.44 cm | 92 cm (round up) |
| Stair riser maximum height | 7-3/4 in | 19.685 cm | 196 mm (round down) |
| Stair tread minimum depth | 10 in | 25.4 cm | 254 mm (round up) |
| Egress door minimum height | 80 in | 203.2 cm | 204 cm (round up) |
| Egress door minimum clear width | 32 in | 81.28 cm | 82 cm (round up) |
| Hallway minimum width | 36 in | 91.44 cm | 92 cm (round up) |
| Handrail height range | 34–38 in | 86.36–96.52 cm | 864–965 mm (round inward) |
| Receptacle max spacing (NEC) | 12 ft | 365.76 cm | 3.65 m (round down) |
Notice the rounding column: minimums round up (build taller/wider than required), maximums round down (build shorter than allowed), and ranges round inward. This conservative rounding is the compliance-safe habit — it spends a few millimeters of material to buy certainty at inspection. When in doubt, confirm the rounding direction with your inspector before building; they’d rather answer the question than fail the work.
Metric Plans Under Inch Codes: A Worked Check
A homeowner builds a deck stair from a European plan calling for 180 mm risers and 250 mm treads, in a jurisdiction enforcing the typical IRC limits (max 7-3/4 in riser, min 10 in tread).
Step 1 — Convert the riser. 180 mm = 18 cm; 18 / 2.54 = 7.0866 in. Limit is 7.75 in maximum — 7.09 < 7.75, so the riser complies with margin.
Step 2 — Convert the tread. 250 mm = 25 cm; 25 / 2.54 = 9.8425 in. Limit is 10 in minimum — 9.84 < 10, so the tread fails by about 4 mm.
Step 3 — Fix before building. Deepen treads to 260 mm (10.236 in), which clears the 10-inch minimum with margin. The plan’s 250 mm tread looked fine in metric; only the conversion against the inch-based code revealed the violation — caught at the plan stage for zero cost.
This is the highest-value use of conversion in compliance work: checking someone else’s dimensions against your code before anything is built. The same check applies to imported railing kits, metric door units, and foreign fixture rough-ins.
Documentation: What Inspectors Want to See
When converted dimensions support a permit or inspection, document the trail:
- Show both units on submitted plans and cut sheets — “guardrail 92 cm (36-1/4 in)” leaves no ambiguity about which system governed.
- Note the code edition and section each regulated dimension satisfies, so the reviewer can verify without guessing.
- Keep the conversion record — the exact figures from the calculator, before conservative rounding — with the project file. If a dimension is questioned, you can show the unrounded value and the rounding direction.
- Confirm product certifications separately from dimensions: a correctly sized imported electrical device still needs the local listing (UL, ETL, or equivalent) — dimensional compliance and product certification are different gates.
- Ask before building when a conversion lands within a few millimeters of a code limit. Inspectors consistently prefer a pre-build question to a post-build failure.
For the general verification routine these habits plug into, see the conversion checklist and the pro tips guide.
Related Guides
- Complete Guide — the full conversion method behind every table here.
- Material Guide — actual material dimensions for regulated assemblies.
- Estimating Guide — takeoffs that respect code-driven dimensions.
- FAQ — quick answers on precision and rounding.
- Pro Tips — habits that keep conversions inspection-ready.
Frequently Asked Questions
Which way do I round a converted code minimum?
Up — build above the minimum. For maximums, round down. For ranges, round inward. Conservative rounding buys inspection certainty for millimeters of material.
Can I use the metric equivalent of a code dimension directly?
Only if your jurisdiction’s adopted code states it. Otherwise, convert the inch-based requirement exactly and apply conservative rounding — don’t assume the inspector accepts your conversion.
Do I need to document conversions for a permit?
Showing both units on submitted plans, noting the code section each dimension satisfies, and keeping the exact conversion record will make plan review smoother — and it’s cheap insurance if a dimension is questioned.
What if my conversion lands within millimeters of a code limit?
Ask the inspector before building, and add margin. Measurement and construction tolerances can consume a few millimeters, so a dimension that’s “technically compliant” on paper can fail as built.
Are the dimensions in the table above the actual law?
No — they’re widely referenced values from US model codes (IRC/NEC), converted exactly. Your locally adopted code may differ. Verify every regulated dimension with your authority having jurisdiction.
Get Your Number
Code compliance turns conversion into a legal task: identify every regulated dimension, convert it exactly with the Inches to CM Calculator, round conservatively away from the violation, document both units, and verify against your locally adopted code before building. The arithmetic is the easy part — the discipline is in the rounding direction and the paper trail. Get those right and inspections become formalities.
Disclaimer: Calculator results are planning estimates based on the measurements you enter. Code dimensions in this guide are converted from widely referenced US model-code values for illustration — they are not legal citations and local amendments vary. Always verify requirements with your local authority having jurisdiction and consult a licensed professional for code-regulated or structural work.
