How to Calculate Yarn Project Cost
Before you cast on a single stitch, knowing exactly how much yarn you need — and what it will cost — saves you from two of knitting and crochet's biggest frustrations: running out mid-project or over-buying and blowing your budget. This calculator does the math so you can shop with confidence.
The Simple Formula
The core calculation divides your total project yardage by the yards per skein to find how many skeins to buy, then rounds up to a whole number (you can't buy half a skein) and multiplies by the price:
Skeins Needed = CEILING(Total Yardage ÷ Yards per Skein)
Total Cost = Skeins Needed × Price per Skein
Why Add a Buffer?
A 10–15% buffer is strongly recommended for most projects. Yarn usage varies based on your individual tension (gauge), and knitters tend to use more yarn than crocheters per square inch of fabric. A buffer also protects you if you decide to add length to a garment or if the pattern yardage estimate runs a bit short. For colorwork or cables — which consume more yarn than stockinette — consider a 15–20% buffer.
Finding Your Project Yardage
Pattern books and digital patterns typically list total yardage requirements for each size. If a pattern lists weight in grams rather than yards, check the yarn label: most labels print both the skein weight (e.g., 100 g) and the yardage. Simply use the label's yardage-to-weight ratio to convert. For example, a 100 g skein with 220 yards means each gram equals 2.2 yards.
Dye Lots Matter
Once you know your skein count, buy all skeins at once from the same dye lot. Even skeins of the same colorway printed in different batches can have subtle color variations that become visible in finished fabric. The lot number is printed on the yarn label. If you're purchasing online, note the dye lot in your cart or ask the retailer to pull matching lots before shipping.
Cost per Yard: Your Value Benchmark
The cost-per-yard figure this calculator provides is a useful benchmark when comparing yarns. A $28 skein with 440 yards costs $0.064/yard — a better deal than a $15 skein with only 150 yards at $0.10/yard. Comparing cost per yard helps you evaluate substitutions without sacrificing yardage.