KNOW YOUR YARN
Convert yarn weight to yards or meters
Grams measure mass; yards and meters measure length. You can convert between them only when you know the length-to-weight ratio of the particular yarn.
Find both numbers on the label
Look for the net yarn weight and the length in the same ball or skein. For example, a label might say 100 g and 200 m. That is 2 m of yarn per gram. If you have 35 g left, the proportional remaining length is about 70 m.
Weigh usable yarn without the paper band, spool or other packaging. The estimate assumes the yarn in the remainder has the same construction as the label. It cannot account for an unknown yarn mixed into a ball.
Convert length units
One yard is exactly 0.9144 meters. Multiply yards by 0.9144 to get meters; divide meters by 0.9144 to get yards. A label showing 200 m therefore corresponds to about 218.7 yd. Small differences on printed labels may come from rounding, so avoid displaying a level of precision your source measurements do not support.
Thickness categories are different from package weight
A yarn category describes a thickness range. A ball’s net weight describes how much material is in the package. Two 100 g balls can contain very different lengths, and two yarns in a similar thickness category can have different construction and density. Do not use a category name to infer a fixed grams-to-yards conversion.
Use the label ratio in your project plan
The crochet yarn calculator takes a measured sample weight and your exact ball label. It scales the sample into a body-yarn estimate, converts that to length, subtracts matching yarn you already have, and rounds the remaining purchase up to whole balls.
If you want to know how large a body your leftover yarn might make, use the stash blanket calculator. You still need a consumption sample in the intended stitch: knowing length does not by itself determine fabric size.
Further reading: Craft Yarn Council yarn label information explains the category and label symbols. The worked conversion examples here are illustrative.