The Tie Knot Picker is a single HTML file that turns five choices into a knot recommendation and a step-by-step drawing. Collar, tie width, fabric, tie length and occasion go in; a knot, the reasons for it and an illustrated sequence come out. Open the app.
A scoring table built from published rules
The recommendation is a small rules engine. Each published rule adds points to one of three knots, the four-in-hand, half Windsor and full Windsor, and the highest score is shown with the rules that fired as its reasons.
Collar rules come from Paul Fredrick: the four-in-hand for button-down or point collars, the half Windsor for medium spread, point or button-down, the full Windsor for wide spread or cutaway. Art of Manliness supplies the length rules: a tie a little long suits the Windsor, which uses more fabric, and one a little short suits the four-in-hand.

Rules that remove an option
Some rules subtract rather than add. Mr Porter says most slim ties look best with a four-in-hand or half Windsor, and T3 says thick or knitted ties cannot usually be tied as a full Windsor. The app marks the full Windsor as not advised in those cases and shows the reason beside it.
Tie width is a three-way choice, slim, standard and wide, because the sources only define the standard: Art of Manliness gives about 3 to 3.75 inches for an average man. The app does not invent a slim threshold.
Every step is data
Each knot is an array of steps. A step holds its instruction, a position for the wide end such as drape, cross left, behind, up through the neck loop or down through the front loop, and the number of wraps now sitting around the narrow end. The instructions are paraphrased from Paul Fredrick’s lists: seven steps for the four-in-hand, eight for the half Windsor and eleven for the full Windsor.

Drawing the knot with SVG
Two SVG drawings share the page. The finished knot draws the collar, shirt, tie blade and a knot body whose width and shape change with the chosen knot. The step diagram redraws on each Next or Back: a fixed narrow end, a lighter wide end placed by the step’s position, and bands for completed wraps.
The drawings are schematic and the app says so. A diagram can show where the wide end goes but not the feel of the fabric, so each step should be checked against the brand’s own guide.
State in the address bar
Choices are stored in the address: ?collar=wide&width=std&fabric=fine&len=ok&occ=formal. A link reproduces the same recommendation. Nothing is sent to a server.

For informational purposes only. Style rules are general.
