Long-tail cast-on calculator

Updated by Khokhar Sab

Cast-on calculator

Example: Cast on 98 stitches, about 17.8" wide, 84" tail

Change these to your numbers. The answer updates as you type.

Width and gauge

Not sure? How to measure gauge

Stitch pattern

For counts like "a multiple of 4 plus 2". The presets are for flat knitting; in the round, set the extra to 0.

More options rounding, selvage stitches
Long-tail tail length wrap test or a rough estimate from needle size

Wind your yarn around the needle 10 times, unwind it and measure that length.

Your cast-on

Cast on 98 stitches for a piece about 17.8" wide.

  • Cast on98
  • Width17.8"
  • Repeats24 × 4 + 2
  • Tail84"
Count details
Exact count for your width99 stitches
Fitted to the multiple24 × 4 + 2 = 98 stitches
Cast on98 stitches
Resulting width17.82" (−0.18" from what you asked for)
Long-tail tail (from your wrap test)84" (about 2.3 yd: 0.8" per stitch × 98 + 6" to weave in)
Stitch layout
Green blocks are repeats of 4 stitches. Yellow is the 2 extra.

Enter the width you want and your gauge to get the number of stitches to cast on, fitted to your stitch pattern. At 22 stitches per 4 inches, an 18 inch piece in 2x2 rib (a multiple of 4 plus 2) needs 98 stitches and comes out 17.8 inches wide. If 10 wraps of yarn around the needle measure 8 inches, leave a tail of about 84 inches for a long-tail cast-on.

How to use the long-tail cast-on calculator

  1. Knit a swatch in the stitch you will start with, block it and count the stitches over 4 inches (or 10 cm).
  2. Type the width you want and that gauge. Switch to centimeters if you measure in metric.
  3. Pick a stitch pattern preset or type its multiple, for example 4 plus 2 for 2x2 rib worked flat.
  4. Choose how to round. Nearest gives the closest width; round up when the piece must not come out narrow.
  5. Add selvage stitches if your pattern asks for them.
  6. For a long-tail cast-on, do the wrap test and enter the length of 10 wraps. No yarn handy? The rough estimate uses your needle size instead.

How the stitch count works

Gauge tells you how many stitches fill one inch. Multiply that by the width and you have the exact count, which is rarely a whole number and rarely fits a stitch pattern. A pattern that repeats over 4 stitches with 2 extra only works at 6, 10, 14 and so on, so the calculator finds the nearest of those counts.

Rounding changes the width a little. The results show the width you will actually get so you can decide if the difference matters. On a scarf it rarely does. On a sweater body it adds up, because the front and back both change.

Formulas

Worked example: a ribbed scarf

Your swatch has 22 stitches over 4 inches, which is 5.5 per inch. You want an 18 inch wide piece, so the exact count is 18 × 5.5 = 99 stitches. For 2x2 rib, (99 − 2) ÷ 4 = 24.25 repeats. The nearest whole number is 24, so cast on 24 × 4 + 2 = 98 stitches. That is 98 ÷ 5.5 = 17.8 inches, a fraction under what you asked for. Rounding up to 25 repeats gives 102 stitches and 18.5 inches.

For the tail, 10 wraps around the needle measured 8 inches, so each stitch uses 0.8 inches. Then 0.8 × 98 = 78.4 inches, plus 6 for weaving in, comes to about 84 inches, a little over 2 yards. The rough estimate for a 4.5 mm needle gives 88 inches, close to the wrap test in this case, though it will drift for very thick or very thin yarn.

Stitches for a 20 inch width

Counts for common gauges, plain and fitted to 2x2 rib worked flat (multiple of 4 plus 2).

Stitches to cast on for a 20 inch width at common gauges
Stitches per 4 inPlain2x2 rib
168082
189090
20100102
22110110
24120122
28140142
32160162

Long-tail rules of thumb compared

Tutorials give several quick rules for the tail. Here they are applied to the worked example above, a 98 stitch edge about 17.8 inches wide.

Long-tail cast-on tail length for the worked example by five different rules
RuleFromTail
3.5 × edge width + 6 inSarah Maker68 in
4 × edge widthNimble Needles (short pieces)71 in
3 × edge width + 10%Nimble Needles (bigger pieces)59 in
Wrap test, 10 wraps = 8 in, + 6 inThis calculator84 in
Needle estimate, 4.5 mm, + 6 inThis calculator88 in

