Crafts, Textiles, 3D Printing & Photography Yarn, Knitting & Crochet Craft Yarn Council standard knitting abbreviations

Knitting Increase & Decrease Spacing Calculator

"Increase 20 stitches evenly across the row" is a pattern instruction, not a plan. This calculator turns it into one: it tells you how many stitches to knit between each shaping, how many groups get one extra stitch when the division does not come out even, where those groups go, and the full written row instruction you can read off the page. It handles increases and decreases, reserves edge stitches if you want the shaping kept away from the seam, and converts a stitch total into a row interval when the shaping is spread up a sleeve rather than across a row.

Calculator

This calculator runs in your browser. Enable JavaScript for live results — the inputs, formula and worked example below remain fully readable without it.

Inputs this calculator takes, with typical values
InputWhat to enterExample
Current stitch countThe number of stitches on the needle right now, counted rather than trusted from the pattern.60 sts
Target stitch countThe count you need after the shaping row; larger than the current count means increases, smaller means decreases.80 sts
Edge stitches to reserve at each endStitches at each end left unshaped so the seam or selvedge stays clean; enter 0 to use the whole row.0 sts
Rows available for the shapingOnly used for shaping worked up the piece, such as a sleeve; the row count from the start of shaping to the end.60 rows
Stitches changed on each shaping rowTwo for a sleeve shaped at both ends of the row, one for shaping at a single edge.2 sts

It returns

  • Increases or decreases to work — The difference between your current and target counts.
  • Plain stitches in the smaller group
  • Groups with one extra stitch
  • Groups at the smaller count
  • Stitches after the row
  • Shaping rows needed — Only meaningful when the shaping is worked up the piece rather than across one row.
  • Work a shaping row every

The formula

base=Pn,r=Pbasen
P=C2e2n
P=C2e

In plain text: base = floor(P / n), r = P − base·n, where P = C − 2e − (2n if decreasing)

  • CCurrent stitch count on the needle (sts)
  • nNumber of increases or decreases: |target − current| (sts)
  • eEdge stitches reserved at each end (sts)
  • PPlain stitches left to share between the shapings (sts)
  • basePlain stitches in a smaller group (sts)
  • rNumber of groups that take one extra plain stitch (groups)

The row is r groups of (base + 1) plain stitches and (n − r) groups of base plain stitches, each followed by one shaping. That accounts for every stitch: r(base+1) + (n−r)base = n·base + r = P.

Updated Category Yarn, Knitting & Crochet Verified against published test cases Reading time 11 min

What "evenly across the row" actually means

A pattern that says "decrease 20 stitches evenly across" is asking you to solve a division problem it declined to solve for you. You have a fixed number of stitches, a fixed number of shapings, and the shapings almost never divide the row into equal pieces. The result is that most knitters guess, run out of stitches near the left edge, and fudge the last two decreases together.

The calculator does the division properly. It works out how many plain stitches are genuinely available, divides them by the number of shapings, and reports both the quotient and the remainder. The remainder is the part everyone gets wrong: if 64 plain stitches must carry 12 increases, you cannot knit 5.33 stitches between them, so four of the twelve groups take six plain stitches and the other eight take five. Four sixes and eight fives is 64, exactly.

Because the arithmetic differs between increases and decreases, the calculator infers which you are doing from your two counts rather than asking. A target above the current count means increases; a target below means decreases. That matters, and the reason is in the next section.

Why decreases and increases divide differently

A make-one increase is worked in the bar between two stitches. It consumes nothing and adds one. So when you increase, every one of your current stitches is still a plain stitch you can count into a group, and the pool to share out is simply the row minus any reserved edge stitches.

A knit-two-together does the opposite. It swallows two stitches and returns one, so each decrease removes two stitches from the pool of plain knitting before you have shared anything out. Twenty decreases across 100 stitches leave only 60 plain stitches to distribute, not 100. This is the single most common source of a shaping row that runs out early: knitters divide 100 by 20, knit five between each decrease, and discover around stitch 84 that the row is short.

So the pool is P = C − 2e − 2n for decreases and P = C − 2e for increases, where e is the edge stitches held back at each end. Then base = floor(P ÷ n) and the remainder r = P − base·n tells you how many groups get one extra. The identity that makes this exact is worth writing down: r(base + 1) + (n − r)base = n·base + r = P. Every plain stitch is accounted for, so the instruction always ends exactly at the end of the row.

Where you put the larger groups is up to you. Distributing them through the row rather than bunching them at the start spreads the shaping most smoothly, and on a hem or a yoke, where the shaping is hidden by the next section anyway, it makes no visible difference. The table below lists the groups in order so you can move them around and still count the stitches.

