CodeExam Prep
FeaturesExamsPricingStudy GuidesFAQLog In
HomeDemo

Code calculators

Quick checks for the calculations residential inspectors and contractors do most often. Each one shows its work and names the 2024 IRC section, so you can confirm it in the code.

Mechanical and fuel gas

  • Dryer vent length calculatorFree dryer exhaust duct length calculator: enter the elbows and get the maximum straight duct allowed under 2024 IRC Section M1502.4.6.1 and Table M1502.4.6.1.
  • Gas pipe sizing calculatorSize natural gas Schedule 40 steel pipe with the longest length method and 2024 IRC Table G2413.4(1): enter the longest run and each section's load.
  • Combustion air calculatorCheck whether a room has enough indoor combustion air for gas appliances under 2024 IRC G2407.5.1 (50 ft³ per 1,000 Btu/h), and size the openings to an adjoining room.

Building

  • Attic ventilation calculatorCalculate the required attic net free ventilating area under 2024 IRC Section R806.2: the 1/150 rule, when 1/300 is allowed, and how much goes high and low.
  • Egress window calculatorCheck an egress window against 2024 IRC R319.2: 5.7 sq ft net clear opening (5.0 at grade floor), 24 in high, 20 in wide, sill no more than 44 in above the floor.

Electrical

  • Box fill calculatorFree electrical box fill calculator under 2024 IRC E3905.12: conductors, clamps, fixture studs, device yokes and grounding conductors, with Table E3905.12.2.1 volumes.

Studying for an ICC residential exam? See the study guides.

CodeExam Prep

IRC-based exam prep with code-referenced explanations for building inspectors

support@codeexamprep.com

Product

  • Features
  • Pricing
  • Study Guides
  • FAQ

Company

  • About
  • Contact

Legal

  • Terms of Service
  • Privacy Policy
  • Refund Policy
  • Disclaimer

© 2026 CodeExam Prep. All rights reserved.

CodeExam Prep is an independent study tool and is not affiliated with, endorsed by, or sponsored by the International Code Council (ICC). "ICC", "IRC", and related marks are the property of their respective owners. See our Disclaimer.

© 2026 CodeExam Prep. All rights reserved.