Knitting Gauge Calculator & Stitch Repeat Planner

Estimate the cast-on count and rows for a straight knitted section from your own blocked swatch. Check the finished width and length before committing to a needle or yarn. Enter a size directly or use the original pattern gauge and counts to find its intended size. Compare nearby whole repeats and see which option stays closest to the target, clears a minimum or fits within a maximum.

Knitting worksheet

Plan your cast-on from a blocked swatch

Plan one straight panel or unshaped tube at a time. Measure the middle of a finished swatch using the yarn, needles and stitch you plan to use.

Project target

Use finished dimensions or infer them from a straight section's original pattern.

The unit applies to results. Measurements retain the units you enter.

Include cm or in. For a tube, enter its circumference.

Include cm or in. Use the finished length you want.

Blocked swatches

Compare a different needle or yarn after finishing its swatch the same way.

Swatch A

Count the stitches along the width.

Enter the actual span with cm or in, such as 10 cm or 4 in.

Count the rows along the length.

Enter the actual span with cm or in, such as 10 cm or 4 in.

Swatch B

Count the stitches along the width.

Enter the actual span with cm or in, such as 10 cm or 4 in.

Count the rows along the length.

Enter the actual span with cm or in, such as 10 cm or 4 in.

Width repeat

Use 1 if any positive number of stitches is allowed.

Count any setup or edge stitches outside the repeats.

Closest fit uses the smaller count if both sizes are equally close.

Length repeat

Use 1 if any positive number of rows is allowed.

Count any setup or edge rows outside the repeats.

Closest fit uses the smaller count if both sizes are equally close.

Swatch A needs 76 stitches and 146 rows. Swatch B needs 76 stitches and 154 rows

Swatch A needs 76 stitches and 146 rows

Width

41.08 cm

76 stitches = 12 × 6 + 4

Target 40 cm. Gauge 18.5 per 10 cm.

Length

58.4 cm

146 rows = 18 × 8 + 2

Target 60 cm. Gauge 25 per 10 cm.

Swatch B needs 76 stitches and 154 rows

Width

38.97 cm

76 stitches = 12 × 6 + 4

Target 40 cm. Gauge 19.5 per 10 cm.

Length

59.23 cm

154 rows = 19 × 8 + 2

Target 60 cm. Gauge 26 per 10 cm.

How close each repeat gets

Compare the difference from target. Left is smaller and right is larger.

Width difference from 40 cm

Swatch A · stitches

  • 64−5.41 cm
  • 70−2.16 cm
  • 76 planned+1.08 cm
  • 82+4.32 cm

Swatch B · stitches

  • 70−4.1 cm
  • 76 planned−1.03 cm
  • 82+2.05 cm
  • 88+5.13 cm

A check marks the count that meets your selected preference.

Swatch A · Width
CountRepeatsSizevs target
641034.59 cm−5.41 cm
701137.84 cm−2.16 cm
76Planned1241.08 cm+1.08 cm
821344.32 cm+4.32 cm

Target 40 cm. Before applying repeats, 74 stitches.

Swatch A · Length
CountRepeatsSizevs target
1381755.2 cm−4.8 cm
146Planned1858.4 cm−1.6 cm
1541961.6 cm+1.6 cm
1622064.8 cm+4.8 cm

Target 60 cm. Before applying repeats, 150 rows.

Swatch B · Width
CountRepeatsSizevs target
701135.9 cm−4.1 cm
76Planned1238.97 cm−1.03 cm
821342.05 cm+2.05 cm
881445.13 cm+5.13 cm

Target 40 cm. Before applying repeats, 78 stitches.

Swatch B · Length
CountRepeatsSizevs target
1461856.15 cm−3.85 cm
154Planned1959.23 cm−0.77 cm
1622062.31 cm+2.31 cm
1702165.38 cm+5.38 cm

Target 60 cm. Before applying repeats, 156 rows.

Copyable knitting plan data

