Docs
The TheFitToForm model step by step — every formula and default it uses.
Measure yourself
- Use a soft tape over thin clothing, standing relaxed. Keep the tape level and snug, not tight.
- Bust or chest: around the fullest part. Waist: around the narrowest part, usually just above the belly button. Hip: around the fullest part of the seat.
- Enter each number in inches or centimeters (15–80 in or 38–203 cm). Leave a zone at 0 to skip it — for example, skip hip for a top.
Add a size chart
- Open the brand's size guide for the item and select its size table. Copy it, then use “Paste a chart” and paste. Table cells copied from a web page arrive separated by tabs.
- Each line is one size: the size label, then bust, waist and hip. A header line without numbers is skipped. A range such as 34-35 uses the middle. A dash or empty cell means the brand does not list that zone.
- If the columns are in a different order, edit the rows after pasting — each row has its own fields. You can also type a chart by hand with “Add size”.
- Pick the chart's unit and whether it lists body measurements (most do — look for “body measurements” or “to fit”) or the finished garment (“garment measurements”, “product measurements”).
How a size is picked
- For each size and each zone that both you and the chart list: off = chart − you − target, in inches. The target is 0 for body charts; for garment charts it is the wearing ease (bust 2″, waist 1″, hip 2″).
- Your preference shifts the target: snug -1″, regular 0″, relaxed +1.5″.
- A zone is right within ±1″, roomy up to 3″ over, loose beyond that, and tight when more than 1″ under.
- Each size gets a cost: off² per zone, or 25 + 10 × |off| when the zone is tight, because a size that is too small cannot be worn while one that is a little big often can. The lowest cost wins; the second lowest is shown as the next option.
- If even the largest size is tight, or even the smallest is loose, TheFitToForm says your measurements are outside the chart instead of pretending a size fits.
What the matcher leaves out
- Fabric stretch, cut and how a brand's sizes run in practice — the result is only as good as the chart.
- Length, inseam, shoulders and sleeves.
- When you are between sizes, check the brand's own fit notes and return policy before ordering.
Account and workspace
- Choose Sign up, then enter your name, email and a password with at least 8 characters, one letter and one number.
- You land in your workspace at /app. The matcher there keeps your measurements, preference and last chart in this browser (localStorage); clearing site data removes them. Measurements are never sent to our server.
- Use Log out in the top bar when you are done on a shared device. To delete your account, email hello@thefittoform.com.
Account API
- POST /api/auth/signup with JSON { name, email, password } → 201 and a session cookie; 409 if the email is taken, 400 on invalid input.
- POST /api/auth/login with JSON { email, password } → 200 and a session cookie; 401 on a wrong password, 429 after too many tries.
- GET /api/auth/me → 200 with the signed-in user, or 401 when signed out. POST /api/auth/logout ends the session.
- Requests that change data must come from the same origin (cookie session, no API keys). The matcher itself has no API — it runs in your browser.
TheFitToForm compares numbers: the result is only as good as your measurements and the chart you enter. Fabric and cut still matter — check the brand's fit notes and return policy.