{"uid":"cap_WY3p510tu13EFwp6zvWLq","slug":"deck-calculator-fea50cda","name":"Deck Calculator","description":"Decking boards, joist count and screws for a rectangular deck from its size, board width, gap, joist spacing and stock length.","url":"https://construction-calc.x402tookit.com/deck-calc?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["lengthFt","widthFt"],"properties":{"gapIn":{"type":"number","description":"Gap between boards in inches, default 0.125"},"widthFt":{"type":"number","description":"Deck width in feet (the joist span)"},"lengthFt":{"type":"number","description":"Deck length along the boards in feet (joists are spaced across this)"},"wastePct":{"type":"number","description":"Waste, default 10 (15 to 20 for diagonal)"},"boardWidthIn":{"type":"number","description":"Actual board width in inches, default 5.5 (5/4x6)"},"stockLengthFt":{"type":"number","description":"Board length you buy in feet, default 16"},"joistSpacingIn":{"type":"number","description":"Joist spacing on centre in inches, default 16"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"asOf":{"type":["null","string"]},"joists":{"type":["null","number"]},"source":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]},"areaSqFt":{"type":["null","number"]},"degraded":{"type":["boolean","null"]},"boardRows":{"type":["null","number"]},"disclaimer":{"type":["null","string"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"boardsPerRow":{"type":["null","number"]},"screwsApprox":{"type":["null","number"]},"boardLinearFt":{"type":["null","number"]},"joistLengthFt":{"type":["null","number"]},"stockLengthFt":{"type":["null","number"]},"boardsWithWaste":{"type":["null","number"]}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_glY6Opd74Q2sizRMqLGxc","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Calculates decking board count, joist count, and screw quantity for a rectangular deck given its dimensions, board width, gap, joist spacing, and stock length.","exampleAgentPrompt":"I'm building a 16-foot by 12-foot rectangular deck — can you calculate how many 5/4x6 boards I need using 16-foot stock with standard 1/8-inch gaps and 16-inch joist spacing, and include a 15% waste factor?","exampleUseCases":[{"title":"Weekend deck build material list","prompt":"I'm planning to build a 20x16 foot deck this weekend. Can you figure out how many decking boards I'll need using 5.5-inch wide boards, 1/8-inch gaps, 16-inch joist spacing, and 16-foot stock lengths with 10% waste?"},{"title":"Diagonal deck board waste estimate","prompt":"I want to lay my deck boards diagonally on a 14x14 foot deck. How many boards and screws will I need if I use 5.5-inch boards with 16-foot stock and bump waste up to 20% for the diagonal cuts?"},{"title":"Contractor material takeoff for client","prompt":"Can you run a material takeoff for a 24-foot by 10-foot rectangular deck? I'll be using 5/4x6 boards (5.5 inches wide), 1/8-inch gaps, joists at 24 inches on center, and buying 16-foot stock with 10% waste — I need the joist count, board count, and screw estimate."}],"resultDescription":"Returns the number of board rows, boards per row, total boards including waste, joist count and length, approximate screw count, total board linear footage, deck area in square feet, stock length used, and a plain-English summary — along with optional disclaimer and degraded-mode flags.","failureModes":["Missing required lengthFt or widthFt parameters returns an error","Unrealistic dimensions (zero or negative values) may produce nonsensical output","Very large waste percentages or unusual board widths may yield unexpected board counts","Network or service unavailability returns a non-200 response"],"whenToPreferThis":"Use this endpoint when you need a fast, parameterized material estimate for a standard rectangular deck — specifically when you want board count, joist count, and screw quantity together in one call. Prefer this over manual calculation or generic lumber calculators when you need to account for stock length, gap spacing, and waste percentage simultaneously.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T00:35:23.480Z","isFirstParty":false,"canonicalSlug":"deck-calculator-fea50cda"}