ThisCalculator

Everyday

Yarn Tree Stitch Calculator: How to Estimate

Updated · Standard formula, shown below

Total stitches at widest row 300 st
Full repeats in total
37 repeats
Result
Cast-on stitches
296 st
Result
Stitches per inch
5 st/in
You entered

This calculator estimates how many stitches you need to cast on for a triangular shawl or a top-down triangle wrap, based on your gauge, desired dimensions, and stitch pattern. Enter your stitches per inch, the width and depth you want, and the stitch repeat size, and it returns the total stitch count at the widest row, the number of repeats, and the number of stitches to cast on. The result is a planning number, not a pattern, so you still need to adjust for edge stitches and pattern variations.

Formula

The calculator uses three simple relationships:

  • Total stitches at the widest row = width × stitches per inch (rounded to the nearest whole stitch).
  • Full repeats = floor(total stitches ÷ stitch repeat size).
  • Cast-on stitches = total stitches − (total stitches modulo repeat size).

Variables:

  • width – finished width of the shawl in inches (or cm, but keep units consistent).
  • spi – your gauge in stitches per inch (or per cm).
  • depth – finished depth from the cast-on edge to the point, in the same units as width.
  • repeat – number of stitches in one full pattern repeat (e.g., 8 for a 8-stitch lace repeat).

The depth value is not used in the stitch-count formula because depth mainly affects the number of rows, not the width. If you need row count, multiply depth by rows per inch (not included here).

Worked Example

Using the default values: width = 60 in, spi = 5 st/in, repeat = 8 st.

  1. Total stitches = 60 × 5 = 300 stitches.
  2. Full repeats = floor(300 ÷ 8) = 37 full repeats (since 37×8 = 296).
  3. Cast-on stitches = 300 − (300 mod 8) = 300 − 4 = 296 stitches.

So you would cast on 296 stitches, which gives you 37 full repeats and leaves 4 extra stitches that you can use for edge stitches (2 each side) or adjust with a half repeat.

When to Use This Calculator

Use this tool when you are designing your own triangular shawl or adapting a pattern to a different gauge or size. It is especially helpful for top-down shawls where you increase at the edges and at the center, because the final row’s stitch count determines how many pattern repeats you can fit. It also works for bottom-up triangles, but the cast-on number is the same.

The calculator assumes a simple triangular shape with a straight cast-on edge and even increases. If your shawl has a shaped edge, a different increase rate, or a border that is knitted separately, the numbers will differ.

How to Choose Your Gauge and Repeat Size

Your gauge (stitches per inch) should come from a swatch knitted with your chosen yarn and needles, washed and blocked the same way you will treat the finished shawl. Do not guess – a swatch that is off by even 0.5 st/in can change the width by several inches on a 60-inch shawl.

The repeat size is the number of stitches in one full pattern repeat. For example, a simple 2-stitch seed stitch repeat is 2, a feather-and-fan repeat is often 18, and a Shetland lace repeat might be 12 or 13. If your pattern has a repeat that is not symmetrical, you may need to add extra stitches at the edges for balance.

Common Mistakes and Misconceptions

One common mistake is mixing units – using inches for width but centimeters for gauge. Always use the same unit for both. Another is forgetting to round the total stitch count to a whole number; you cannot cast on a fraction of a stitch.

A frequent misconception is that the depth of the shawl affects the cast-on count. It does not directly – depth affects the number of rows, which in turn affects how many increases you make, but the final width is what determines the total stitches. If you want a deeper shawl at the same width, you increase more slowly over more rows, but the final row still has the same number of stitches.

Also, many knitters assume the cast-on number must be a multiple of the repeat size exactly. In practice, you can add edge stitches (e.g., 1 or 2 garter stitches on each side) to make the pattern look balanced. The calculator gives you the largest multiple of the repeat that fits within your total, and you can add edge stitches separately.

Limitations of the Formula

This calculator is a planning tool, not a substitute for a pattern. It assumes a perfectly straight cast-on edge and a uniform increase rate. Real shawls often have a center spine, decorative edges, or a different shape (e.g., crescent, half-circle, or asymmetrical) that changes the stitch count. For those, you need a different formula or a pattern.

The formula also ignores the fact that blocking can change the dimensions. Blocked gauge is what you should use, but even then, the actual width may vary slightly depending on how aggressively you block. Always knit a swatch and block it before trusting the numbers.

Finally, the calculator does not account for the number of rows or the yardage required. For yardage, you would need to know the rows per inch and the average stitches per row, which is a more complex calculation.

Frequently Asked Questions

What is a stitch repeat? A stitch repeat is the smallest group of stitches that forms the pattern. For example, in a 2×2 rib, the repeat is 4 stitches (k2, p2). In lace, it might be 12 or 16 stitches. You need to know this number to ensure the pattern fits evenly.

Can I use this for a top-down shawl? Yes, the total stitches at the widest row is the same regardless of whether you knit top-down or bottom-up. The cast-on number is what you need at the start, but for top-down you start with a few stitches and increase to reach the total, so you would not cast on the full number – you would increase until you have that many.

What if my stitch count doesn’t match a multiple of the repeat? You have a few options: add edge stitches (e.g., 1 or 2 garter stitches on each side), adjust the width slightly, or use a half repeat. The calculator shows the largest full repeat that fits, but you can also choose to use a smaller total and add a border.

Should I use the gauge before or after blocking? Always use the blocked gauge, because that is the final dimension. If you knit a swatch and it measures 5 st/in before blocking but 4.5 after, use 4.5 in the calculator.

Does the depth really not matter? For stitch count, no. Depth determines how many rows and how many increases you make, but the final width is independent of depth. If you want a deeper shawl, you increase more slowly, but the total stitches at the widest row remains the same.

Related

Formula used
in spi | Stitches per inch | st/in | 5 | 0
in width | Finished width | in | 60 | 0
in depth | Finished depth | in | 30 | 0
in repeat | Stitch repeat size | st | 8 | 1
out total | Total stitches at widest row | st | round(width * spi) | 0
out repeats | Full repeats in total | repeats | floor(total / repeat) | 0
out cast_on | Cast-on stitches | st | total - (total % repeat) | 0

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.