How we calculate

Every calculator follows a published standard or common craft practice, shows its formula on the page, and is tested against examples worked out by hand before it goes live.

The Craft Mat is run by one person, Khokhar Sab, a developer who doesn't quilt, knit or crochet. "We" on this site means Khokhar Sab. That's why nothing here relies on personal habit: the method is written down and checked so you can follow it yourself.

Sources

A worked check

Here is how one result is verified, using the quilt calculator's default queen quilt (90 × 95 inches, 4 inches of extra backing per side, 42 inch fabric).

  1. Backing must be 90 + 8 = 98 inches wide and 95 + 8 = 103 inches long.
  2. 42 inch fabric minus 2 inches of selvage leaves 40 inches usable.
  3. Seams across the quilt: 103 ÷ 40 = 2.6, so 3 panels, each 98 inches long. 3 × 98 = 294 inches, which is 8.17 yards, rounded up to 8¼.
  4. Seams down the quilt: 98 ÷ 40 = 2.5, so 3 panels, each 103 inches long. 3 × 103 = 309 inches, which is 8.58 yards, rounded up to 8⅝.
  5. The calculator recommends 8¼ yards with horizontal seams. That exact case is one of its automated tests.

Automated tests

Each calculator's math lives in a small separate module. Before release it must pass these test cases, each one checked by hand, including awkward inputs such as very small projects, very large ones, metric measurements and invalid entries.

ToolTest cases
Quilt calculator17
Quilt backing calculator7
Binding calculator7
Fabric yardage calculator5
HST and flying geese calculator6
Quilt layout calculator10
On-point setting calculator8
Blanket yarn calculator12
Granny square calculator16
C2C crochet calculator5
Temperature blanket planner and tracker13
Crochet hat size calculator9
Foundation chain calculator12
Amigurumi ball calculator9
Row counter15
Yarn yardage converter8
Gauge calculator5
Increase and decrease evenly10
Cast-on calculator7
Top-down raglan sweater calculator6
Sock calculator5
Yarn substitution calculator5
Needlepoint canvas size4
Fabric count converter27
Cross stitch floss calculator12
Site search6
Total246

Estimates and margins

Yarn use changes with tension, stitch pattern and fiber. When a result depends on those, we label it an estimate and add a safety margin, usually 10 to 15 percent, which you can change. Your own swatch beats a general estimate, so the yarn tools let you enter one.

Review before publishing

The photos of yarn, fabric and tools are illustrations of materials, never finished projects presented as real work. Every formula must pass its hand-checked test cases, and Khokhar Sab reviews each page before it goes live. More on this in our editorial policy.

Corrections

Found a mistake? Get in touch. Corrections are made, the page's review date is updated, and the change is listed here.