Last updated: May 17, 2026

Hat Stitch Calculator

Calculate how many stitches to cast on for a knit or crochet hat using head circumference, stitch gauge, negative ease, and stitch pattern repeat.

Crafts 13 0
Alpha Calculators Team

Created by Alpha Calculators Team

Editorial Team

Hat Stitch Calculator

Enter your values and the result updates automatically.

Results

Cast on stitches

Fit:

Rounding:

Finished circumference
Gauge
How this was calculated
link copied

Overview

Calculator overview

Use this hat stitch calculator to find out how many stitches to cast on for a knit or crochet hat. Enter your head circumference, gauge swatch measurements, negative ease, and stitch pattern repeat to get a cast-on number rounded to your pattern repeat.
Crocheted hat shown from the side
A fitted hat starts with the right cast-on count for your gauge and stitch pattern.

How to Use the Hat Stitch Calculator

  1. 1

    Select your hat size from the preset list, or choose Custom size and enter the head circumference measured around the widest part of the head just above the ears and eyebrows.

  2. 2

    Enter your gauge swatch results — the number of stitches you counted and the width you measured over. Standard gauge is measured over 4 in (10 cm) on a blocked swatch worked in the round.

  3. 3

    Select a fit. Snug fit (−2 in) is the most common choice for fitted beanies. Very snug works for hats worn during activity. Slouchy uses no ease.

  4. 4

    Enter your stitch pattern repeat. Use 2 for 1×1 rib, 4 for 2×2 rib, 1 for stockinette, or the repeat from your cable or lace pattern.

  5. 5

    Choose a rounding direction. Nearest is best for most patterns.

How Many Stitches Should I Cast On for a Hat?

The number of stitches to cast on depends on four things — head circumference, negative ease, stitch gauge, and stitch pattern repeat. A typical adult beanie at worsted gauge (4.5 st/in) with a snug fit on a 22-inch head needs around 90 stitches. The same head in bulky yarn at 3 st/in needs about 60 stitches.

These are starting points. Your actual gauge swatch is the most reliable source. Two knitters using the same yarn and needles can have gauges that differ by a stitch per inch, which shifts the cast-on count by 18 to 20 stitches on an adult hat — enough to move from a snug fit to too loose.

Knitting needles with yarn arranged for a gauge swatch
A measured swatch gives the stitch-per-inch number that determines the final cast-on.

Hat Stitch Count Formula

Three steps to get from head circumference to a cast-on number:

Step 1 — Finished circumference = head circumference − ease

Step 2 — Gauge (st/in) = swatch stitches ÷ swatch width

Step 3 — Raw stitches = finished circumference × gauge

Step 4 — Cast-on = round(raw ÷ repeat) × repeat

Formula Example

Adult beanie, 22 in head, snug fit (−2 in ease): finished circumference = 22 − 2 = 20 in. Swatch: 18 stitches over 4 in → gauge = 18 ÷ 4 = 4.5 st/in. Raw stitches = 20 × 4.5 = 90. For 1×1 rib (repeat 2): 90 ÷ 2 = 45 → 45 × 2 = 90. Cast on 90.

Same head in 2×2 rib (repeat 4): 90 ÷ 4 = 22.5 → round to 23 → 23 × 4 = 92. Or round down: 22 × 4 = 88. Either is correct — choose based on how snug you want the brim.

Hat Stitch Count Chart by Size and Yarn Weight

Approximate cast-on stitches for a snug fit (−2 in ease). Values use the center of each gauge range. Work a gauge swatch to get your exact count.
Hat size Head circumference DK / 5.5 st/in Worsted / 4.5 st/in Bulky / 3 st/in
Baby 14–16 in / 36–41 cm ~66 st ~54 st ~36 st
Toddler 18–19 in / 46–48 cm ~88 st ~72 st ~48 st
Child 19–20.5 in / 48–52 cm ~99 st ~81 st ~54 st
Teen / Adult S 21 in / 53 cm ~104 st ~85 st ~57 st
Adult medium 22 in / 56 cm ~110 st ~90 st ~60 st
Adult large 23 in / 58 cm ~116 st ~95 st ~63 st
Adult XL 24 in / 61 cm ~121 st ~99 st ~66 st

Why Gauge Matters for Hat Sizing

Gauge is the number of stitches per inch in your swatch. It varies with yarn weight, needle size, and how tightly you knit. The same yarn on two different needle sizes can give gauges that differ by a full stitch per inch. For a hat, one extra stitch per inch across a 20-inch finished circumference adds 20 stitches — roughly two inches of extra circumference on the finished hat.