How to use this calculator

  1. Measure a blocked swatch made with the yarn, needles, stitch and construction the project will use. Count stitches horizontally and rows vertically over known spans.
  2. Enter the intended finished width and length, including any ease you want. To adapt a rectangular pattern section, you can enter its gauge and original whole counts instead.
  3. Set a stitch repeat and a separate row repeat. Enter fixed edge or setup counts outside those repeats. For unrestricted counting, use a repeat of 1.
  4. Pick whether each dimension should be closest to the target, at least as large or at most as large. Compare the resulting legal counts with the adjacent whole repeats.
  5. Add a second blocked swatch to compare a different needle or yarn. Check the projected dimensions and save the comparison if needed.

The Formula

The mathematical logic powering this calculation is:

Gauge is measured stitches divided by their horizontal span, and measured rows divided by their vertical span. Enter a dry swatch finished as you will finish the project. Measure across the center, exclude the swatch edges, and use the stated units for every length. The exact conversion is 1 in = 2.54 cm.
For pattern adaptation, intended width = pattern cast-on count ÷ pattern stitch gauge, and intended length = pattern row count ÷ pattern row gauge. Your predicted width or length at an unchanged count uses your own gauge instead. If your pattern uses a listed finished dimension or a work-to-length instruction, enter that dimension directly.
For each axis, preliminary count = target span × your measured gauge. A legal count is fixed edge count + repeat size × a positive whole number of repeats. With no required repeats, use a repeat of 1. Nearby whole repeats give estimated finished dimensions from legal count ÷ your gauge. Choose closest, at least target or at most target independently for width and length. Exact ties for closest fit use the smaller count. If a directional preference has no legal count, the comparison shows the closest legal boundary without selecting it.
Enter 1–1,000 measured stitches or rows with up to two decimals over a 1–100 cm span, or an equivalent in inches. Target dimensions span 0.1–1,000 cm. Length fields allow up to three decimals and require cm or in. Repeats run 1–1,000 and counts through 10,000. The solver compares exact ratios and displays dimensions rounded to 0.01 of the selected unit. The same worksheet supports a flat panel width or an unshaped tube circumference. Necklines, shoulders, armholes, shaping rates, blocking growth across seams and yarn quantity need a separate calculation.

Worked Example

If you input:

  • Finished dimensions: 40 cm wide and 60 cm long
  • Blocked swatch A: 18.5 stitches across 10 cm and 25 rows over 10 cm
  • Blocked swatch B: 19.5 stitches across 10 cm and 26 rows over 10 cm
  • Width count: Repeats of 6 stitches with 4 fixed stitches, closest fit
  • Length count: Repeats of 8 rows with 2 fixed rows, closest fit

Result:

Swatch A needs 76 stitches and 146 rows for 41.08 cm by 58.4 cm. Both 146 and 154 rows are 1.6 cm from the length target for this swatch, so closest fit chooses 146. Swatch B needs 76 stitches and 154 rows for 38.97 cm by 59.23 cm.

Frequently Asked Questions

How do I measure knitting gauge?

Make a swatch matching the project stitch and knitting method. Finish it as you plan to finish the project, let it dry and measure stitches across and rows up the center over the spans you enter.

Can I use four inches as ten centimeters?

Four inches equal 10.16 cm. Use the actual span that you measured or the span stated in the pattern.

How do borders and setup stitches affect the cast-on?

Enter fixed stitches that appear once outside the repeated stitches. For example, 4 edge stitches and a 6-stitch repeat allow 10, 16, 22 and so on. Repeat and edge fields are separate for rows.

What if the size I want falls between repeats?

Compare the projected size at the next whole repeat on each side. Closest fit picks the smaller count on a tie. If fit needs a minimum or a maximum, set that preference for just the affected dimension.

What width should I enter for a tube?

Use the full circumference for an unshaped tube when the worksheet count includes all stitches around it. Use flat width for a single panel. Swatch in the round if that is how you will knit.

Can I use this to rewrite a fitted garment's instructions?

Use it to check one unshaped section at a time. Armholes, necks, shoulders and changing stitch counts depend on the pattern's construction and may need a new shaping plan.

Similar Calculators