The width rules come out 13 to 26 inches shorter than the wrap test here. Width rules leave out yarn thickness. The wrap test measures your own yarn on your own needle. Nimble Needles notes that the wrap test does not work on the cable of a circular needle, which is much thinner than the needle tip. Wrap the needle tip itself, or use Lion Brand's sample method: cast on 10 stitches, pull them off and measure the yarn they used. Type that length in the 10 wraps box.

Sources also disagree on the extra length for weaving in. Sarah Maker adds 6 inches, Nimble Needles 6 to 8, and Lion Brand 10 inches or more. The calculator adds 6, so add a few inches more if you like a longer end to sew with.

Tail per stitch by needle size

When you can't do the wrap test, the calculator estimates the yarn one stitch uses from the needle size. The table shows that estimate, and the tail for a 100 stitch cast-on including 6 inches to weave in.

Estimated long-tail cast-on yarn per stitch and tail for 100 stitches by needle size
NeedlePer stitchTail for 100 sts
2.5 mm0.46 in52 in
3.5 mm0.65 in71 in
4.5 mm0.83 in89 in
5.5 mm1.02 in108 in
6.5 mm1.21 in127 in
8 mm1.48 in154 in
10 mm1.86 in192 in

One published figure to check it against: the Needle & Arts sock formula says 26 inches of sock yarn casts on 60 stitches plus a tail for darning in. On a 2.5 mm needle, the estimate here gives 34 inches for 60 stitches, about 8 inches more. That is a safe direction to be wrong in, but it is one more reason to prefer the wrap test.

If the tail runs out

Running short a few stitches from the end usually means starting over. Sarah Maker's advice is to pull out the stitches and cast on again with a longer tail. For a long edge, such as a blanket, Lion Brand suggests holding two strands, one from each of two balls or both ends of one center-pull ball. One strand acts as the tail, so it can't run out.

Tips for a better cast-on

Two balls of yarn, bamboo knitting needles, stitch markers and a tape measure, for the long-tail cast-on calculator

Video tutorial

"How Many Stitches to Cast on for My Project?" by watchknitting, on YouTube. The video loads only when you press play.

Want the background first? Read our guide: How to cast on knitting: long-tail, knitted, cable and backward loop.

Assumptions and sources

What the calculator assumes

Sources

See how we calculate for testing and corrections, and our editorial policy for how pages are made.

Frequently asked questions

How do I know how many stitches to cast on?

Multiply the width you want by your stitches per inch. With 22 stitches per 4 inches (5.5 per inch), an 18 inch piece needs 99 stitches. If the stitch pattern needs a multiple, such as 4 plus 2 for 2x2 rib, round to the closest count that fits: 98 in this case.

Should I round up or down to fit a stitch multiple?

Round to the nearest fit unless the piece has to be at least a certain width. Rounding up in the example above gives 102 stitches and 18.5 inches; rounding down gives 98 stitches and 17.8 inches.

How long should the tail be for a long-tail cast-on?

Wrap the yarn around your needle 10 times, unwind it and measure. Divide by 10 for the length one stitch uses, multiply by your cast-on count and add about 6 inches to weave in. If 10 wraps measure 8 inches, 98 stitches need about 84 inches.

Does the slip knot count as a stitch?

Sources disagree. Lion Brand says the slip knot does not count as a stitch, while The Knitting Circle counts it as the first one. Count the loops on your needle the way your pattern does, and enter the full number here so the tail covers every stitch.

What if I run out of tail before I finish casting on?

Sarah Maker advises pulling the stitches out and starting again with a longer tail. To avoid it on a long cast-on, Lion Brand suggests using two balls of yarn, or both ends of a center-pull ball, so the tail never runs short.

What are selvage stitches?

They are extra stitches at each edge, outside the stitch pattern. They can be slipped or knitted every row for a neat edge, or used as seam allowance. Add them after fitting the multiple so the pattern still lines up.

Does the multiple change when I knit in the round?

Usually yes. The "plus" stitches in a flat pattern balance the two edges, and a round has no edges. For 2x2 rib in the round, cast on a plain multiple of 4 and set the extra to 0.

Why measure gauge in the stitch pattern I am casting on for?

Ribbing pulls in and garter stitch spreads out, so the same yarn and needle give different stitches per inch in each. Knit your swatch in the pattern that will sit at the cast-on edge.

Guides for this calculator

Handy reference charts