Always measure gauge from a swatch worked in the round. Many knitters have different tension when working flat versus in the round. Measure in the center of the swatch, not at the edges, and measure after blocking.

What Is Negative Ease in Hat Knitting?

Negative ease means the finished hat circumference is intentionally smaller than the head circumference. Knit fabric stretches, so a hat knit 2 inches smaller than the head will stretch to fit snugly. A hat knit exactly to head size will feel noticeably loose.

The standard range for fitted hats is 1 to 2.5 inches of negative ease. A snug beanie for active wear typically uses 2 to 2.5 inches. A relaxed everyday hat uses 1 inch. Slouchy hats use no ease in the cast-on circumference and rely on extra length for the drape effect.

Crochet hat with textured stitch pattern
Stretch, ribbing, and stitch repeat all affect how snug the finished hat will feel.

How to Round Your Stitch Count

Most hat patterns use a ribbed brim, which requires a stitch count divisible by the rib repeat. For 1×1 rib (k1, p1) the count must be even — a repeat of 2. For 2×2 rib (k2, p2) it must be divisible by 4. For k2p1 rib, divisible by 3. Cable patterns may require multiples of 6, 8, or 12 depending on the cable structure.

If your raw count is 91 and you are working 2×2 rib, round to 92 for the loosest option, 88 for the snuggest. A difference of 4 stitches changes the circumference by less than one inch at worsted gauge — usually undetectable in the finished hat.

Hat Cast-On Examples

Adult beanie: 22 in head, snug fit (−2 in), 20 in finished. Swatch: 18 stitches over 4 in = 4.5 st/in. Raw count: 20 × 4.5 = 90. For 1×1 rib (repeat 2): cast on 90. For 2×2 rib (repeat 4): round to 88 or 92.

Child hat in DK: 20 in head, snug fit (−2 in), 18 in finished. Swatch: 22 stitches over 4 in = 5.5 st/in. Raw count: 18 × 5.5 = 99. For 1×1 rib (repeat 2): round to 100. For 2×2 rib (repeat 4): round to 100 or 96.

Ribbed beanie with a cable panel: 22 in head, very snug (−2.5 in), 19.5 in finished. Swatch: 22 stitches over 4 in = 5.5 st/in. Raw count: 19.5 × 5.5 = 107.25. Cable repeat is 12: round to 108 for 9 cable repeats.

Related calculators

Sources

References

FAQ

Frequently asked questions

How many stitches do I cast on for an adult hat?
For an average adult head (22 in / 56 cm) with a snug fit and worsted weight yarn at about 4.5 stitches per inch, you need roughly 90 stitches cast on. At a DK gauge of 5.5 stitches per inch the same head needs about 110 stitches. Use the calculator above with your actual gauge swatch for a personalized number.
How do I calculate stitches for a hat?
Subtract negative ease from the head circumference to get the finished hat circumference. Multiply by your stitch gauge. Round to the nearest multiple of the stitch pattern repeat. Example: 22 in head − 2 in ease = 20 in finished, × 4.5 st/in = 90 stitches, rounded to nearest 2 = 90 cast on.
What does negative ease mean in hat knitting?
Negative ease means the finished hat is intentionally smaller than the head circumference so the knit fabric stretches to fit snugly. Most fitted beanies use 1 to 2.5 inches of negative ease. A hat knit exactly to head size would feel loose. Slouchy hats may use no ease at all.
How many stitches should I cast on for a beanie?
For a beanie at worsted gauge (4.5 st/in) and a snug fit on a 22-inch adult head — (22 − 2) × 4.5 = 90 stitches. At bulky gauge (3 st/in) the same head needs (22 − 2) × 3 = 60 stitches. Measure your own gauge swatch for the most accurate result.
Do I round hat stitches up or down?
Rounding to nearest is most common and gives the closest fit. Round down for a slightly snugger hat; round up for a slightly looser one. Always round to a multiple of the stitch pattern repeat — for 1×1 rib round to an even number, for 2×2 rib round to a multiple of 4.
How many stitches do I need for 2×2 rib?
For 2×2 rib the cast-on must be a multiple of 4. Set the stitch repeat to 4 in the calculator. If the raw count is 91 stitches, the calculator rounds to 92 (nearest multiple of 4) or down to 88 for a snugger brim.
Can I use this calculator for crochet hats?
Yes. Enter your crochet stitch gauge the same way — count stitches across a swatch of known width. The formula and rounding logic work identically for knitting and crochet.
Why did my hat come out too big?
The most common causes are not accounting for negative ease and a gauge difference between a flat swatch and working in the round. Always knit a gauge swatch in the round for a hat, measure after blocking, and subtract negative ease before calculating. A hat worked exactly to head circumference will feel noticeably loose.