Before the first row, before picking a cast-on method, before anything else, you need a number. That number comes from gauge, not from the yarn label, not from what worked on your last project, and definitely not from a hopeful guess.
To calculate the cast-on count, multiply your gauge (stitches per inch) by the desired width in inches, then adjust for pattern repeats and edge stitches. The arithmetic is short. Getting the right inputs is the part that actually matters, and so is choosing a cast-on method that suits what comes next.
The core calculation
Stitches per inch from your gauge swatch, multiplied by the width you want. That’s the base cast-on count.
Gauge of 5 stitches per inch and a target width of 10 inches → cast on 50 stitches.
If the gauge is measured over 4 inches, divide first. 20 stitches over 4 inches gives 5 stitches per inch.
KnitTools’ Cast On Calculator handles the base arithmetic and even-number rounding, but knowing what a reasonable answer looks like helps. If a 20-inch-wide worsted-weight blanket panel supposedly needs only a few dozen stitches, something’s off.
Measure your gauge correctly
The cast-on number is only as good as the swatch behind it. Two mistakes cause problems over and over again.
Measuring at the edge of the swatch. Edge stitches aren’t reliable. Measure in the center, away from the cast-on, bind-off, and side edges.
Measuring before washing and blocking. The swatch on the needles isn’t the finished fabric. If the pattern gauge is based on washed or blocked fabric, use the washed or blocked swatch for the cast-on math.
No swatch yet? Measuring gauge covers the full process.
A worked example
Take a simple stockinette scarf, 8 inches wide, gauge of 4.5 stitches per inch.
8 × 4.5 = 36 stitches.
That’s the base count. If the pattern uses a 2x2 ribbed border (multiple of 4), 36 already lands on the repeat, so no adjustment needed. If the border were a 6-stitch lace repeat, 36 still works because it’s a multiple of 6. If the lace repeat were 8 stitches, the nearest options would be 32 (slightly narrower) or 40 (slightly wider).
If selvage stitches will be added, count them separately and add to the total. One stitch each side for a knit-edge selvage means casting on 38 instead of 36.
The math takes about thirty seconds. Doing it before casting on is faster than realizing the scarf came out 6 inches wide after the first six rows.
Adjusting for pattern repeats
The base multiplication is a first draft, not the final number.
Most stitch patterns repeat over a fixed number of stitches, and the cast-on count has to fit that repeat. Landing on any number and hoping the pattern works out isn’t a strategy.
Say the base math gives 97 stitches but the stitch pattern repeats over 6. The nearest workable counts are 96 and 102. The choice usually becomes obvious once you think about it for a moment.
Some patterns also need edge or balancing stitches outside the repeat. If the instructions say something like k2, *p2, k2; rep from *, those extra stitches are part of the required setup. Not optional decoration. Skip them and the pattern won’t balance across the row.
When working with a pattern repeat of 8 stitches plus 2 balancing stitches, the target is not “a multiple of 8.” It’s “a multiple of 8, plus 2.” Common formats and what they produce:
- “Multiple of 4” → 32, 36, 40, 44, 48
- “Multiple of 6 + 1” → 31, 37, 43, 49, 55
- “Multiple of 8 + 2” → 34, 42, 50, 58, 66
- “Multiple of 12 + 3” → 27, 39, 51, 63, 75
The wider the piece, the less a small adjustment matters. Adding or dropping 4 stitches on a blanket panel barely changes anything. On a sock, that’s the difference between fits and doesn’t.
Edge stitches and selvage
For flat pieces that’ll be seamed, edge treatment matters.
Many patterns add one selvage stitch at each edge. Some use two. If the pattern doesn’t specify and the piece will be seamed, one stitch on each side is a common starting point.
For scarves, blankets, and other pieces with exposed edges, extra selvage stitches are optional unless a specific edge finish is wanted. A chained selvage (slip the first stitch of every row) produces a tidy line that some knitters prefer for scarf edges.
Circular knitting doesn’t need selvage stitches. There are no side edges to seam.
Width at the cast-on vs in the body
The cast-on edge and the body don’t always behave the same way. Some cast-ons run tighter. Some stretch more. Some flare.
For a body that needs to match the cast-on cleanly, either use a cast-on method with enough stretch for the project, or use the common workaround: cast on with a needle one or two sizes larger than the working needle. The cast-on edge ends up looser and more in line with the body’s natural width.
When the cast-on is part of the finished fit (sock cuffs, hat brims), tension at the edge matters just as much as the stitch count.
Casting on for ribbing
Ribbing pulls narrower than stockinette at the same stitch count. If the pattern calls for increasing evenly after the ribbing, that transition row handles the difference. That’s the whole point of it.
Some patterns keep the same stitch count through ribbing and body. Others cast on fewer stitches for the ribbing and increase afterward. If you’re designing your own piece, make that choice on purpose. The two approaches produce different visual results: continuous count gives a clean transition, while smaller ribbing followed by an increase row produces a more pronounced “lip” between ribbing and body.
For visible-edge ribbing on sweater hems, a tubular or German twisted cast-on can create a stretchier, more elastic edge than long-tail. Standard long-tail isn’t bad, but it can feel firmer than those two.
Casting on for circular knitting
Calculating the count is the same as for flat work: gauge × target circumference. For hats and socks, that target circumference is usually smaller than the body measurement because the fabric needs negative ease. The execution gets one extra consideration: joining without twisting.
Before knitting the first round, lay the needle flat and check that every stitch faces the same direction. The bottom edge of the cast-on should run along the inside of the needle with no spiraling. A twisted join is permanent, and the only fix is to rip back and re-cast-on.
To close the small gap that forms at the join point, many knitters cast on one extra stitch and decrease it away at the join. The working stitch count stays correct, and the join looks neater than starting round one with a gap.
For toe-up socks, Judy’s magic cast-on creates two parallel rows of live stitches with no seam at the toe. For top-down socks, the cuff is cast on flat (long-tail or German twisted) and joined in the round.
Sock cast-on counts by yarn weight, for plain adult socks with negative ease:
- Worsted (4 sts/inch): 32–40 stitches for adult socks
- DK (6 sts/inch): 48–56 stitches
- Sport (6.5 sts/inch): 52–60 stitches
- Fingering (7.5–8 sts/inch): 60–72 stitches
Use these as starting points, not finished sizing rules. Measure foot circumference at the widest point, subtract the negative ease your sock fabric needs, then multiply by your gauge. Smaller feet take fewer stitches, larger feet take more, and ribbed cuffs forgive a wider range than plain stockinette.
Cast-on methods, briefly compared
The right method depends on what the edge needs to do.
Long-tail. The default. Moderate stretch, neat appearance, works for almost everything. Requires estimating the tail before starting (a usable rule: three times the cast-on width, plus extra). Tighter than tubular or German twisted.
Knitted cast-on. Plain to learn and memorable once your hands know the movement. The edge is less polished than long-tail. Good for beginners and for adding stitches mid-row.
Cable cast-on. Firmer and more decorative than knitted. Less stretch. Useful for buttonholes and for edges that don’t need to stretch.
German twisted (old Norwegian). A long-tail variation with extra stretch built in. Excellent for sock cuffs and ribbed hems where the edge needs to stretch over a foot or a head.
Tubular cast-on. Creates a folded, hollow edge that flows cleanly into 1x1 or 2x2 ribbing. A polished edge for ribbed hems. More complex to set up.
Provisional cast-on. Holds live stitches that can be picked up and worked in the other direction later. Used in top-down shawls, hems that fold under, and any time the cast-on edge will be reworked.
Judy’s magic cast-on. Toe-up sock cast-on that produces two parallel rows of stitches with no seam at the toe.
No need to memorize all of these. Most knitters use long-tail for everything for a while, then pick up one or two specialty methods as projects demand them.
Cast-on tension
Tight cast-ons trap the bottom of a sweater or sock. The body wants to relax outward and the cast-on edge holds it in like a drawstring. Loose cast-ons flare and look sloppy. Matching the body’s natural width is the goal.
Two practical fixes when the cast-on consistently comes out too tight:
- Cast on with a needle one or two sizes larger, then switch to the working needle for the first row.
- Use a stretchier method (German twisted or tubular) instead of long-tail.
Casting on too loose is less common but happens with certain hand positions and yarn types. The fix is usually switching down a needle size for the cast-on row only, or using a firmer method like cable cast-on.
Common cast-on counts for standard projects
Rough sanity checks, not substitute pattern numbers. For worsted-weight projects, CYC’s Medium range spans roughly 4 to 5 stitches per inch, so the same cast-on count can mean a different finished width depending on your swatch.
- Dishcloth: 36–48 stitches
- Scarf: 30–50 stitches depending on width
- Cowl: 100–140 stitches in the round depending on circumference and ease
- Adult hat: often 80–108 stitches in the round, depending on gauge and negative ease
- Toddler hat: often 60–84 stitches in the round
- Baby hat: often 48–76 stitches in the round
- Adult socks (worsted): 32–40 stitches
- Adult socks (fingering): 60–72 stitches
Sweater pieces vary too much for a single useful range. That’s why patterns list separate counts by size, and why gauge-based calculation matters when modifying anything.
For all of these, the Cast On Calculator is the faster route once gauge is known.
Top-down vs bottom-up sweaters
For bottom-up garments, the cast-on count is the body circumference at the hem. For top-down garments, the cast-on is at the neckline and is much smaller.
A bottom-up worsted-weight sweater with a 40-inch finished chest needs 200 stitches at the hem (5 sts/inch × 40”). A top-down version of the same sweater might cast on 80 stitches at the neck and increase from there.
Different starting points, same finished garment. The pattern dictates which one applies, but if you’re designing, the choice affects what calculation you do first.
FAQ
Should I cast on an odd or even number of stitches? Depends on the stitch pattern. Stockinette doesn’t care. Ribbing and textured repeats usually do. 1x1 ribbing wants an even number, 2x2 ribbing wants a multiple of 4 (or multiple of 4 plus 2 if both edges should look the same).
What if my pattern gives a cast-on number but my gauge doesn’t match? The published cast-on count will produce a different width than intended. Either match the pattern gauge or recalculate from your own.
Do I count the slip knot as a stitch? For long-tail, yes. For most knitted-on methods, also yes. For cable cast-on, the slip knot is the first stitch. A few methods skip it. Follow the mechanics of the specific cast-on you’re using.
How long should the tail be for long-tail cast-on? Roughly three times the planned cast-on width, plus a few extra inches for weaving in. For 200 stitches over 40 inches, that’s about 120 inches (3 yards) of tail. Better too long than too short. Running out mid-cast-on means starting over.
Can I use the cable cast-on for a stretchy edge like a sock cuff? Not ideal. Cable cast-on is firmer than long-tail and noticeably less stretchy. For sock cuffs and any edge that needs to fit over a foot, hand, or head, use long-tail with a larger needle, German twisted, or a tubular cast-on instead.
How do I cast on for knitting in the round? Cast on the target circumference in stitches, lay the needle flat to check there’s no twist, then join. No selvage stitches needed. To close the small gap at the join, cast on one extra stitch and decrease it away as you join so the final stitch count is still correct.
My pattern says “cast on X stitches loosely.” How loose is loose? Loose enough that the cast-on edge stretches as much as the working fabric will. The practical fix: cast on with a needle one or two sizes larger than the working needle, or use a stretchier method like German twisted.