Home Roofing & Construction Calculator API
Roofing & Construction Calculator API
65 JSON endpoints for roofing, decking, fencing, drywall, insulation, tile, landscape, concrete and paint
As an Amazon Associate I earn from qualifying purchases.
The formulas behind the Smart Roofing calculators, as a REST API on RapidAPI. Send a roof footprint and pitch and get back squares, shingle bundles with waste and a planning cost — plus endpoints for decks, fences, drywall, insulation, tile, gravel, concrete, paint and unit conversions, in imperial or metric units.
Quick start Subscribe on RapidAPI (the free Basic plan is enough to try it) and call any endpoint through the host construction-calc-api.p.rapidapi.com with your X-RapidAPI-Key header. Every endpoint accepts GET with query parameters or POST with a JSON body.
curl 'https://construction-calc-api.p.rapidapi.com/v1/roofing/shingles?length=50&width=40&pitch=6&wastePercent=10&bundleCost=38' \
-H 'X-RapidAPI-Host: construction-calc-api.p.rapidapi.com' \
-H 'X-RapidAPI-Key: YOUR_RAPIDAPI_KEY'{
"endpoint": "/v1/roofing/shingles",
"units": "imperial",
"input": {
"length": 50,
"width": 40,
"pitch": 6,
"wastePercent": 10,
"coverage": 33.3,
"sections": 1,
"bundleCost": 38
},
"result": {
"footprintArea": 2000,
"roofArea": 2236.068,
"wasteArea": 223.6068,
"totalArea": 2459.6748,
"squares": 24.5967,
"bundlesExact": 73.8641,
"bundles": 74,
"estimatedCost": 2812
},
"units_of_measure": {
"footprintArea": "sq ft",
"roofArea": "sq ft",
"wasteArea": "sq ft",
"totalArea": "sq ft",
"bundles": "count",
"estimatedCost": "currency"
},
"notes": [
"Average residential roof size."
],
"warnings": [],
"requestId": "d2a89b9f-bd26-4271-a29f-d37f4258a2a2"
}A 2,000 sq ft footprint at a 6/12 pitch is 2,236 sq ft of roof; with 10% waste that is 24.6 squares and 74 bundles, the same answer the shingle calculator on this site gives.
Roofing endpoints Roofing: 22 endpoints Endpoint Returns Required parameters GET /v1/roofing/pitch Roof pitch → angle, slope %, pitch factor, ridge height rise GET /v1/roofing/area Roof area and squares from a footprint length, width GET /v1/roofing/shingles Shingle bundles and squares length, width GET /v1/roofing/underlayment Underlayment rolls area GET /v1/roofing/drip-edge Drip edge pieces length, width GET /v1/roofing/ridge-cap Hip & ridge cap bundles ridgeLength GET /v1/roofing/starter-strip Starter strip bundles eaveLength GET /v1/roofing/nails Roofing nails (count and pounds) area GET /v1/roofing/sheathing Plywood / OSB roof sheathing sheets area GET /v1/roofing/flashing Flashing linear feet, pieces and material cost ranges — GET /v1/roofing/valleys Valley flashing / ice-and-water valleyCount, valleyLength GET /v1/roofing/ventilation Attic ventilation (NFA, intake & exhaust vents) atticArea GET /v1/roofing/waste-factor Waste factor with complexity add-ons roofArea GET /v1/roofing/gutters Gutters, downspouts, hangers, corners length GET /v1/roofing/trusses Truss count, rafter length, ridge height span, length GET /v1/roofing/metal-cost Metal roof installed cost estimate area GET /v1/roofing/flat-roof Flat roof membrane rolls & adhesive length, width GET /v1/roofing/tile-roof Concrete / clay / slate roof tiles and weight area GET /v1/roofing/coating Roof coating gallons and 5-gal pails area GET /v1/roofing/snow-load Snow load on a roof vs its capacity area, snowDepth GET /v1/roofing/labor Roofing crew days and labor hours squares GET /v1/roofing/solar-potential Rooftop solar panels, kW, output and payback area
Decking endpoints Decking: 9 endpoints Endpoint Returns Required parameters GET /v1/decking/cost Deck cost estimate (low–high) with breakdown length, width GET /v1/decking/boards Deck boards (rows × boards per row + pattern waste) length, width GET /v1/decking/joists Joist count and linear feet length, joistSpan GET /v1/decking/screws Deck screws per sq ft, total, pounds and boxes area GET /v1/decking/posts Deck posts per beam and total beamLength GET /v1/decking/footings Footing diameter and concrete bags per post postSpacing, deckDepth GET /v1/decking/balusters Railing balusters under the 4-inch rule railingLength GET /v1/decking/cable-railing Cable railing runs, cable length, posts, tensioners railingLength GET /v1/decking/stain Deck stain / sealer gallons area
Fencing endpoints Fencing: 9 endpoints Endpoint Returns Required parameters GET /v1/fencing/posts Fence posts (line + gate) length GET /v1/fencing/pickets Fence pickets length GET /v1/fencing/rails Fence rails and rail sticks length GET /v1/fencing/post-concrete Concrete bags to set fence posts posts GET /v1/fencing/panels Prefab fence panels, posts and brackets length GET /v1/fencing/chain-link Chain-link fence full takeoff length GET /v1/fencing/electric Electric fence wire, posts, insulators, ground rods, energizer perimeter GET /v1/fencing/acreage Fence length to enclose an acreage acres GET /v1/fencing/stain Fence stain gallons length
Drywall endpoints Drywall: 4 endpoints Endpoint Returns Required parameters GET /v1/drywall/sheets Drywall sheets for an area area GET /v1/drywall/room Full drywall takeoff for a room length, width GET /v1/drywall/finishing Joint compound, tape and corner bead area GET /v1/drywall/screws Drywall screws per sheet and total sheets
Insulation endpoints Insulation: 3 endpoints Endpoint Returns Required parameters GET /v1/insulation/blown-in Blown-in insulation bags to reach a target R-value area GET /v1/insulation/batts Wall batt bundles length GET /v1/insulation/r-value-thickness Thickness and units to add for a target R-value area
Tile endpoints Tile: 5 endpoints Endpoint Returns Required parameters GET /v1/tile/count Tiles and boxes for an area area GET /v1/tile/grout Grout pounds, bags and coverage per bag area GET /v1/tile/thinset Thinset mortar bags by trowel notch area GET /v1/tile/backer-board Cement backer board sheets and screws area GET /v1/tile/cost Tile job cost (material band + supplies + labor) area
Landscape & Aggregates endpoints Landscape & Aggregates: 6 endpoints Endpoint Returns Required parameters GET /v1/landscape/gravel Gravel / crushed stone: cubic yards, tons, bags, truckloads, cost — GET /v1/landscape/mulch Mulch cubic yards, bags and bulk vs bagged cost — GET /v1/landscape/topsoil Topsoil cubic yards, tons and bags — GET /v1/landscape/sand Sand cubic yards, tons and 50 lb bags — GET /v1/landscape/sod Sod rolls/slabs, pallets, weight and trips area GET /v1/landscape/grass-seed Grass seed pounds and bags by species area
Concrete endpoints Concrete: 2 endpoints Endpoint Returns Required parameters GET /v1/concrete/slab Concrete slab: cubic yards, bags, gravel base, ready-mix vs bags length, width GET /v1/concrete/volume Concrete for slabs, footings, round columns or holes → yards and bags depth
Paint endpoints Paint: 1 endpoints Endpoint Returns Required parameters GET /v1/paint/room Paint and primer gallons for a room length, width
Conversions endpoints Conversions: 4 endpoints Endpoint Returns Required parameters GET /v1/convert/units Convert length, area, volume, mass or temperature value, from, to GET /v1/convert/pitch Roof pitch ↔ degrees ↔ percent slope — GET /v1/convert/board-feet Lumber board feet and linear feet thickness, width, length GET /v1/convert/volume-from-area Area × depth → cubic feet, cubic yards, cubic meters area, depth
What people build with it Contractor websites: a live bundles-and-cost widget on a roofing or remodeling site without maintaining the math. Estimating and takeoff tools: measurements to order-ready quantities for a material list or quote. CRMs and field-service apps: a planning estimate attached to a lead the moment the footprint and pitch are entered. Chatbots, spreadsheets and no-code automations: one JSON shape for every trade. Plans RapidAPI plans as listed on 2026-09-29 Plan Price Requests Overage Basic $0 100 / month Free tier, hard limit Pro $14.99 / mo 15,000 / month $0.002 per extra request Ultra $49 / mo 100,000 / month $0.001 per extra request Mega $149 / mo 750,000 / month $0.0005 per extra request
Open the Construction Calculator API on RapidAPI
Frequently asked questions Is there a free plan? Yes. The Basic plan on RapidAPI is free with 100 requests a month, enough to test every endpoint before choosing a paid plan.
Does the API use the same formulas as this site? Yes. It runs the same roofing math as the calculators here, and its tests check it against the figures published in the guides, for example 74 bundles for a 2,000 sq ft footprint at 6/12 with 10% waste.
Can I get metric results? Yes. Add units=metric and every dimensioned input and output is in metres, square metres, cubic metres, kilograms or litres. Counts and money do not change.
Are the results quotes? No. They are planning estimates for quantities and budgets, not engineering, code or bidding advice.
How Long Does a Roof Last? · Roofing Material Coverage · Asphalt Shingle Roof Cost Calculator · Best Roof Snow Rake: Reach, Blade and Handle Material · 🪓 Best Shingle Removal Tools of 2026 · How to Choose Shingle Color · Roof Area · Roof Pitch
More free calculators
All calculators · Roofing hub · Guides · Blog
Follow Dixon App Studio