knit calculator

Knit Gauge & Cast-On Calculator

Enter your swatch and project details to calculate stitches to cast on, rows to knit, and an optional yarn estimate.

Use 0 if there is no repeat requirement.

A 10% buffer helps account for joins, swatching, and minor changes.

Why use a knit calculator?

A knit calculator helps you convert swatch gauge into practical project numbers. Instead of guessing your cast-on and total rows, you can use your own knitting tension to get numbers that are accurate for your hands, needles, and yarn. That means fewer surprises and much less frogging.

What this calculator gives you

  • Stitch gauge: stitches per inch or per centimeter based on your swatch.
  • Row gauge: rows per inch or per centimeter based on your swatch.
  • Cast-on recommendation: adjusted for stitch pattern repeats and edge stitches.
  • Target row count: an estimated number of rows to reach your planned length.
  • Optional yarn estimate: projected grams and skeins if you enter swatch yarn usage.

How the math works

1) Gauge conversion

If your swatch has 20 stitches over 4 inches, your stitch gauge is 5 stitches per inch. The calculator does exactly this: stitches in swatch ÷ swatch width.

Rows are calculated the same way: rows in swatch ÷ swatch height.

2) Project sizing

Raw cast-on is computed as finished width × stitches per unit. Row target is finished length × rows per unit. Since knitting happens in whole stitches and rows, results are rounded to practical integers.

3) Pattern repeat adjustment

If your stitch pattern needs a repeat (for example, multiples of 6 + 2 edge stitches), the calculator rounds your cast-on up to the next valid multiple and then adds edge stitches. This keeps your motif aligned from row one.

Tips for better accuracy

  • Measure swatches after blocking, especially for wool, alpaca, and superwash yarns.
  • Use the same needle material and knitting style you plan for the full project.
  • For garments, include ease in your target width before calculating.
  • If your project includes ribbing, cables, or lace, make a swatch in the main fabric, not stockinette only.
  • Add a yarn buffer for safety—10% is a good baseline for most projects.

Example workflow

Suppose you want a scarf that is 8 inches wide and 70 inches long. Your swatch is 18 stitches and 26 rows over 4 inches. You enter those values, then set pattern repeat to 6 and edge stitches to 2. The calculator gives you an adjusted cast-on that fits your stitch pattern and a row count for your desired length.

If your swatch used 9 grams and your skeins are 100 grams each, the optional yarn estimator projects approximate total grams plus a buffer, then converts that into skeins. Always round up when buying yarn from different dye lots.

When to recalculate

Re-run the calculator whenever you change needle size, yarn base, or stitch pattern. Even small differences in gauge can significantly change final measurements, especially on wide blankets and fitted sweaters.

Final note

This knit calculator is designed for planning and consistency. It gives dependable baseline numbers, but handmade projects still benefit from checking progress as you knit. Measure often, trust your swatch, and adjust early for the best fit and finish.

🔗 Related Calculators