Flat lay of yarn tools including colorful yarn skeins, measuring tape, open notebook, knitting needles, crochet hooks, and notions arranged on a table for pattern planning.

How to Calculate Exactly How Much Yarn You Need: GoSadi Yarn Calculator

You’re making a made-to-measure item or a free-form project, and you want to know how much yarn to use? Or you’re halfway through your sweater when you realize, “Am I going to have enough yarn to finish this WIP?” That sinking feeling of yarn chicken is real. But with the help of GoSadi and our Yarn Calculator, you don’t have to guess when it comes to yarn quantities anymore.

Designer knitting with yarn, measuring tape, knitting needles, and notions needed to calculate yarn amounts for custom patterns.

Whether you’re making a pattern as written or adjusting it to a custom fit, there’s a proven formula that takes the guesswork out of yardage calculations. It accounts for gauge variations, body measurements, and garment styles, without having to rely on keeping your fingers crossed.

This guide walks you through our formula step by step. Whether you’re a maker creating a project for yourself or a designer helping customers find their perfect fit, our method will work for you. Get started with your own calculations and finally win yarn chicken every time.

Step 1: Take Your Body Measurements

Every perfectly fitted garment starts here. Before you even pick up needles, you need to know who you’re making for, and that’s the actual body wearing the finished piece.

This step is crucial whether you’re making it for yourself or designing. The measurements become the blueprint for your entire project.

Measure honestly and add ease intentionally.

Measure yourself (or the wearer) first. These numbers will become your rectangle width/height in Steps 4 & 5. Add ease per your pattern’s fit (typically 1–4″).

MeasurementYour number+ Ease
Chest / Bust
Desired garment length (shoulder to hem)
Sleeve length (underarm to cuff)
Upper arm circumference
Shoulder to shoulder width
Waist
Hip
Desired garment length (waist to hem)

Step 2: Create Your Swatch

A good swatch isn’t just about gauge; it’s the foundation of an accurate yardage calculation. This step matters whether you’re following a pattern exactly or modifying it.

The beauty of this formula is that it works with your gauge, in your yarn, with your needles. If you’re off gauge from the pattern (which happens to everyone), this method accounts for it. You’re not converting someone else’s gauge to yours. You’re calculating directly from your actual swatch.

Knit your swatch at the same tension you’ll use for the project, then measure and record five simple numbers; these numbers will become the heart of your yarn calculations going forward.

Reference key: 
A = stitches/row   B = # rows   C = width (in)   D = height (in)   E = swatch weight (g)   F = swatch sq in   G = grams/sq in

A and B are the raw totals from the swatch you actually made, not a per-4″ gauge reading. Example: if you cast on 26 stitches and worked 13 rows, enter A = 26 and B = 13 (not ‘18 sts x 11 rows per 4″’).

RefWhat to measureYour numberUnit
BTotal rows worked in your swatch rows
DSwatch height, after blocking inches
ATotal stitches cast on for your swatch stitches
CSwatch width, after blocking inches
ESwatch weight grams

Step 3: Run The Swatch Math

This is where your swatch data transforms into actionable numbers. Don’t let the formulas intimidate you; it is essentially simple division and multiplication.

Once you have the answer for G, you can calculate the yarn needed for anything!

Use your Step 2 numbers (A–E) to fill in each calculation below.

F and G are calculated right here in Step 3; they don’t come from Step 2. Work top to bottom: calculate F first, then use that F answer in the G formula (E ÷ F).

RefCalculationFormulaYour answer
1Swatch stitches per inchA ÷ C 
2Swatch rows per inchB ÷ D 
FSwatch square inchesC × D 
GGrams of yarn per square inchE ÷ F 

Step 4: How Much Yarn Per Rectangle

This is where your width and height measurements (plus ease) become rectangle dimensions. Whether you’re making for yourself or grading your own pattern, this calculation removes all uncertainty.

Use this for scarves, blankets, panels of garments, skirts (anything rectangular or rectangular-ish).

Which measurement is width vs. height depends on your pattern; check its schematic or directions. 

General rule: circumference measurements (waist, hip, bust) + ease usually become Width; length measurements (garment length, sleeve length) + ease usually become Height.

StepYour answer
Rectangle width (in) × Rectangle height (in) = Rectangle sq inches 
Rectangle sq inches × G (grams per sq in) = Grams for rectangle 
Grams for rectangle ÷ grams per ball = # of balls needed 

Step 5: How Much Yarn For The Whole Garment

Sweaters, cardigans, and complex projects have multiple pieces: front, back, sleeves, maybe a collar. This step shows you how to account for them all.

The principle is the same as calculating for rectangles, but you’re working with total garment square inches instead of single pieces. This works whether you’re making garments from a published pattern in your custom size, or are a designer working on m multiple sizes. 

Add up all pattern pieces (front, back, sleeves, etc.) for total garment square inches.

StepYour answer
Total garment sq inches × G (grams per sq in) = Grams for project 
Grams for project ÷ grams per ball = Balls needed for garment 

Your Next Steps 

Now that you have our proven formula, you can officially say goodbye to yarn chicken forever!

Join GoSadi to gain access to tools, guides, and a community of makers and designers perfecting their craft.

Continue Learning

Be in the Know

Sign up today for gosadi community updates and industry news.