Knitting Calculator
Plan your knitting projects with one tool: convert gauge, calculate cast-on stitches and rows, distribute increases/decreases evenly, and estimate yarn usage for any size.
1. Gauge & Size Converter
Convert between stitches/rows per 10 cm and per 4 in, and see how your gauge affects finished size.
Size from stitch count
2. Cast-On & Row Calculator
Enter your gauge and desired finished size to get the number of stitches to cast on and rows to knit. Optionally round to a multiple for ribbing or pattern repeats.
Leave blank for no rounding.
Positive = looser, negative = tighter (same unit as width).
3. Even Increases & Decreases
Distribute increases or decreases evenly across a row, with a written instruction you can copy into your pattern.
Written instruction
4. Yarn Usage & Skein Estimator
Use a swatch to estimate how much yarn your project will use and how many skeins you should buy.
Swatch
Project
Always buy at least one extra skein to allow for swatching, differences in gauge, and dye lot issues.
How this knitting calculator works
This knitting calculator combines several tools that knitters usually have to use separately: gauge conversion, cast-on and row counts, even increases/decreases, and yarn estimation from a swatch. It is designed to be pattern-agnostic, so you can use it for sweaters, scarves, shawls, blankets, hats, and more.
1. Gauge & size formulas
Gauge is the number of stitches and rows per unit of length. From a swatch:
Stitch gauge (sts per unit):
\(\text{sts per unit} = \dfrac{\text{stitches in swatch}}{\text{swatch width}}\)
Row gauge (rows per unit):
\(\text{rows per unit} = \dfrac{\text{rows in swatch}}{\text{swatch height}}\)
The tool converts between “per 10 cm” and “per 4 in” using simple proportional scaling.
2. Cast-on stitches and rows
Once you know your gauge, the number of stitches to cast on for a given width is:
\(\text{cast-on stitches} = \text{stitch gauge} \times \text{desired width}\)
\(\text{rows} = \text{row gauge} \times \text{desired height}\)
The calculator can also:
- Add or subtract ease from the width before calculating.
- Round to the nearest multiple (for ribbing, lace repeats, etc.).
3. Evenly spaced increases and decreases
To increase evenly across a row, you need to know how many stitches to add and how far apart to place them.
Number of increases: \(n = \text{final sts} - \text{starting sts}\)
Spacing (approx.): \(s = \dfrac{\text{starting sts}}{n + 1}\)
The calculator uses this spacing to generate a readable instruction like:
- “Knit 7, inc 1, *knit 8, inc 1; repeat from * to end of row.”
For decreases, it uses the same idea with \(n = \text{starting sts} - \text{final sts}\).
4. Estimating yarn from a swatch
Yarn usage is roughly proportional to the area of the fabric, assuming the same stitch pattern and gauge.
Swatch area: \(A_s = w_s \times h_s\)
Project area: \(A_p = w_p \times h_p\)
Yarn per area: \(Y_a = \dfrac{L_s}{A_s}\)
Total yarn: \(L_p = Y_a \times A_p\)
Number of skeins: \(\text{skeins} = \dfrac{L_p}{L_{\text{skein}}}\)
Where \(L_s\) is the yarn length used for the swatch and \(L_{\text{skein}}\) is the length per skein.
Practical tips
- Always wash and block your swatch before measuring gauge.
- Measure over the full swatch size (not just 10 cm/4 in) for better accuracy.
- For garments, include ease based on how fitted or oversized you want the piece.
- For complex shapes (raglans, yokes, shaped shawls), use this tool section by section (e.g., body, sleeves, borders).