Knitting & crochet calculator
Knitting and crochet maths: gauge and cast-on, resize a pattern to your gauge, increase or decrease evenly written out row by row, and yarn amount.
How to use it
- Gauge and cast-on: knit or crochet a swatch, wash and dry it the way you will treat the finished piece, then count stitches and rows over 10 cm (or 4 inches). Type the size you want and, if your stitch pattern repeats, its multiple (for example 4 + 2 for a 2 × 2 rib). You also see how to resize a pattern written for a different gauge.
- Increase or decrease evenly: type how many stitches you have and how many to add or take away. The page writes the row out, for example "(K8, K2tog) 6 times" to go from 60 to 54 stitches in the round, spacing the shaping as evenly as possible.
- Yarn amount: weigh your swatch, type the area of the whole project and the ball size. You get grams, length and how many balls to buy.
Keyboard
| Tab | Move between the boxes and tabs |
| Enter | Work it out |
Tips
- Measure gauge in the middle of the swatch, away from the edges, and on a washed swatch: many yarns grow or shrink.
- Half a stitch per 10 cm matters: on a 100 cm sweater, 22 instead of 22.5 stitches per 10 cm is 2 cm wider.
- Knitting abbreviations: K = knit, M1 = make one (an increase between stitches), K2tog = knit two together. Crochet: sc = single crochet, sc2tog = single crochet two together.
- Buy all the yarn from the same dye lot, plus a spare ball: a new lot can be a slightly different shade.
About this calculator
Gauge turns sizes into stitch counts: stitches = stitches per gauge length × width ÷ gauge length, rounded to fit your stitch pattern. To increase or decrease evenly, the page shares the plain stitches between the gaps around the shapings so that no gap is more than one stitch longer than another. In flat rows the shaping stays away from both edges (one more gap than shapings); in the round there is one gap per shaping. A knitted M1 uses no stitch, a crochet increase works two stitches into one, and a decrease uses two stitches. Yarn is estimated from the weight of your swatch per square centimetre or inch. The tests expand every written-out row stitch by stitch in a separately written Python version and count the result. Everything runs in your browser.