{"uid":"cap_EfFQwk8MCXJQVppS6h9sR","slug":"plumbing-pipe-flow-calc-hazen-williams-pressure-loss-09a84cac","name":"Plumbing & Pipe Flow Calc – Hazen-Williams Pressure Loss","description":"Friction pressure loss in psi (and feet of head) over a pipe run by the Hazen-Williams formula, from flow, size and C factor.","url":"https://plumbing-calc.x402tookit.com/pressure-loss?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":["flowGpm","lengthFeet"],"properties":{"cFactor":{"type":"number","description":"Hazen-Williams C: 140 copper, 150 PVC (defaults), 100 old steel"},"flowGpm":{"type":"number","description":"Flow in US gallons per minute"},"material":{"type":"string","description":"copper-l or pvc-40 (default copper-l)"},"lengthFeet":{"type":"number","description":"Pipe length in feet (add equivalent length of fittings if you know it)"},"nominalSize":{"type":"string","description":"Nominal size such as 3/4 (with material), or insideDiameterInches"},"insideDiameterInches":{"type":"number","description":"Inside diameter in inches"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"asOf":{"type":["null","string"]},"pipe":{"type":["null","string"]},"source":{"type":["null","string"]},"cFactor":{"type":["null","number"]},"flowGpm":{"type":["null","number"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"disclaimer":{"type":["null","string"]},"lengthFeet":{"type":["null","number"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"psiPerFoot":{"type":["null","number"]},"totalPsiLoss":{"type":["null","number"]},"psiPer100Feet":{"type":["null","number"]},"feetOfHeadLoss":{"type":["null","number"]},"kilopascalsLoss":{"type":["null","number"]},"lossIfFlowDoubled":{"type":["null","number"]},"insideDiameterInches":{"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_pj8OqxZf8KK9uUz1oYyaF","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 friction pressure loss in PSI (and feet of head) over a pipe run using the Hazen-Williams formula, given flow rate, pipe size, length, and C factor.","exampleAgentPrompt":"What's the friction pressure loss in a 3/4-inch copper Type L pipe that's 80 feet long with a flow of 4 GPM — give me the total PSI loss and feet of head?","exampleUseCases":[{"title":"Residential water supply pressure check","prompt":"I'm running a 1-inch copper Type L pipe 120 feet from the meter to my house at 8 GPM — how many PSI will I lose to friction along the way?"},{"title":"PVC irrigation line sizing","prompt":"For a PVC Schedule 40 irrigation line that's 200 feet long with a 3/4-inch nominal size running at 5 GPM, what's the pressure drop in PSI and feet of head?"},{"title":"Verify adequate pressure at fixture","prompt":"My 1/2-inch copper pipe run is 60 feet long and I expect about 2 GPM at the fixture — calculate the Hazen-Williams friction loss in PSI so I can check if I'll have enough pressure left."}],"resultDescription":"Returns total friction pressure loss in PSI, PSI per foot, PSI per 100 feet, feet of head loss, kilopascals loss, inside pipe diameter used, C factor applied, a scenario where flow is doubled, a plain-language summary, and any warnings or disclaimer notes.","failureModes":["Missing required flowGpm or lengthFeet parameters returns an error","Invalid or unrecognized nominalSize string for the chosen material returns an error","Providing neither nominalSize nor insideDiameterInches results in missing pipe geometry error","Extremely high flow rates or very small diameters may produce physically unrealistic results without a warning","Service unavailability due to x402 payment failure or network issues"],"whenToPreferThis":"Use this endpoint when you need a quick, formula-based Hazen-Williams friction pressure loss calculation for a straight or equivalent-length pipe run in common residential or light commercial materials (copper Type L, PVC Schedule 40). It is ideal for plumbing design checks, verifying adequate pressure at fixtures, or sizing runs without needing full hydraulic simulation software.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T00:30:15.670Z","isFirstParty":false,"canonicalSlug":"plumbing-pipe-flow-calc-hazen-williams-pressure-loss-09a84cac"}