{"uid":"cap_oBBq4AmXtya7mIyLWjEOC","slug":"hydrology-open-channel-calc-orifice-discharge-2e9c2291","name":"Hydrology & Open-Channel Calc – Orifice Discharge","description":"Orifice discharge Q = Cd A sqrt(2 g h) for a round or given-area opening, with typical Cd by edge type, SI or US.","url":"https://hydrology-calc.x402tookit.com/orifice-flow?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":["head"],"properties":{"cd":{"type":"number","description":"Discharge coefficient override, 0.3 to 1"},"area":{"type":"number","description":"Orifice area in m2 or ft2 (send area or diameter)"},"edge":{"type":"string","description":"sharp (Cd 0.61, default), short-tube (0.82), rounded (0.98) or borda (0.51); or send cd"},"head":{"type":"number","description":"Head h from the water surface to the orifice centre in metres (si) or feet (us)"},"units":{"type":"string","description":"si (default) or us"},"diameter":{"type":"number","description":"Orifice diameter in metres or feet (send diameter or area)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"cd":{"type":["null","number"]},"area":{"type":["null","number"]},"asOf":{"type":["null","string"]},"edge":{"type":["null","string"]},"flow":{"type":["null","number"]},"head":{"type":["null","number"]},"units":{"type":["null","string"]},"source":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"flowUnit":{"type":["null","string"]},"flowIdeal":{"type":["null","number"]},"disclaimer":{"type":["null","string"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"idealVelocity":{"type":["null","number"]},"flowLitersPerSecond":{"type":["null","number"]},"flowGallonsPerMinute":{}}}}}}},"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_ZbCd84RLhUvxJFYVRHCCJ","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 orifice discharge flow rate Q = Cd × A × sqrt(2 × g × h) for round or custom-area openings, supporting multiple edge types and both SI and US units.","exampleAgentPrompt":"Calculate the orifice discharge for a sharp-edged circular opening with a diameter of 0.15 m under a head of 2.5 m using SI units.","exampleUseCases":[{"title":"Tank drain flow rate estimation","prompt":"I have a sharp-edged circular hole 0.1 m in diameter at the bottom of a tank with 3 m of water above it — what's the discharge flow rate in SI units?"},{"title":"Irrigation outlet sizing check","prompt":"What flow rate will a rounded-edge orifice with 0.05 m² area produce under 1.8 m of head in SI? I want to check if it meets our irrigation demand."},{"title":"US units pipe discharge calculation","prompt":"Estimate the discharge through a short-tube orifice that's 0.5 feet in diameter with a head of 4 feet — give me the answer in gallons per minute using US units."}],"resultDescription":"Returns the computed discharge Q (in m³/s or ft³/s), the discharge coefficient Cd used, orifice area, ideal velocity, supplemental flow values in litres/second or gallons/minute, a plain-language summary, the edge type applied, and a disclaimer about real-world applicability.","failureModes":["Missing required 'head' parameter returns an error","Neither 'diameter' nor 'area' provided results in a calculation failure","Cd override outside 0.3–1.0 range may be rejected or flagged","Invalid 'edge' string not matching known enum values falls back to default or returns error","Inconsistent unit combinations (e.g. metric diameter with us units) may produce unexpected results"],"whenToPreferThis":"Use this endpoint when you need a quick, formula-based orifice discharge calculation (Q = Cd A sqrt(2gh)) with built-in typical Cd values by edge type, support for both SI and US units, and no need to set up local hydraulic software. Prefer it over general-purpose calculators when you specifically need orifice (submerged opening) flow rather than weir, pipe, or open-channel Manning flow.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T18:32:55.612Z","isFirstParty":false,"canonicalSlug":"hydrology-open-channel-calc-orifice-discharge-2e9c2291"}