ForHosting KIT · Health & fitness

Waist-to-hip ratio calculator

A woman with an 80 cm waist and 100 cm hips has a ratio of 0.8, right where the moderate band starts. Enter both circumferences and your sex to see the ratio, the risk band and every step of the sum. Free in your browser.

  • Free
  • Runs in your browser
  • No sign-up
  • Your data stays on your device
Use it from WebAPIEmailTelegramApp soon
If you enter
Waist circumference
80 cm
Hip circumference
100
Sex
female
You get
Ratio
0.8 cm
Whr
0.8
Risk band
moderate
Risk
moderate

A waist-to-hip ratio calculator turns two simple circumference measurements and biological sex into a unitless body-shape index and a clear health-risk band. Enter waist and hip in the same unit (centimetres or inches) plus male or female; the tool returns WHR equals waist divided by hip, the sex-specific risk band (low, moderate, or high), the threshold cut-offs used, a readable message, and step-by-step arithmetic you can audit.

What waist-to-hip ratio means and how risk bands work

Waist-to-hip ratio, often written WHR, is waist circumference divided by hip circumference measured in the same unit. Because both lengths cancel, the result is unitless: eighty centimetres over one hundred centimetres is the same ratio as thirty-one point five inches over thirty-nine point four inches. Clinicians and public-health guidelines use WHR as a rough marker of central (abdominal) fat distribution relative to lower-body girth.

Higher values, especially above sex-specific cut-offs published in World Health Organization materials and related metabolic-risk literature, are associated with greater risk of cardiometabolic complications than lower values, even when body mass index looks similar.

This calculator applies a three-band label for practical reporting: for females, low when the ratio is below zero point eight zero, moderate from zero point eight zero up to but not including zero point eight five, and high at zero point eight five and above; for males, low below zero point nine zero, moderate from zero point nine zero up to but not including one point zero zero, and high at one point zero zero and above.

Those cut-offs are WHO-aligned summaries for substantially increased risk at the high threshold and intermediate caution in the moderate band; they are screening labels, not a diagnosis. Measurement technique still matters: waist is typically taken midway between the lowest rib and the iliac crest or at the narrowest point, and hips at the widest part of the buttocks, with a relaxed abdomen and a level tape.

The implementation rejects non-positive hip values because division by zero is undefined, and it rejects non-positive waist values so empty form fields never produce a fake healthy score.

Clinic and wellness intake screening

Reception or app forms capture waist, hip, and sex once, then call this tool to store WHR and a WHO-aligned risk band next to the visit record.

What is waist-to-hip ratio?

WHR is waist circumference divided by hip circumference in the same unit. It is a unitless index of central versus lower-body girth used in metabolic-risk screening.

Which risk thresholds are used?

Female: low below 0.80, moderate from 0.80, high at 0.85 and above. Male: low below 0.90, moderate from 0.90, high at 1.00 and above. These are WHO-aligned screening bands, not a diagnosis.

Do centimetres and inches change the result?

No, if both measurements use the same unit. The ratio is unitless; the optional unit field is only a label echoed in the response.

Is the waist-to-hip ratio calculator free?

The browser tool is free and runs locally.

How do I measure my waist and hips correctly?

Take the waist midway between the lowest rib and the top of the hip bone, or at its narrowest point, and the hips at the widest part of the buttocks, with a relaxed belly and a level tape.

Everything on this page is available programmatically. This section is for teams who want to wire it into their own systems; everyone else can just use the tool above.

POSThttps://api.kit.forhosting.com/health/waist-hip-ratio

Prefer to automate it? One authenticated POST creates the task; the result comes back by webhook or a signed link. The same capability also runs here on the web, by email and from Telegram — and soon from our app too.

