How it works
Backing has to extend past the quilt top on every side, usually about four inches, so add the margin to both dimensions before planning anything. Quilting cotton is about 40 inches usable once the selvages are off, so a wide quilt needs panels joined side by side. Multiply the panel count by the backing length for the total length of fabric, then convert to yards and round up to the next eighth. Buy a little extra for squaring up the edges, because a wavy cut costs more than the extra fabric.
Formula
backing length = quilt length + 2 × margin
panels = round up (backing width ÷ usable fabric width)
yardage = panels × backing length ÷ 36, rounded up to the next 1/8 yard
Sources
Example
A 60 × 80 quilt with a 4 inch margin: backing is 68 × 88 inches. Panels = 68 ÷ 40 rounded up = 2. Yardage = 2 × 88 ÷ 36 = 4.89, so buy 5 yards. Check: 5 × 36 = 180 inches of 40 inch wide fabric, enough for two 88 inch panels.
Frequently asked questions
How much margin do I need?
About 4 inches per side, which is what longarm quilting needs to grip the backing.
What width is quilting cotton?
About 40 to 42 inches usable after the selvages are removed.
What if the quilt is narrower than the fabric?
Then it is one panel, and the yardage is just the backing length.
Should I round up?
Yes, at least to the next eighth of a yard, and more if the print has to match.