Worked example: decreasing 100 stitches to 93 across one row

You have finished a sleeve at 100 stitches and the cuff calls for 93. That is seven decreases, an awkward number that will not divide evenly into anything.

  1. Count the shapings. n = |93 − 100| = 7 decreases.
  2. Subtract what the decreases eat. Seven k2togs consume 2 × 7 = 14 stitches.
  3. Find the plain pool. With no edge stitches reserved, P = 100 − 0 − 14 = 86 plain stitches.
  4. Divide. 86 ÷ 7 = 12.29, so base = 12 plain stitches per group.
  5. Find the remainder. r = 86 − (12 × 7) = 86 − 84 = 2. Two groups take 13 plain stitches, five groups take 12.
  6. Check it. 2(13) + 5(12) = 26 + 60 = 86 plain, plus the 14 eaten by the decreases = 100 stitches, the whole row.
  7. Write the row. [K13, k2tog] × 2, [K12, k2tog] × 5. (93 sts)

Now do the same shaping with three edge stitches reserved at each end. P becomes 100 − 6 − 14 = 80, and 80 ÷ 7 = 11 with a remainder of 3, so the row reads K3, [K12, k2tog] × 3, [K11, k2tog] × 4, K3. Check: 3 + 3(12) + 4(11) + 14 + 3 = 3 + 36 + 44 + 14 + 3 = 100.

Reading the result and knowing when to spread the shaping over rows

Look first at the plain stitches per group. Anything above about three is comfortable — the shapings are far enough apart to disappear into the fabric. At one or two the shapings start to read as a visible line of shaping, which is fine on a gathered hem or a hat crown and wrong in the middle of a plain sleeve.

At zero, the calculator warns you, because a group with no plain stitches means two shapings sit side by side. That is a signal that you are asking one row to do too much. A yoke that must lose forty percent of its stitches wants two or three shaping rows separated by plain rows, not one heroic row that puckers.

The row interval outputs handle the other case, where the shaping runs up the piece instead of across it. A sleeve increased at both ends of a row changes two stitches per shaping row, so twenty increases need ten shaping rows. Spread over sixty rows of underarm, that is a shaping row every sixth row. Rounding down is deliberate: it packs the shaping into the space you have rather than running past the end of the sleeve, and it leaves the spare rows at the top where a straight run is invisible.

None of this changes your fabric dimensions on its own. To turn a stitch count into an actual measurement you need gauge — run the numbers through the knitting gauge calculator to see what 80 stitches measures in your yarn, and check the yarn you have left with the yarn yardage calculator before you commit to a wider sleeve.

Common shaping rows, solved

Every row is worked with no reserved edge stitches. "Groups" reads as (count × plain stitches).
From → toShapingsPlain poolGroupsWritten row
60 → 80 (inc)206020 × 3[K3, M1] × 20
64 → 76 (inc)12644 × 6, 8 × 5[K6, M1] × 4, [K5, M1] × 8
90 → 120 (inc)309030 × 3[K3, M1] × 30
100 → 80 (dec)206020 × 3[K3, k2tog] × 20
100 → 93 (dec)7862 × 13, 5 × 12[K13, k2tog] × 2, [K12, k2tog] × 5
120 → 96 (dec)247224 × 3[K3, k2tog] × 24
84 → 72 (dec)126012 × 5[K5, k2tog] × 12

Plain pool is C − 2n for decreases and C for increases. Each row's groups multiply back to the pool exactly: 2(13) + 5(12) = 86, 4(6) + 8(5) = 64.

Where shaping rows go wrong

  • Dividing the whole row by the number of decreases. The decreases eat two stitches each. Dividing 100 by 20 and knitting five between gives a row that needs 140 stitches. Divide the pool, not the row.
  • Stacking every remainder group at one end. The arithmetic is right either way, but on a visible fabric the extra stitch bunched into the first few groups shows as an uneven line. Scatter them.
  • Forgetting the shaping is on the wrong side of the row. If the shaping row is a purl row, the written instruction still holds but the decrease becomes p2tog and the make-one leans the other way. The stitch counts do not change.
  • Shaping into a stitch pattern without re-centring it. Even spacing across the row is not the same as even spacing within a rib or cable repeat. If the pattern must stay aligned, shape only in the plain sections and treat each section as its own row.
  • Using a paired decrease and counting it as one. An ssk and a k2tog each remove one stitch and consume two. A double decrease such as sl1-k2tog-psso removes two and consumes three, so this calculator's pool arithmetic does not apply to it directly.
  • Rounding the row interval up. Rounding a sleeve interval up runs the shaping past the top of the sleeve. Round down, and work the leftover rows straight at the end.

