Yarn calculator from a swatch

Dimensions are normalized internally to centimeters, mass to grams, and yarn length to meters. Display units are converted after the calculation.

M_base = M_swatch × (A_project / A_swatch)L_base = M_base × (L_label / M_label)L_buffered = L_base × (1 + user_buffer / 100)skeins = ceil(L_buffered / L_label)

The buffer is a user-controlled planning input. No percentage is presented as a universal standard.

Gauge conversion planner

Stitch and row densities are calculated separately. The original count and pattern density recover the simple intended dimension; the maker's density produces a raw replacement count.

intended width = original stitches / pattern stitch densityraw new stitches = intended width × maker stitch densityintended height = original rows / pattern row densityraw new rows = intended height × maker row density

When a stitch pattern has a multiple and balance stitches, lower, nearest, and higher compatible counts are shown. The tool does not choose one or validate shaping.

Pattern repeat calculator

The repeat multiple, balance stitches, and separate starting chains remain independent inputs.

working count = repeats × multiple + balanceraw repeats = (target count - balance) / multiplefoundation chain = working count + separately declared chains

When width mode is used, the raw target count comes from measured stitch density. Whether a chain counts as a stitch is never inferred.

Unit handling

1 in = 2.54 cm1 oz = 28.349523125 g1 yd = 0.9144 m

Intermediate calculations retain floating-point precision. Rounding occurs for display or when a whole count is inherently required.

Shared limitations

Review the approved source registry or open the tools.