KnitFolio app icon KnitFolio

How many rows do I knit to reach this length?

The count is the length in centimetres, divided by 10, times the rows in 10 cm, then rounded to a whole row. Inches become centimetres at 2.54 cm per inch. A gauge printed per 4 inches is divided by 4 * 2.54 / 10 before that step, because 4 inches is 10.16 cm, not 10 cm.

The worked example is 58 cm at 26 rows per 10 cm: 150.8 rows exactly, rounded to 151. Those 151 rows measure 58.0769 cm.

Rows and the length they measure

150.8 rows exactly, rounded to 151. 151 rows measure 58.0769 cm (22.8649 in). The target length is 58 cm.

Exact rows
150.8
Rounded rows
151
Length of those rows
58.0769 cm
That length in inches
22.8649 in
Rows per 10 cm
26
Rows per 4 inches
26.416

What the rounding does

round follows Math.round. When the fractional part is exactly 0.5, the result moves toward positive infinity. A positive count on that tie rounds up.

lengthCm = lengthIn * 2.54; rowsPer10cm = rowsPer4In / (4 * 2.54 / 10); exactRows = lengthCm / 10 * rowsPer10cm; rows = round(exactRows).

28 rows exactly, rounded to 28. 28 rows measure 10.16 cm (4 in). The target length is 10.16 cm.

27.5591 rows exactly, rounded to 28. 28 rows measure 10.16 cm (4 in). The target length is 10 cm.

Length from a row count

The reverse does not round. It is the length those rows actually measure at the same gauge. 151 rows at this gauge measure 58.0769 cm (22.8649 in).

rowsPer10cm = rowsPer4In / (4 * 2.54 / 10); lengthCm = rows * 10 / rowsPer10cm; lengthIn = lengthCm / 2.54. This length is exact for the row count you pass. It is not rounded.

Sources

The inch in this formula is the international inch. NIST: the international inch is exactly 25.4 mm records the 1959 definition: the inch is exactly 25.4 mm, which is 2.54 cm.

The row count is arithmetic. It does not choose a needle or a yarn class. Classify the yarn from the stitch gauge or convert stitches per inch to 10 cm before you cast on. The forward formula, with one worked row, is also on the reference page.

iOS App (Coming to the App Store · Pre-Launch): Compare Pro PlansSupport