Quick Answer: Converting Gauge to Stitch and Row Counts
Divide your swatch count by the swatch size to get stitches per inch, then multiply by the finished measurement: cast-on = target width × (your swatch stitches ÷ swatch size), and the same for rows against length. To convert a number the pattern gives you, multiply it by your stitches per inch ÷ the pattern's stitches per inch.
Example: a pattern gauge of 20 stitches and 28 rows over 4 in, and your own swatch of 22 stitches and 30 rows. For a 20 in by 24 in panel you cast on 110 stitches and knit 180 rows, and a pattern instruction of 100 stitches becomes 110.