Gauge Swatch Calculator
Calculate the number of stitches and rows you need to cast on based on your gauge swatch measurements and desired dimensions.
About this calculator
This is the most direct application of a knitting or crochet gauge swatch: it converts your desired finished width and height into the exact stitch and row counts needed to get there, using simple multiplication rather than any adjustment for ease, since a gauge swatch calculator's job is dimensional translation, not garment fit. Stitches to cast on is your target width times your measured stitches-per-inch, rounded up (ceiling, not nearest) so you never end up narrower than intended; total rows needed works the same way against your row gauge. Total stitches in the piece is simply the product of those two counts, a useful sanity check when estimating how long a project will take or how it compares to similar projects.
The calculator doesn't apply any ease, seam allowance, or blocking adjustment — those are pattern-specific decisions layered on top of the raw gauge math here. The single biggest limitation is the same one that trips up most swatch-based math: your gauge must be measured on a swatch that's been washed and blocked the same way the finished piece will be, since many fibers (wool especially) relax or bloom significantly after wet-finishing, and a swatch measured straight off the needles can overstate stitches per inch by enough to shift a project's finished size by an inch or more. Measuring gauge over a full 4-inch span rather than a single inch, as this calculator assumes, also meaningfully reduces counting error.
Inputs
Results
Stitches to Cast On
100
Total Rows Needed
168
How to Use This Calculator
- Knit or crochet a swatch at least 6x6 inches using your intended yarn, hook/needle, and stitch pattern.
- Measure 4 inches across the center of the swatch and count the stitches.
- Measure 4 inches vertically and count the rows.
- Enter your measured stitch count and row count into the calculator.
- Compare your gauge to the pattern gauge and adjust needle/hook size if needed — go up a size if your swatch is too small, down if too large.
How the result changes with Target Width
| Target Width | Stitches to Cast On | Total Rows Needed |
|---|---|---|
| 10 | 50 | 168 |
| 15 | 75 | 168 |
| 30 | 150 | 168 |
| 50 | 250 | 168 |
What each input means
- Target Width
- Desired finished width of your piece in inches.
- Target Height
- Desired finished height of your piece in inches.
- Gauge Stitches per Inch
- Number of stitches per inch from your gauge swatch.
- Gauge Rows per Inch
- Number of rows per inch from your gauge swatch.
How this is calculated
Worked example, using the default values
- Identify Input Parameters4 parametersTarget Width = 20, Target Height = 24, Gauge Stitches per Inch = 5, Gauge Rows per Inch = 7 = 4 input(s) provided
- Calculate Stitches to Cast OnStitches to Cast On100 = 100
- Calculate Total Rows NeededTotal Rows Needed168 = 168
- Calculate Total Stitches in PieceTotal Stitches in Piece16800 = 16800
- Calculate Stitches per Inch5 = 5
Engine last updated . Checked against 2 independently-derived tests — how we verify calculators. Built by Paul Gunder, a software engineer, not a licensed financial, medical, or legal professional.
Frequently Asked Questions
Why does the calculator round up instead of to the nearest whole stitch?
Stitches to cast on and rows needed both use a ceiling function rather than standard rounding, so the calculator never returns a piece narrower or shorter than what you asked for. Rounding to the nearest stitch instead could shave a fraction off and leave the finished piece slightly undersized.
Does this calculator account for ease or seam allowance?
No — it performs pure dimensional translation from your target width and height into stitch and row counts using only multiplication against your measured gauge. Any ease, seam allowance, or blocking adjustment needs to be built into the target dimensions you enter, since those are pattern-specific decisions the calculator doesn't make for you.
Why does my gauge swatch need to be washed and blocked first?
Many fibers, wool especially, relax or bloom noticeably after wet-finishing, which changes stitches-per-inch measurably from the raw, off-the-needles measurement. Entering an unblocked gauge into the calculator can shift the finished piece's size by an inch or more once it's actually washed and blocked.
Why measure gauge over 4 inches instead of just 1 inch?
The calculator's math scales linearly from whatever stitches-per-inch figure you enter, so any counting error in a 1-inch measurement gets multiplied across the whole project. Measuring over a full 4-inch span and dividing down averages out small counting mistakes far more reliably.
Related Calculators
The questions that sit next to this one — chosen by subject, including calculators filed under a different category.
Sweater Sizing Calculator
Calculate cast-on count, body rows, and piece dimensions for a custom-fit sweater based on your chest measurement and gauge.
Knitting & CrochetYarn Yardage Calculator
Estimate total yarn needed for your project and how many skeins to buy, based on stitch count, row count, and yarn usage per stitch.
LeatherworkingStitching Hole Spacing Calculator
Calculate the number of stitching holes and optimal spacing for leather seams. Enter seam length, pricking iron spacing, and desired stitches per inch.
Knitting & CrochetSock Sizing Calculator
Calculate cast-on stitches, heel flap rows, and foot rounds for hand-knit socks based on foot measurements and gauge.
More in Crafts, Hobbies & Games.