I Built a Body Type Calculator That Shows Its Work — and Keeps Going
Most body type calculators give you a label and a list of clothes you are supposedly allowed to wear. I wanted the opposite: something that starts with four tape measurements, shows the ratios behind the result, and then
Most body type calculators give you a label and a list of clothes you are supposedly allowed to wear. I wanted the opposite: something that starts with four tape measurements, shows the ratios behind the result, and then keeps going into cuts, fabrics, lengths, and fit details you can actually use.
Try it here: bodytype.org — free, no sign-up, and your measurements stay in your browser unless you choose to copy a result link.
What it does
Enter bust, waist, hips, and high hip in centimetres or inches. The calculator converts everything to one internal unit, compares three ratios — bust to hips, waist to hips, and high hip to hips — and returns one of five styling patterns: hourglass, pear, inverted triangle, rectangle, or apple.
It does not ask for age, height, weight, or gender, and it does not need a photo.
The result is not just a name. The card shows the four values you entered, the rule that matched, and a plain-language explanation of why it matched. Below that are specific suggestions: garment types, cuts, fabrics, and lengths. Then comes a shorter list of details to watch out for, with the reason for each one.
Each result can be copied as a link or downloaded as an image. Both actions are optional. The calculation itself runs locally, and there is no account or server-side result store.
The label also connects to the rest of the site: measurement guides, five body-type pages, the full rule set, and a fit profile that moves from “this is the proportion pattern” to “here is how a top or pair of trousers should fit.”
The part I care about comes next
The calculator does not hide its decision. It publishes the three ratios, the five rules, every threshold, and a worked example. If a measurement is close to a boundary, the result can name the nearest other label instead of pretending the answer is exact.
That matters because “body type” is not one universal scientific classification. The familiar names come from fashion and styling, and different systems use different measurements. Bodytype uses its own four-circumference rule, version 2. The site says that directly, alongside what each label does and does not mean.
Tech stack
React 19, Vinext, Vite, Tailwind CSS 4, and Cloudflare Workers. The calculation is a deterministic client-side function, so it does not wait on a calculation API or a database. A copied result link contains the values you chose to share in the URL hash; the recipient can see them.
Two things that were harder than expected
The first was the high hip. Most calculators stop at bust, waist, and hips. This rule also needs the circumference halfway between the waist and the hip line, because that measurement separates a hip curve that continues below the high hip from one that is nearly as wide at both points. That sounds small until the form, the illustrated guide, the FAQ, and the rule description all have to use the same tape position.
The second was resisting false precision. It would be easy to print an accuracy percentage and make the result sound more authoritative. But there is no ground-truth “correct” body type to score against. So the site publishes its rules and limitations instead. The tape positions follow ASTM D5219-25 sections 3.3–3.5; the classification thresholds are Bodytype’s own styling rules, not a medical standard. The site also refuses to turn a bust measurement into a claim about shoulder width, because those are different kinds of measurements.
Why I built it
Because a lot of body type content moves too quickly from a measurement to a judgment. A size chart is drafted around average proportions. Your measurements describe a different set of relationships, and that relationship changes where a waist seam sits, which hem clears the widest point, and which fabric holds its shape.
The result should be a starting point for trying clothes on, not a rule about what your body is allowed to be. There are no affiliate links or ads switched on right now.
What’s next
More garment-specific fit checks, clearer guidance for borderline results, and continued testing on small screens. I would also like feedback from anyone who tries it — especially if you land on a borderline result and disagree. Tell me which measurement looked off, and I’ll dig into the rule.
Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.