How we check our formulas
Before a calculator is published, its formula is tested in code against figures from at least two sources we have read, its worked example is recomputed by that test, and a reviewer who did not write the page checks it all again.
Last updated by the Yardstick Math team.
The process, step by step
- The formula lives in one tested function. The math is a small function with explicit units and no page code. The calculator and the automated tests call the same function, and the tests compare its answers with figures taken from the sources.
- At least two sources, actually read. Each page cites at least two references, such as a manufacturer data sheet or installation guide, a building code, a government or university document, an industry association guide or a supplier’s published table. We open each one, check that it loads and find the figure we use in it. The Sources list shows the date we last read each one; a source that blocks automated reading is listed without a date.
- The worked example matches the calculator. Each page has an example worked by hand, step by step. An automated test checks that the calculator gives the same number, and its name is printed under the example. Other figures quoted in the text and the FAQ are recomputed by tests too.
- A separate review before publication. A new calculator stays unpublished until a reviewer who did not write it re-runs the tests, rereads every source and tries the calculator on a phone-sized screen.
- A checked date on every page. Each calculator shows “Checked” and a date right below the form: the day its formula, example and sources were last checked in full.
- Corrections within 48 hours. If a source changes a rule or a figure a calculator uses, the page is corrected or taken down within 48 hours.
- Estimates, not engineering. Structural calculators show “Estimate only” under the result: have dimensions, loads and local code checked by a qualified professional before you build. This applies to Concrete Calculator, Stair Calculator, Roofing Calculator, Roof Pitch Calculator, Concrete Block Calculator, Rainwater Harvesting Calculator, Brick Calculator, Deck Calculator, Rafter Length Calculator, Stud Calculator, Rebar Calculator, Generator Size Calculator, Baluster Spacing Calculator, Water Heater Size Calculator, Ceiling Fan Size Calculator and Firewood Calculator.
Rounding and unit conversions
Calculations keep every decimal. Rounding happens only when a number is displayed, and quantities you buy (bags, bundles, cans) are rounded up. Conversions use the exact factors published by the US National Institute of Standards and Technology: 1 ft = 0.3048 m, 1 US gallon = 231 in³ = 3.785411784 L, 1 short ton = 2,000 lb = 907.18474 kg.
Who checks
Pages are written and checked by the Yardstick Math team and signed with the team's name, not a person's. The site publishes no reviews or testimonials.
Formula references by calculator
- Concrete Calculator: QUIKRETE, Sakrete, NIST, ConcreteVolume.com
- Cubic Yard Calculator: NIST, Sakrete
- Sonotube Calculator: Sonoco Products Company, QUIKRETE, International Code Council, American Concrete Institute
- Gravel Calculator: LandCare Stone, NIST, Sakrete
- Square Footage Calculator: ENERGY STAR (US EPA), Home Innovation Research Labs / ANSI (copy hosted by NWMLS), NIST
- Mulch Calculator: Iowa State University Extension and Outreach, NC State Extension, University of Maryland Extension, Pacific Topsoils
- Paint Calculator: Sherwin-Williams, Benjamin Moore
- Stair Calculator: International Code Council, City of Gilroy, California, Building Division, City of Philadelphia
- Roofing Calculator: Owens Corning, NIST, City of Seattle, Department of Construction and Inspections (2018 Seattle Residential Code)
- BTU Calculator: ENERGY STAR (US EPA), NIST, US Department of Energy, Bryant, HVACDirect.com
- Pool Volume Calculator: Leslie's, City of Akron, Ohio, NIST
- Topsoil Calculator: Pacific Topsoils, Virginia Cooperative Extension, NIST
- Landscape Rock Calculator: Pacific Topsoils, Utah State University Extension, University of California Statewide IPM Program, Colorado State University Extension, NIST
- Board Foot Calculator: University of Wisconsin–Madison Extension, University of Washington, Rural Technology Initiative, NIST
- Asphalt Calculator: Indiana Department of Transportation, Asphalt Institute, NIST
- Fence Calculator: Lowe's, QUIKRETE
- Tile Calculator: CUSTOM Building Products, Florida Tile, NIST
- Roof Pitch Calculator: City of Dallas, RCABC, Seattle SDCI, Asphalt Roofing Manufacturers Association (ARMA)
- Pool Chlorine Calculator: Indiana Department of Health, CDC, Innovative Water Care (HTH), Oreq Corporation
- Wire Gauge Calculator: National Fire Protection Association, NFPA
- Siding Calculator: Polymeric Exterior Products Association (PEPA), James Hardie
- Concrete Block Calculator: Concrete Masonry & Hardscapes Association (CMHA), QUIKRETE
- Flooring Calculator: Shaw Hardwood Flooring, Tarkett
- Rainwater Harvesting Calculator: University of Arizona Cooperative Extension, University of Nebraska–Lincoln Extension, Texas A&M AgriLife Extension
- Caulk Calculator: DAP Products Inc., Tower Sealants
- Deck Stain Calculator: Sherwin-Williams, Behr, TWP (Amteco), Flood (PPG), NIST, International Code Council
- Drywall Calculator: USG, Georgia-Pacific Gypsum, CertainTeed, HomeAdvisor, Angi, Gordian / RSMeans, Gypsum Association
- Roof Square Calculator: National Roofing Contractors Association, ASTM International, International Code Council, ARMA
- Soil Calculator: Pacific Topsoils, Virginia Cooperative Extension, USDA Natural Resources Conservation Service, US Army Corps of Engineers, AASHTO, Cornell University, Square Foot Gardening Foundation, Oregon State University Extension, NIST
- Wire Size Calculator: National Fire Protection Association (NFPA), Southwire Company, LLC, Mike Holt Enterprises
- Roof Replacement Cost Calculator: HomeAdvisor, Angi, Gordian / RSMeans, National Roofing Contractors Association, Owens Corning, International Code Council, ASTM International
- Wallpaper Calculator: Graham & Brown (The Home Depot), York Wallcoverings
- Bathroom Remodel Cost Calculator: HomeAdvisor, Angi, Remodeling Magazine / Zonda Media, National Kitchen & Bath Association, Gordian / RSMeans, US Census Bureau
- Brick Calculator: Brick Industry Association, QUIKRETE, Interstate Brick
- Concrete Slab Cost Calculator: HomeAdvisor, Angi, Gordian / RSMeans, National Ready Mixed Concrete Association, Concrete Network, American Concrete Institute, International Code Council, ASTM International
- Grout Calculator: Custom Building Products (CBP), MAPEI, LATICRETE International, Tile Council of North America, American National Standards Institute
- Kitchen Remodel Cost Calculator: HomeAdvisor, Angi, Remodeling Magazine / Zonda Media, National Kitchen & Bath Association, Gordian / RSMeans, US Census Bureau
- Paver Calculator: Interlocking Concrete Pavement Institute (copy hosted by Orco), Unilock Contractors, Pacific Topsoils
- Mortar Calculator: ASTM International, Brick Industry Association, National Concrete Masonry Association, Portland Cement Association, QUIKRETE, Sakrete
- Sand Calculator: Pacific Topsoils, National Institute of Standards and Technology (NIST), Unilock Contractors
- Sod Calculator: Virginia Cooperative Extension, Mississippi State University Extension
- Acreage Calculator: NIST, Bureau of Land Management, USDA Agricultural Marketing Service
- Deck Calculator: American Wood Council, Trex
- Epoxy Floor Coating Calculator: Rust-Oleum, Behr, ArmorPoxy, Epoxy-Coat, Leggari, PPG, Sherwin-Williams
- Dirt Calculator: USDA Natural Resources Conservation Service, US Army Corps of Engineers, AASHTO, Federal Highway Administration
- Pool Salt Calculator: Hayward, Pentair
- Cubic Feet Calculator: NIST, USDA Agricultural Marketing Service
- Rafter Length Calculator: Curtis Lumber, InspectAPedia, City of Dallas
- Retaining Wall Calculator: National Concrete Masonry Association (NCMA), Federal Highway Administration, AASHTO, ASTM International
- Window Replacement Cost Calculator: HomeAdvisor, Angi, Remodeling Magazine / Zonda Media, Efficient Windows Collaborative / NFRC, National Fenestration Rating Council, Gordian / RSMeans, US Environmental Protection Agency
- Raised Bed Soil Calculator: USDA Natural Resources Conservation Service, University of Minnesota Extension, Square Foot Gardening Foundation, Oregon State University Extension
- Plywood Calculator: APA – The Engineered Wood Association
- Slope Calculator: NIST, U.S. Department of Justice, International Code Council, FHWA, NRCA (National Roofing Contractors Association)
- Board and Batten Calculator: LP Building Solutions, James Hardie
- Fertilizer Calculator: Purdue University Turfgrass Science, Washington State University Extension, Washington State University Extension, King County
- Linear Feet Calculator: National Hardwood Lumber Association, American Wood Council (AWC), ASTM International, National Wood Flooring Association (NWFA), Trex / TimberTech / Fiberon (composite decking manufacturers)
- Stair Stringer Calculator: International Code Council, American Wood Council, American Wood Protection Association, Occupational Safety and Health Administration
- Attic Ventilation Calculator: PNNL Building America Solution Center (U.S. DOE), Owens Corning Roofing, GAF
- Deck Board Calculator: American Wood Council (AWC), Trex Company, Inc., TimberTech (AZEK Building Products), Fiberon (Fortress Building Products), National Hardwood Lumber Association
- Paint Coverage Calculator: Painting and Decorating Contractors of America, Sherwin-Williams, Benjamin Moore, National Institute of Standards and Technology, Environmental Protection Agency
- Stud Calculator: International Code Council, via UpCodes, U.S. Department of Energy, Building Science Corporation
- Carpet Calculator: Shaw Floors, Carpet and Rug Institute, NIST, The Home Depot
- Soffit Calculator: Mitten Building Products, Georgia-Pacific, CertainTeed, Quality Edge, Buchner Manufacturing, National Roofing Contractors Association, PNNL Building America Solution Center (U.S. DOE)
- Grass Seed Calculator: Penn State Extension, University of Illinois Extension
- Ridge Vent Calculator: GAF, Owens Corning, ICC Evaluation Service, Air Vent, Inc., CertainTeed, PNNL Building America Solution Center (U.S. DOE), Owens Corning Roofing
- Pond Volume Calculator: Gardenponds.com, CenterPoint Pond, NIST, Farmer Grows, CalcBee, Grainger KnowHow
- Rebar Calculator: South Dakota Department of Transportation, North Carolina Department of Transportation
- Insulation Calculator: ENERGY STAR (U.S. EPA), Owens Corning, US GreenFiber, LLC (copy hosted by Home Depot)
- Mass Save Heat Pump Rebate Calculator: National Grid (Mass Save sponsor), Cape Light Compact (Mass Save sponsor), Mass Save, IRS
- Electricity Cost Calculator: U.S. Energy Information Administration
- Solar Panel Calculator: National Renewable Energy Laboratory (NREL), Internal Revenue Service, U.S. Energy Information Administration
- Generator Size Calculator: Lowe's, Generac, The Home Depot
- Baluster Spacing Calculator: Stairways.org, American Wood Council, Decks.com
- Baseboard Calculator: Home Innovation Research Labs / ANSI (copy hosted by NWMLS), NIST, This Old House
- Water Heater Size Calculator: U.S. Department of Energy, Energy Saver, eCFR (U.S. Government)
- Ceiling Fan Size Calculator: ENERGY STAR, PNNL BASC, DOE Energy Saver, Hunter Fan
- Firewood Calculator: Washington State Department of Agriculture, University of Arkansas Cooperative Extension, Oklahoma State University Extension
- CFM Calculator: ASHRAE, SMACNA, ACCA
- Voltage Drop Calculator: National Fire Protection Association, Southwire Company, Mike Holt Enterprises, NFPA
- Conduit Fill Calculator: National Fire Protection Association, Southwire Company, Mike Holt Enterprises, NFPA
- Water Softener Size Calculator: Water Quality Association (WQA), State of North Dakota, Penn State Extension, U.S. Geological Survey
- Recessed Lighting Calculator: Illuminating Engineering Society (IES), NFPA, Various (Cree, Lithonia, Halo, Juno)
- Cement Calculator: Portland Cement Association (PCA), American Concrete Institute, QUIKRETE, Sakrete
- Furnace Size Calculator: U.S. Department of Energy, Air Conditioning Contractors of America, Bryant Heating & Cooling Systems, HVACDirect
- Compost Calculator: USDA Natural Resources Conservation Service, Cornell University, University of Massachusetts Amherst, Pennsylvania State University
- Roof Truss Calculator: International Code Council, American Society of Civil Engineers, Truss Plate Institute, APA – The Engineered Wood Association, Structural Building Components Association
- Deck Joist Span Calculator: International Code Council, American Wood Council, Southern Pine Inspection Bureau, West Coast Lumber Inspection Bureau
- Aquarium Volume Calculator: NIST, Aqueon / Marineland / Tetra, The Spruce Pets
- Septic Tank Size Calculator: International Code Council, U.S. Environmental Protection Agency, NSF International
- Metal Roof Calculator: Metal Construction Association, International Code Council, MBCI (Metal Building Components Inc.), McElroy Metal