Stitch count from area and gauge
The estimate rests on stitch count. Width times length gives fabric area; the gauge, stitches per inch times rows per inch, gives stitches per square inch; multiplying the two gives the total stitch count. Each stitch draws roughly its own length of yarn, so the stitch count in inches converts to yards by dividing by 36. Change the gauge and the answer moves almost in proportion.