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.
Plan your cast-on from a blocked swatch
Choose a target size and compare counts that work with whole stitch and row repeats.
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.
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.
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
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.
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.
| Count | Repeats | Size | vs target |
|---|---|---|---|
| 64 | 10 | 34.59 cm | −5.41 cm |
| 70 | 11 | 37.84 cm | −2.16 cm |
| 76Planned | 12 | 41.08 cm | +1.08 cm |
| 82 | 13 | 44.32 cm | +4.32 cm |
Target 40 cm. Before applying repeats, 74 stitches.
| Count | Repeats | Size | vs target |
|---|---|---|---|
| 138 | 17 | 55.2 cm | −4.8 cm |
| 146Planned | 18 | 58.4 cm | −1.6 cm |
| 154 | 19 | 61.6 cm | +1.6 cm |
| 162 | 20 | 64.8 cm | +4.8 cm |
Target 60 cm. Before applying repeats, 150 rows.
| Count | Repeats | Size | vs target |
|---|---|---|---|
| 70 | 11 | 35.9 cm | −4.1 cm |
| 76Planned | 12 | 38.97 cm | −1.03 cm |
| 82 | 13 | 42.05 cm | +2.05 cm |
| 88 | 14 | 45.13 cm | +5.13 cm |
Target 40 cm. Before applying repeats, 78 stitches.
| Count | Repeats | Size | vs target |
|---|---|---|---|
| 146 | 18 | 56.15 cm | −3.85 cm |
| 154Planned | 19 | 59.23 cm | −0.77 cm |
| 162 | 20 | 62.31 cm | +2.31 cm |
| 170 | 21 | 65.38 cm | +5.38 cm |
Target 60 cm. Before applying repeats, 156 rows.
Copyable knitting plan data
How to use this calculator
- 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.
- 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.
- 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.
- 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.
- 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
Patchwork Quilt Top & Fabric Planner
Design a square-block quilt top, arrange fabrics, add sashing and borders, and inspect exact cut sizes, rotation choices, fabric purchases and costs.
Quilt Backing and Binding Calculator
Compare quilt backing widths and seam directions with linked cut diagrams. Plan batting, binding strips and fabric purchases, then export the complete schedule.
Circle Skirt Calculator
Compare circle-skirt fullness, panel dimensions and conservative fabric layouts. Inspect seam and cut lines, then export a calibrated SVG pattern.
Crochet Planned Pooling Calculator & Color Repeat Preview
Preview two crochet widths from your measured variegated yarn repeat. Find row widths for a chosen color drift and inspect turning effects.
Yarn Grams to Yards & Skein Planner
Convert weighed yarn to estimated yards from its own skein label. Compare two pattern sizes, dye-lot stock, whole skein orders and leftover length.
