{"uid":"cap_E3PoeexHc2s8VK8A3Bbiz","slug":"magent-whr-calculator-7d6d84f1","name":"Magent WHR Calculator","description":"Waist–hip ratio from waist and hip circumference (WHO 2011 expert consultation). WHR = waist_cm / hip_cm after the same unit normalize; optional inches convert as cm = in * 2.54. Deterministic published arithmetic with citation. Not a medical device, body-fat diagnosis, or cardiovascular diagnosis; magent does not apply obesity or sex-specific cutoffs and does not measure the patient.","url":"https://api.magentlab.com/api/calc/whr","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":[],"properties":{"hip_cm":{"type":"number","description":"Hip circumference in centimeters (40-200). Provide hip_cm or hip_in."},"hip_in":{"type":"number","description":"Hip circumference in inches. Converted as cm = in * 2.54."},"waist_cm":{"type":"number","description":"Waist circumference in centimeters (40-200). Provide waist_cm or waist_in."},"waist_in":{"type":"number","description":"Waist circumference in inches. Converted as cm = in * 2.54."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"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_lQVxZIxbuM8xBKewzLFxk","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 waist–hip ratio (WHR) from waist and hip circumference measurements using WHO 2011 published arithmetic","exampleAgentPrompt":"Calculate the waist-hip ratio for a waist circumference of 85 cm and a hip circumference of 100 cm using the WHO 2011 formula.","exampleUseCases":[{"title":"Fitness app body shape tracking","prompt":"My client has a waist of 34 inches and hips of 42 inches — can you calculate their waist-hip ratio for me?"},{"title":"Clinical health screening workflow","prompt":"Compute the WHR for a patient with waist circumference 92 cm and hip circumference 105 cm."},{"title":"Research dataset anthropometric enrichment","prompt":"I have a waist measurement of 78 cm and hip measurement of 94 cm — what is the waist-hip ratio according to the WHO 2011 method?"}],"resultDescription":"Returns the computed waist-hip ratio (WHR) as a dimensionless decimal number (e.g. 0.85), derived by dividing waist circumference by hip circumference after normalizing both inputs to centimeters. Inputs in inches are automatically converted using cm = in × 2.54.","failureModes":["Missing required measurement: if neither waist_cm nor waist_in is provided, or neither hip_cm nor hip_in, the request will fail","Out-of-range values: waist or hip circumference outside 40–200 cm range may be rejected","Conflicting units: providing both _cm and _in variants for the same measurement may cause ambiguity","Non-numeric inputs will produce a validation error"],"whenToPreferThis":"Choose this endpoint when you need a fast, deterministic WHR calculation based on the WHO 2011 published formula, especially when inputs may be in either centimeters or inches and automatic unit conversion is needed. Prefer it over general-purpose math tools when you want a citable, standards-based anthropometric computation without implementing the formula yourself.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:53:41.621Z","isFirstParty":false}