Cast-On Calculator

Stitch-pattern repeat

Raw gauge math: 92 sts

Adjustment to fit the repeat: -2

Cast on: 90 sts

One email when a new tool or chart ships — no spam, unsubscribe any time.

Cast-on math looks simple — circumference times gauge — until the raw answer doesn't divide evenly into whatever stitch pattern you're planning to work. This calculator does the multiplication and the rounding in one step, and shows you exactly how far it moved from the raw number and why, instead of handing you a count you have to double-check by hand.

The two-step calculation

Step one is plain gauge math: your target circumference in inches, multiplied by your stitches-per-inch, gives a raw stitch count. Step two takes that raw count and finds the nearest number your stitch pattern can actually work with — a 1x1 rib needs a multiple of 2, a 2x2 rib needs a multiple of 4, a k3,p3 rib needs a multiple of 6, and so on. Whichever valid count (one repeat below the raw number, or one repeat above) is numerically closer to the raw stitch count is what the calculator returns, with the exact adjustment shown as its own figure.

Worked examples of the same starting point, four different patterns

Starting from an identical 20.5-inch circumference at 4.5 stitches per inch (a raw count of 92 stitches, before any rounding), here's how four different repeat multiples land:

Stitch pattern multiple Cast-on stitches Adjustment from raw
Multiple of 2 (1x1 rib) 92 0
Multiple of 4 (2x2 rib) 92 0
Multiple of 6 (k3,p3 rib) 90 -2
Multiple of 8 (wide textured rib) 88 -4

Notice the raw count of 92 happens to already satisfy both the multiple-of-2 and multiple-of-4 requirements, so no adjustment was needed there — but as the repeat gets wider, the nearest valid count can sit further from the raw number, in either direction depending on where 92 falls relative to that pattern's own number line.

Why "nearest," not "round up"

Some calculators default to always rounding up, on the reasoning that a slightly bigger project is safer than a slightly smaller one. This tool rounds to whichever direction is numerically closer instead, because "always round up" can add a meaningfully larger circumference than intended for stitch patterns with wide repeats — an 8-stitch repeat rounded up unconditionally could add as much as 7 extra stitches versus the gauge-accurate number. When a snugger negative-ease brim is the actual goal, you can always take the next multiple up yourself once both the raw and the rounded numbers are in front of you, rather than relying on the calculator to guess your intent.

Building in negative ease before you calculate

For anything with a stretchy brim or cuff — hat brims, sock cuffs, mitten wrists — the circumference you enter shouldn't be the wearer's raw measurement. Subtract your intended negative ease first (commonly 1-2 inches smaller than head circumference for a ribbed hat brim; see the Adult Hat Size Chart and the hat project guide for typical ranges), then enter that smaller number as your target circumference.

Flat pieces versus working in the round

Everything above describes casting on for something worked in the round, where "circumference" is the whole measurement and the repeat needs to close cleanly at the join. For a flat piece — a scarf, a sweater back panel, a blanket — the same rounding logic applies to a target width instead of a circumference, and there's no join to worry about, so a stitch pattern that isn't a perfect multiple is slightly more forgiving: a partial repeat at one edge is sometimes an acceptable design choice for a flat piece in a way it never is for a seamless round join, where the pattern has to line up with itself.

Checking the result against your own swatch, not just trusting it

This calculator's output is only as accurate as the gauge you feed it. A stitch-per-inch figure measured on a small, unblocked, unrelaxed swatch can read tighter than the same yarn will actually behave once a full piece is worked, worn, and washed. Measure a real 4-6 inch swatch and let it rest; for a fibre that blocks, wet or steam it the same way you plan to treat the finished project, then re-measure — a cast-on number built on a hastily measured, unrested swatch is one of the most common reasons a piece comes out a different size than the calculator predicted.

FAQ

What if my stitch pattern isn't a simple multiple, like "multiple of 8 plus 3"? Enter the multiple (8) and account for the "plus 3" separately — the tool rounds to the nearest valid multiple, and you add the fixed offset stitches on top of that base count, the same way a published pattern's own repeat notation works.

Does this work for crochet foundation chains as well as knit cast-ons? Yes — the same circumference-times-gauge-then-round-to-multiple logic applies to a crochet foundation chain or foundation row; just enter your crochet gauge (stitches per inch in your actual stitch pattern) instead of a knit gauge.

Why did my calculated cast-on come out different from a published pattern's stated cast-on for what looks like the same size? Different designers use different amounts of negative ease and different brim stitch patterns even at a nominally identical finished size — a published pattern's cast-on reflects its own specific gauge and ease assumptions, which won't necessarily match yours unless you've matched gauge exactly.