Terms used in the output

M1 (make one)
An increase worked into the horizontal bar between two stitches. It adds a stitch without consuming one, which is why increases leave the whole row in the plain pool.
k2tog
Knit two stitches together as one — a single decrease that consumes two stitches and produces one. Its mirror image, ssk, behaves identically for counting purposes.
Plain pool
The stitches left over after the edge allowance and the shaping consumption have been taken out. This is the number that gets divided between the groups.
Group
One run of plain stitches followed by one shaping. A row with n shapings has n groups, and the remainder decides which of them carry an extra plain stitch.

Where this sits alongside other pattern math

Even spacing is the most-used piece of pattern arithmetic that patterns refuse to do for you, and it appears at four places in most garments: the transition from ribbing to body, the top of a sleeve into a yoke, the crown of a hat, and any raglan or set-in shaping. The math is identical in all four; only the number of shapings changes.

It sits downstream of gauge. Gauge decides how many stitches you need for a given width; this calculator decides how you get from one stitch count to another. If you are substituting yarn and your stitch count changes as a result, work out the new counts with the yarn substitution calculator first and then come back here, because the shaping row must be recalculated against the counts you actually have.

The abbreviations used in the written instruction — K, M1, k2tog, sts — follow the Craft Yarn Council's standard list, which is the vocabulary most English-language patterns use. If your pattern is written in another convention, the numbers are unaffected; only the letters change. Crocheters face the same problem in a different guise, and for motif-based projects the equivalent planning tool is the granny square layout calculator, which distributes whole motifs rather than whole stitches.

Frequently asked questions

How do I space 20 decreases evenly across 100 stitches?

Knit three stitches, then k2tog, and repeat that twenty times. The twenty decreases consume forty stitches, leaving sixty plain to share out, and 60 ÷ 20 = 3 exactly. The row uses 20 × (3 + 2) = 100 stitches and leaves you with 80. If you divide 100 by 20 instead and knit five between, you will need 140 stitches and run out well before the end of the row.

What do I do with the remainder when the division is not even?

Give the extra stitch to as many groups as the remainder says, and spread those groups through the row. With 86 plain stitches and 7 decreases, the remainder is 2, so two groups get 13 plain stitches and five get 12. Placing the two larger groups at the start, the middle or the ends is your choice — the stitch total is identical, and only the visual distribution changes.

Should I reserve edge stitches?

Reserve one to three stitches at each end whenever the piece will be seamed or the edge will be picked up later. A shaping worked in the very first or last stitch distorts the selvedge and makes mattress stitch awkward. On a piece worked in the round, or on a hem that will be folded, you can set the edge allowance to zero and use the whole row.

Does this work for increases made with yarn-overs or kfb?

Yes for kfb with one adjustment, and yes for yarn-overs as written. A yarn-over and a make-one both add a stitch without consuming one, so the increase arithmetic applies unchanged. A kfb works into an existing stitch, so that stitch is both plain and shaped; subtract one from each group's plain count when you write the row, or simply treat the kfb as the last plain stitch of its group.

How many rows apart should sleeve increases be?

Divide the rows you have by the number of shaping rows and round down. Twenty increases worked two at a time need ten shaping rows; across sixty rows of underarm that is one every sixth row, with the leftover rows worked straight at the top. Round down rather than up, because rounding up spreads the shaping past the end of the sleeve and leaves you increasing into the armhole.

Why does the calculator refuse some decreases?

Because the decreases would need more stitches than the row contains. Eight k2togs consume sixteen stitches, so they cannot be worked across a row of ten. When that happens the calculator reports the shortfall and leaves the spacing blank. Split the change across two or more rows — four decreases on each of two rows achieves the same total and gives a fabric that lies flat.

Is it better to shape on the right side or the wrong side?

Shape on the right side when the shaping is decorative or paired, and on either side when it is hidden. The counting is unaffected: a p2tog removes one stitch and consumes two exactly as a k2tog does. What changes is appearance — right-side shapings can be mirrored to lean toward or away from the seam, which is worth doing on a raglan and irrelevant inside a rib-to-body transition.

How many stitches between shapings is too few?

Below three the shaping starts to read as a deliberate line rather than an even gather, and at zero two shapings sit adjacent. Neither is wrong — a hat crown decreases hard on purpose — but in the middle of a plain sleeve or body it puckers. If your group count comes out at zero or one, split the change over two shaping rows separated by at least one plain row.

References