Engineering
Orifice / venturi flow metering API
Computes flow rate Q = Cd·A2/sqrt(1−β⁴)·sqrt(2·ΔP/ρ) through an orifice plate or venturi from the measured pressure drop, with the diameter ratio β, throat area, velocity-of-approach factor, and throat velocity. Answers 'What flow rate does this orifice/venturi meter read?', 'How do I size a differential-pressure flow meter?'.
Price$0.06per request
MethodPOST
Route/v1/engineering/orifice-venturi-flow
StatusLive
MIME typeapplication/json
Rate limit120/minute
Cache0s public
engineeringthermofluidsfluidsorificeventuriflow-meterdifferential-pressuredischarge-coefficientmetering
API URL
Integration docshttps://x402.hexl.dev/v1/engineering/orifice-venturi-flowExample request
{
"pipeDiameterM": 0.1,
"throatDiameterM": 0.05,
"pressureDropPa": 5000,
"densityKgM3": 998,
"dischargeCoefficient": 0.62
}Example response
{
"pipeDiameterM": 0.1,
"throatDiameterM": 0.05,
"diameterRatioBeta": 0.5,
"throatAreaM2": 0.001963495,
"velocityApproachFactor": 1.032796,
"dischargeCoefficient": 0.62,
"flowRateM3s": 0.003979886,
"flowRateLs": 3.979886,
"throatVelocityMs": 2.026939,
"formula": "Q = Cd*A2/sqrt(1-β⁴) * sqrt(2*ΔP/ρ), β = d/D",
"interpretation": "Venturi Cd≈0.98; sharp-edged orifice Cd≈0.6-0.62 (default)."
}Input schema
{
"type": "object",
"required": [
"pipeDiameterM",
"throatDiameterM",
"pressureDropPa",
"densityKgM3"
],
"properties": {
"pipeDiameterM": {
"type": "number",
"description": "upstream pipe diameter D (m)",
"examples": [
0.1
]
},
"throatDiameterM": {
"type": "number",
"description": "orifice/throat diameter d (m)"
},
"pressureDropPa": {
"type": "number",
"description": "measured pressure drop ΔP (Pa)"
},
"densityKgM3": {
"type": "number",
"description": "fluid density (kg/m^3)"
},
"dischargeCoefficient": {
"type": "number",
"description": "Cd (orifice ≈0.62, venturi ≈0.98); default 0.62"
}
}
}Output schema
{
"type": "object",
"additionalProperties": true
}