{"uid":"cap_7VQxIgByMj4pPxSpnVsNa","slug":"pao2-fio2-ratio-calculator-37b007ff","name":"PaO2/FiO2 Ratio Calculator","description":"PaO2/FiO2 ratio as arterial PO2 in mm Hg divided by inspired oxygen as a fraction (0.21–1.0). Returns the ratio rounded to one decimal. Magent does not apply ARDS severity cutoffs, and this is not the oxygenation index (FiO2 × MAP × 100 / PaO2).","url":"https://api.magentlab.com/api/calc/pf_ratio","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","HEAD","DELETE"],"type":"string"},"headers":{"type":"object","additionalProperties":{"type":"string"}},"queryParams":{"type":"object","required":["pao2_mm_hg","fio2"],"properties":{"fio2":{"type":"number","description":"Inspired oxygen as a fraction (0.21-1.0), not a percent. Required."},"pao2_mm_hg":{"type":"number","description":"Arterial PO2 in mm Hg (20-700)."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"path":"/api/calc/pf_ratio","count":2,"items":[{"fio2":0.21,"formula":"pf_ratio","citation":{"id":"horovitz-1974","doi":"10.1001/archsurg.1974.01350270079014","title":"Pulmonary response to major injury","source":"Arch Surg. 1974;108(3):349-355","authors":"Horovitz JH, Carrico CJ, Shires GT"},"pf_ratio":452.4,"disclaimer":"Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.","pao2_mm_hg":95,"formula_expression":"pf_ratio = pao2_mm_hg / fio2"},{"fio2":0.21,"formula":"pf_ratio","citation":{"id":"horovitz-1974","doi":"10.1001/archsurg.1974.01350270079014","title":"Pulmonary response to major injury","source":"Arch Surg. 1974;108(3):349-355","authors":"Horovitz JH, Carrico CJ, Shires GT"},"pf_ratio":452.4,"disclaimer":"Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.","pao2_mm_hg":95,"formula_expression":"pf_ratio = pao2_mm_hg / fio2"}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_HUWI2EaFlvHvHX8qYyWcK","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes the P/F ratio (arterial partial pressure of oxygen divided by fraction of inspired oxygen) rounded to one decimal place.","exampleAgentPrompt":"Calculate the P/F ratio for a patient with a PaO2 of 75 mmHg on an FiO2 of 0.40.","exampleUseCases":[{"title":"ICU oxygenation assessment","prompt":"My ICU patient just had an ABG come back with a PaO2 of 68 mmHg and they're on 60% oxygen — what's their P/F ratio?"},{"title":"Ventilator weaning decision support","prompt":"The patient is being weaned from the vent, currently on FiO2 of 0.35 with a PaO2 of 95 mmHg. Can you calculate their P/F ratio to see if they meet extubation oxygenation criteria?"},{"title":"Serial oxygenation trend tracking","prompt":"Calculate the P/F ratio for a PaO2 of 110 mmHg and an FiO2 of 0.50 so I can compare it to yesterday's value and see if the patient's lungs are improving."}],"resultDescription":"Returns a single numeric P/F ratio value (PaO2 divided by FiO2) rounded to one decimal place. Does not apply ARDS severity thresholds (Berlin Definition cutoffs of <100, <200, <300) or compute the oxygenation index (FiO2 × MAP × 100 / PaO2).","failureModes":["Missing required parameter pao2_mm_hg or fio2 returns an error","FiO2 value outside 0.21–1.0 range may be rejected or produce clinically invalid result","PaO2 value outside 20–700 mmHg range may be rejected","Non-numeric input causes validation error","Network timeout or API unavailability returns HTTP error"],"whenToPreferThis":"Use this endpoint when you need a fast, accurate arithmetic P/F ratio computation from a known PaO2 (mmHg) and FiO2 fraction for clinical decision support, charting, or automated workflows. Prefer this over manual calculation when embedding in agent pipelines, EHR integrations, or when consistency and rounding convention matter. Do not use if you need ARDS severity classification, the oxygenation index (OI), or the SpO2-based S/F ratio (use the sibling S/F endpoint for that).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T01:11:44.687Z","isFirstParty":false}