curl -X POST https://api.kit.forhosting.com/health/waist-hip-ratio \
  -H "Authorization: Bearer $KIT_KEY" \
  -H "Content-Type: application/json" \
  -d '{"waist":80,"hip":100,"sex":"female"}'
{
  "waist": 80,
  "hip": 100,
  "sex": "female"
}
{
  "task_id": "tsk_a1b2c3d4e5f6a1b2c3d4e5f6",
  "type": "health.waist_hip_ratio",
  "status": "queued",
  "_links": {
    "result": "/tasks/tsk_…/result"
  }
}

The API is asynchronous: the call returns a task_id immediately and the result arrives by webhook. Polling is capped at 1 req/s per task.

Per request$0.002

Published price — no tokens, no invented credits. A failed task is never charged.

max_circumference1000
HTTPCodeMeaning
401unauthorizedMissing or invalid API key.
402insufficient_balanceYour balance doesn't cover the task price.
404unknown_typeThat task type doesn't exist.
429rate_limitedToo many requests. Use the webhook instead of polling.

A hip circumference of zero makes the ratio undefined, so the API returns a clear invalid_input error instead of inventing infinity.

How to call the API and what comes back

Waist and hip must be finite positive numbers within one thousand units of the chosen system; sex must normalize to male or female (accepted shortcuts include m, f, man, woman). Send a JSON body with three required fields: waist (aliases waist_cm, waist_in, w, waist_circumference), hip (aliases hip_cm, hip_in, h, hip_circumference, hips), and sex (aliases gender, sex_at_birth, biological_sex). Optionally set unit (aliases units, measure, circumference_unit) to cm or in as a display label only—the numeric ratio does not change with the unit string. On success the response echoes rounded waist, hip, sex, and unit; sets ratio and whr to the same rounded quotient; sets risk_band and risk to low, moderate, or high; publishes thresholds with moderate_at and high_at for the selected sex; and includes formula, message, and an ordered steps array showing the division and band decision. Failed validation—missing fields, non-finite numbers, zero or negative waist or hip, unknown sex or unit, values outside published limits, or a non-finite quotient—returns invalid_input and is never charged. Pricing is a flat $0.002 per successful request with unit item and zero marginal unit price.

Practical tips, limits, and related searches

Prefer sending numbers rather than pre-formatted strings when you control the client; string numbers are accepted only when they match a strict finite numeric pattern. Use sex consistently with the thresholds you intend to report: male and female cut-offs differ, and this tool does not invent a third band set for other gender labels. Prefer this capability when you already have two girths and sex and only need the ratio plus band; if your source is a photo or wearable, extract those three scalars first. Measure waist and hips with the same tape and the same unit before you call the API; mixing centimetres for waist with inches for hip silently corrupts the ratio. Keep circumferences inside the published maximum of one thousand so intermediate products stay finite on the Worker and in the browser. When educating patients or users, pair examples: female waist eighty and hip one hundred yields zero point eight zero moderate; female waist eighty-five and hip one hundred yields zero point eight five high; male waist ninety and hip one hundred yields zero point nine zero moderate; male waist one hundred and hip one hundred yields one point zero zero high; and hip equals zero demonstrates the hard invalid_input path. This landing targets people searching for a waist-to-hip ratio calculator, WHR calculator, or body-shape health-risk band online; it is not a BMI calculator, not a body-fat percentage estimator, not a medical diagnosis, and not a full metabolic panel. Failed tasks that return invalid_input do not consume prepaid balance, which keeps exploratory scripts cheap when you deliberately send a zero hip to test client validation. Round-trip checks are easy: recompute waist divided by hip by hand and confirm it equals the published ratio within twelve-decimal rounding, and confirm that crossing only the high threshold flips risk_band between moderate and high for the documented sex.

Progress tracking in fitness apps

Weekly girth logs feed the same deterministic endpoint so charts show ratio trends and band changes without client-side formula drift.

Research and QA fixtures

Generate known-good low, moderate, and high cases per sex plus deliberate hip-zero rejections for automated golden expected values.

Why does hip circumference of zero fail?

Division by zero is undefined. This tool returns invalid_input when hip is zero or non-positive instead of inventing an infinite ratio.

Read the full KIT documentation →