1. Cast-on calculator
Measure the head, enter your blocked swatch gauge, pick ease and fit. The calculator subtracts negative ease, multiplies by stitches per inch, and rounds to your rib multiple.
Worked example: 22-inch head, 10% ease → 19.8 in finished; worsted gauge 19 sts / 4 in = 4.75 sts/in → 19.8 × 4.75 = 94.05 → 96 stitches (2×2 rib multiple of 4). Slouchy mode drops ease to 5% and adds 2.5 in of length.
2. Hat size chart (preemie to adult XL)
A complete hat size chart knitting reference: standard head-circumference ranges and crown-to-brim heights, doubling as a baby hat size chart knitting guide for the preemie, newborn, and baby rows. It lists knit hat sizes by age from preemie to adult XL, plus cast-on stitches at 10% negative ease for four common gauges (rounded to a multiple of 4 for 2×2 rib). Use your real head measurement whenever you have it.
| Size | Head circ. | Hat height | CO: fingering (28 sts/4″) | CO: DK (22 sts/4″) | CO: worsted (19 sts/4″) | CO: bulky (15 sts/4″) |
|---|
Cast-on columns assume your gauge matches the column header. If your swatch differs, use the cast-on calculator above with your own numbers — that is exactly the case a static chart cannot handle.
3. Hat crown decrease calculator
Enter your stitch count for a classic round-top crown: the planner divides it into equal sections and prints every decrease round down to the final stitches, ready to thread the tail through.
Worked example: 96 stitches → 8 sections → [k10, k2tog] × 8 = 88, [k9, k2tog] × 8 = 80 … [k2tog] × 8 = 8 stitches, 11 decrease rounds total. Finish by cutting the yarn, threading it through the last 8 stitches, and cinching.
4. Brim & ribbing calculator
Depth to rows from your row gauge, with a folded-cuff option and stitch count rounded to your rib multiple.
Rule of thumb: a single brim is 1.5–2.5 in deep; a folded cuff is 3–4 in so the visible fold is about 2 in. In other words, how many rows for hat brim is just depth × your rows per inch. Ribbing pulls in, so a 2×2 rib brim looks narrower than its stitch count suggests — that is normal.
How the hat math works
- Cast-on = head circumference × (1 − ease) × stitches per inch, rounded to the rib multiple. A 22-inch head at 10% ease and 4.75 sts/in gives 94.05 → 96 stitches.
- Crown decreases remove one stitch per section per decrease round: 8 sections take 96 stitches to 8 in 11 rounds. Each round drops exactly the section count.
- Rows = inches × rows per inch. The hat height from the chart minus brim depth is the body; a slouchy fit adds 2.5 inches of body.
- Yarn is estimated from standard adult-medium worsted yardage (about 180 yards), scaled by size and yarn weight — a planning estimate, not a guarantee; buy one extra skein between sizes.
Why one calculator instead of a chart PDF
Unlike a static hat size chart knitting PDF, this page recalculates for your gauge and head: static charts pin you to one gauge and one head size and never show the decrease schedule. This page chains the whole workflow: your head measurement and your swatch feed the cast-on, the cast-on feeds the crown planner, and the fit mode adjusts ease and length together. For sweaters, blankets, and gauge conversion between patterns, see our knit & crochet lab — this tool stays hat-specific on purpose.
Frequently asked questions
How many stitches to cast on for a hat?
Measure the head circumference, subtract about 10% for negative ease, and multiply by your stitches per inch. Example: a 22-inch head at 10% ease is 19.8 inches; at a worsted gauge of 19 stitches per 4 inches (4.75 per inch) that is 19.8 x 4.75 = 94 stitches, rounded to 96 for a 2x2 rib multiple. The calculator above does this in one step, including the rib-multiple rounding.
How much negative ease should a knit hat have?
About 10% of the head circumference is the standard starting point, roughly 2 to 2.5 inches on an adult head. Use 10-15% for a snug fitted beanie and about 5% for a slouchy hat. More ease than 15% can feel tight and give a headache; zero or positive ease makes the hat slide around.
What is the difference between a slouchy and a fitted beanie?
Both start from the same cast-on math, but a slouchy hat uses slightly less negative ease (around 5%) and is knit about 2.5 inches longer before the crown decreases begin, so the extra fabric pools at the back. A fitted beanie uses 10-15% negative ease and the standard crown-to-brim height from the size chart. Switch the mode above to see both versions calculated side by side.
How do I decrease the crown of a knit hat?
Divide the stitches into equal sections (8 sections for 56+ stitches, 6 for 36-55, 4 for smaller), then work one decrease round per section count: [k10, k2tog] repeated 8 times takes 96 stitches to 88, then [k9, k2tog] to 80, and so on down to [k2tog] 8 times for 8 stitches. Cut the yarn and thread it through the remaining stitches. The crown planner above prints the full round-by-round schedule for your exact stitch count.
How many stitches do I cast on for a baby hat?
Measure or look up the head size first: a 3-6 month baby is about 16-17 inches around. At a DK gauge of 22 stitches per 4 inches (5.5 per inch) with 10% negative ease, 16.5 x 0.9 x 5.5 = 82 stitches, rounded to an even number for ribbing. Newborns need roughly 70-76 stitches at the same gauge. Pick the size preset above to fill in the standard head measurement automatically.
How long should a knit hat be?
Measure from the crown of the head to the bottom of the earlobe, or use the standard chart: preemie about 5.5 inches, newborn 6.25, toddler 7.75, child 8.25, adult medium 9.25, adult large 9.75. That measurement covers the whole hat from cast-on edge to the top of the crown; the brim or cuff is part of it, not extra.
How deep should a hat brim or cuff be?
A single-layer brim is usually 1.5 to 2.5 inches deep; a folded cuff is 3 to 4 inches so the fold sits at about 1.5 to 2 inches. Convert depth to rows with your row gauge: 2.5 inches at 26 rows per 4 inches is 16 rows (32 for a folded cuff). The brim calculator above also rounds the stitch count to your rib multiple.
What stitch multiple do I need for ribbed hats?
1x1 rib needs an even number of stitches (multiple of 2), 2x2 rib needs a multiple of 4, and 3x3 rib a multiple of 6. If your cast-on math gives 94 stitches and you want 2x2 rib, round to 92 or 96. The calculator rounds to your chosen multiple automatically so the ribbing pattern always works out.
Can I knit a hat flat instead of in the round?
Yes. The cast-on math is identical; add 2 selvedge stitches for the seam and work the crown decreases the same way, then seam the back. Hats knit in the round are seamless and slightly stretchier at the join, but a flat-knit hat fits the same head the same way.
How much yarn for a hat?
One adult hat in worsted weight takes roughly 180 yards, so a single 220-yard skein is enough with margin. Bulky yarn needs fewer yards (about 135 for an adult) and fingering needs more (about 240). Baby and child hats take roughly half to three-quarters of the adult amount. The estimates are built into the size chart above; always buy one extra skein if you are between sizes.
How do I measure head circumference for a hat?
Wrap a soft tape measure around the head at the widest point, across the forehead and just above the ears, keeping it snug but not tight. Typical adult heads measure 21 to 23 inches (53 to 58 cm); measure twice and use the larger number. Measuring the actual head beats guessing from age alone, especially for babies.
What if my gauge does not match the size chart?
Ignore the chart and use your own measured gauge: count stitches over 4 inches of your blocked swatch and enter that number. That is exactly what this calculator is for - static charts only cover two or three standard gauges, while your swatch divided by inches works at any tension, any yarn, any needle size.
Why use a hat size calculator instead of a chart or PDF?
Static charts give one cast-on number per size at one fixed gauge, and they never show the crown decrease schedule. A calculator takes your actual head measurement and your actual gauge, rounds to your rib multiple, adds slouchy or fitted length, and prints the full round-by-round decrease plan - the four things charts leave you to figure out by hand.
How many stitches do I cast on for a bulky yarn hat?
Bulky yarn at 15 stitches per 4 inches (3.75 per inch) on a 22-inch adult head with 10% negative ease gives 19.8 x 3.75 = 74 stitches, rounded to 72 or 76 for a 2x2 rib multiple. Chunky super-bulky at 10 stitches per 4 inches gives about 50 stitches for the same head. Thicker yarn means dramatically fewer stitches, which is why one chart cannot cover all yarn weights.
Does knitting with DPNs or magic loop change the math?
No. Cast-on, ease, and decrease math are identical; only the stitch distribution changes. Divide the total as evenly as possible across needles - for example 96 stitches on 4 DPNs is 24 per needle, and magic loop is 48 and 48. Place a marker at the start of the round so the decrease schedule stays aligned.
Is my data private in this calculator?
Yes. Every calculation runs entirely in your browser with JavaScript; nothing you type is sent to any server, stored anywhere, or tracked. The page works offline once loaded, and there is no account, no sign-up, and no analytics on your inputs.