The Suit and Jacket Size Finder is a single HTML file that runs entirely in the browser. Three inputs go in, height, chest and waist, and a jacket size, a length letter, a trouser waist and an EU size come out. Open the app.
Three lookups and one subtraction
The logic is smaller than the drawing. Retail size charts reduce to tables, and the app is those tables in code.
Chest to jacket size. Men’s Wearhouse publishes a range per size: 36 covers 35 to 36.5 inches, 38 covers 37 to 38.5, 40 covers 39 to 40.5, 42 covers 41 to 42.5, 44 covers 43 to 44.5 and 46 covers 45 to 46.5. The app rounds chest to the nearest even number, with a half-way tie going up, which reproduces those ranges.

Height to length. Macy’s ties length to height bands: short from 5’4″ to 5’7″, regular from 5’7.5″ to 5’11”, long from 5’11.5″ to 6’2.5″, extra long from 6’3″. The published bands leave half-inch gaps, so the app closes each gap upward and treats anything below 5’4″ as short with a warning.
Size to trouser waist. The Black Tux gives the standard drop as 6. The app subtracts 6 by default, with a switch for 7, since Macy’s notes suits usually carry a 6- or 7-inch drop.
Size to EU. Primark’s conversion adds 10: US/UK 40 is EU 50.
Flags instead of false precision
A table lookup always returns an answer, even when the body does not fit the table. The app therefore compares the measured waist with the paired trouser waist and warns when they differ by 2 inches or more. It does the same when the chest-to-waist gap reaches 10 inches, since The Black Tux notes athletic builds often need the jacket or trousers adjusted separately.

A chest near the boundary between two sizes gets a note, and a chest outside 34 to 48, the range the sources cover, is declined rather than guessed.
The drawing is code, not a picture
The jacket is an SVG built from the numbers. Each render computes half-widths at the shoulder, chest and waist, a hem height from the length band, and a path through those points. Lapels, buttons, pockets and a pocket square are layered on top, and two tape lines mark chest and waist at the measured values.

SVG suits this because it is vector: the result stays sharp at any size and in full screen. A photograph could not stretch to a 50-inch chest and a 5’4″ frame. A path can.
No server, no stored measurements
Nothing is sent anywhere. The values live in the page, and the address bar updates with parameters so a result can be shared: ?u=in&h=70&c=40&w=34&drop=6. Units switch between inches and centimetres, with the sliders converting in place.
Limits worth knowing
Sizing varies between brands, and the app says so on the page. Kohl’s puts regular at 5’7″ to 6′, which differs from Macy’s bands. Treat the output as a starting size, then compare with the brand’s own chart.

For informational purposes only. Sizing is general; consult a tailor for fit.
