Knitting Gauge Calculator

Last updated: March 20, 2026
Reviewed by: LumoCalculator Team

Calculate cast-on stitches, row counts, and working gauge from a 4-inch or 10-centimeter swatch so you can resize sweaters, scarves, blankets, and other knitting projects with fewer fit surprises.

Gauge & Project Size

Unit

sts
rows
in
in

Knitting Gauge Result

Cast on

100 stitches

Rows to knit

168 rows

Swatch basis

20 sts x 28 rows / 4 in

Working gauge

5 sts/in and 7 rows/in

Finished size

20 in x 24 in

Current Calculation

Stitch rate

20 / 4 in = 5 sts/in

Cast-on math

20 in x 5 sts/in = 100 to round to 100 stitches

Row rate

28 / 4 in = 7 rows/in

Length math

24 in x 7 rows/in = 168 to round to 168 rows

Before You Cast On

Adjust the cast-on after calculation if your pattern needs a stitch repeat, edge stitches, or seam allowance.
Recheck the swatch after washing or blocking. A small gauge shift can change the final width and length across a full garment panel.
Use the row total for straight-length planning. Shaping sections still need the pattern's own increase, decrease, or repeat instructions.

Use Scenarios

Resize a sweater or cardigan panel

Use your own blocked swatch to turn a target chest, hem, or sleeve measurement into a cast-on count before you start a custom-size garment panel.

Plan scarves, blankets, or straight sections

The calculator is useful when the project is mostly rectangular and you want a quick stitch and row target for a finished width and length.

Compare swatches after a needle change

If a new needle size changes your gauge, run the new swatch through the calculator to see how much the cast-on and row count shift before choosing a final needle.

Formula Explanation

1) Convert the swatch to a per-unit gauge

Stitches per unit = swatch stitches / measured width

Rows use the same ratio: swatch rows divided by measured height. This page treats the swatch window as 4 inches or 10 centimeters, depending on the selected unit.

2) Find the cast-on count

Cast-on stitches = target width x stitches per unit

The raw result can include decimals, so the calculator rounds to a whole-number cast-on that you can then fine-tune for repeats or edge stitches.

3) Find the row count

Rows to knit = target height x rows per unit

This is most useful for straight sections such as scarf length, blanket panels, or sweater bodies before any shaping begins.

4) Apply practical knitting adjustments last

Rounded result + repeat or edge adjustments = working cast-on

Keep the ratio math clean first, then adjust the whole-number result to match stitch multiples, seam stitches, or selvage requirements in your pattern.

How to Read the Result

Cast-on stitches

This is the rounded starting count for the width you entered. Use it as the sizing baseline, then adjust upward or downward if the pattern needs a stitch multiple.

Rows to knit

The row result translates your swatch row gauge into the target height. It is strongest for straight sections and should be combined with pattern shaping where needed.

Working gauge

The normalized per-inch or per-centimeter gauge helps you compare your swatch with a pattern specification and decide whether a needle change is still needed.

Typical Gauge Ranges by Yarn Weight

Yarn weightCommon gaugeTypical use
Fingering / sock27-32 sts / 4 inSocks, lightweight tees, fine shawls
Sport23-26 sts / 4 inBaby garments, lightweight layers
DK / light21-24 sts / 4 inCardigans, hats, everyday sweaters
Worsted / aran16-20 sts / 4 inSweaters, accessories, blankets
Bulky12-15 sts / 4 inQuick knits, winter accessories

These are planning ranges, not guarantees. Always use your own blocked swatch as the final calculator input.

Example Cases

Case 1: Adult sweater front panel

Inputs

  • Swatch: 18 sts and 24 rows in 4 in
  • Target size: 20 in x 24 in

Computed Results

  • Working gauge: 4.5 sts/in and 6 rows/in
  • Cast on: 90 stitches (90 before rounding)
  • Rows to knit: 144 rows (144 before rounding)

Interpretation

This is a classic worsted-weight garment panel where the swatch converts cleanly to whole numbers. The resulting cast-on is easy to compare with a pattern size chart.

Decision Hint

If the stitch repeat is a multiple of 6 plus 2 edge stitches, adjust the 90-stitch result after the calculator, not before.

Case 2: Baby blanket panel

Inputs

  • Swatch: 22 sts and 32 rows in 4 in
  • Target size: 30 in x 36 in

Computed Results

  • Working gauge: 5.5 sts/in and 8 rows/in
  • Cast on: 165 stitches (165 before rounding)
  • Rows to knit: 288 rows (288 before rounding)

Interpretation

A tighter gauge produces a much larger cast-on and row count for the same finished size. That is why blanket math can drift quickly when the swatch changes.

Decision Hint

When the row count gets high, add checkpoints in inches or centimeters while knitting so you can confirm the blanket length with a tape measure.

Case 3: Scarf planned in centimeters

Inputs

  • Swatch: 28 sts and 36 rows in 10 cm
  • Target size: 22 cm x 180 cm

Computed Results

  • Working gauge: 2.8 sts/cm and 3.6 rows/cm
  • Cast on: 62 stitches (61.6 before rounding)
  • Rows to knit: 648 rows (648 before rounding)

Interpretation

This case shows how the calculator handles metric planning and a fractional cast-on before rounding. It is useful when a pattern or yarn label gives gauge in centimeters.

Decision Hint

If your scarf pattern uses a 4-stitch repeat, start from the rounded result of 62 stitches and then move to the nearest valid repeat count.

Boundary Conditions

The calculator assumes you measured the swatch after the finishing method you plan to use. If the fabric changes after washing or blocking, rerun the math with the blocked gauge.
A 4-inch gauge and a 10-centimeter gauge are both standard conventions, but they are not exactly the same physical width. Switching units here converts the values instead of simply relabeling them.
Results are rounded to whole stitches and rows because cast-ons and straight row counts cannot use fractions. Pattern repeats, selvage stitches, and seam allowance are separate adjustments.
Use the row count as a planning guide for straight sections. Shaping instructions for armholes, necklines, sleeve caps, and yoke construction still belong to the pattern.
The calculator does not estimate ease, blocked growth, or stitch-pattern spread. Those design decisions must be set before you choose the target width and height.
Measure the center of a swatch that is larger than the 4-inch or 10-centimeter window. Edge curl and cast-on rows can distort the average gauge if you measure too close to the border.

Sources & References

Frequently Asked Questions

What does 20 stitches and 28 rows over 4 inches mean?
It means your blocked swatch averaged 20 stitches across 4 inches and 28 rows over 4 inches in the same fabric. The calculator first turns that into a per-inch gauge, then multiplies it by the target width and height to estimate cast-on stitches and rows.
Why is knitting gauge usually measured over 4 inches or 10 cm?
Using a wider measuring window reduces distortion from the swatch edges and gives a more stable average than counting over a single inch. That is why most patterns list gauge across 4 inches or 10 centimeters rather than across a tiny segment.
Should I block the swatch before using this calculator?
Yes, if the finished project will be washed or blocked. A blocked swatch usually gives the most reliable planning gauge because many fibers relax, stretch, or bloom after finishing.
Why does the calculator round to whole stitches and rows?
You cannot knit a fraction of a stitch or row in the cast-on or the straight body length, so the tool rounds the exact math to whole numbers. After that, you can still adjust the cast-on to match a stitch repeat, selvage, or seam allowance.
Does this calculator replace pattern repeats or shaping instructions?
No. It gives a clean starting count for straight sizing. Pattern repeats, edge stitches, neckline shaping, sleeve caps, and other construction details still need to follow the pattern or your own shaping plan.