Article
Cast-On & Raglan Calculator: Start Any Project Right
Every project lives or dies at the very first row. Cast on too few stitches and your sweater pulls tight across the chest. Cast on too many and the fabric sags and grows bigger every time you wear it. A knitting cast on calculator fixes this in one step. You give it your gauge and your finished measurement, and it hands back the exact number of stitches to cast on. No guessing, no "eh, close enough" that you only find out about twelve inches later.
Last updated:
This guide walks through the math behind that number. Then it takes the same idea to the trickiest first row in knitting: the top-down raglan yoke. Along the way you'll see how the same gauge-times-width math carries you from a plain scarf to a sock. You'll also see where a calculator takes over the arithmetic so you can get back to the fun part.
The Core Cast-On Formula
The math under every knitting cast on calculator is short:
Cast-on stitches = stitch gauge (per inch) × desired width (in inches)
Say your swatch measures 5 stitches per inch and you want a cowl 24 inches around. That's 5 × 24 = 120 stitches. Working in centimeters? Same idea: stitches per cm times width in cm.
Two small steps turn a clean number into one that actually works. First, round to your stitch pattern's multiple. A 2×2 rib (two knits, two purls, repeated) needs a number you can divide by 4. So 120 works, but 122 doesn't. You'd round to 120 or 124. Lace and cables often want a multiple plus an edge stitch or two, like "multiple of 8 + 3." Second, think about ease. Ease is just how loose or snug you want the fit. Desired width is the finished width you're after, which can be bigger or smaller than your actual body measurement. Pick the finished width first, then plug that into the formula.
Gauge is the input everything else leans on. If you haven't measured a blocked swatch yet, start with the gauge calculator so the stitches-per-inch you use reflects real, washed fabric, not a hopeful guess straight off the needles.
Why a Calculator Beats Pencil Math
You can do all this with a calculator app and a notepad. So why bother with a dedicated knitting cast on calculator? It handles the rounding to a stitch multiple, applies ease in one place, and catches the off-by-one mistakes that sneak in when you're tired. It also keeps your gauge steady across the whole garment. Body, sleeves, and bands all come from the same numbers, so nothing turns out a half-size off.
The real payoff shows up when one cast-on number has to line up with shaping later in the piece. That's what happens in a raglan.
Top-Down vs. Bottom-Up Raglan Math
A raglan sweater is shaped by four diagonal lines. They run front-to-sleeve on each side and back-to-sleeve on each side, from the underarm up to the neck. All the increasing (or decreasing) happens along those four lines. That's why raglans look so tidy and fit so many bodies.
The direction you knit changes the arithmetic:
- Top-down raglan starts at the neckline. You cast on a small number of neck stitches, split them among the back, two sleeves, and front, then increase on both sides of all four raglan lines until the yoke reaches your underarm. Top-down is forgiving. You can try it on as you go and stop increasing the second it fits.
- Bottom-up raglan knits the body and sleeves separately up to the underarm, then joins them on one needle and decreases along the four raglan lines up to the neck. Bottom-up gives crisp seams and is easy to make longer, but you lock in the fit sooner.
The math is just a mirror image. Top-down: neck stitches grow into yoke stitches. Bottom-up: yoke stitches shrink into neck stitches. A raglan calculator runs either direction from the same short list of inputs: gauge, neck circumference, chest circumference, and yoke depth.
Setting Up the Top-Down Neck Division
Start by turning your neck circumference into stitches with the core formula (gauge × neck width). Then split that total across the four sections. A common starting split is roughly:
- Back: about one-third
- Front: about one-third
- Each sleeve: a smaller share, often a quarter of what the back gets
You also set aside 1 to 2 stitches at each of the four raglan lines as a "seam" column. The increases grow out from there. The exact split changes with the pattern and the neckline shape, so a raglan calculator lets you nudge the proportions and watch the four section counts update right away.
The Raglan Increase Rhythm
Increases happen on both sides of each raglan column, so a standard raglan increase round adds 8 stitches (2 per line × 4 lines). The rhythm is almost always "increase every other round." Increase round, plain round, repeat. That's what gives you the classic 45-degree raglan diagonal.
To figure out how many increase rounds you need, compare where you start to where you have to finish:
- Decide the finished yoke depth in inches and multiply by your row gauge to get the total yoke rounds.
- Work out the chest stitch count you need at the underarm (gauge × finished chest width).
- Take the difference between your starting yoke stitches and the chest count, divide by 8, and that's how many increase rounds to work.
If the math says you need more increase rounds than your yoke depth allows, you have options. Increase faster for a stretch (every round), or add stitches at the underarm cast-on when you divide. Which brings us to the next step.
Dividing for Body and Sleeves
When the yoke reaches your underarm, you split the live stitches into body and sleeves. Each sleeve section slides onto waste yarn or a holder. The front and back sections keep going as the body. At each of the four division points you usually cast on a few underarm stitches (often 4 to 8 per underarm) to add width and ease across the chest. Those few underarm stitches are the small lever that turns a snug yoke into a comfy body.
After that, the body and each sleeve are just tubes. Knit straight, or add gentle waist and sleeve shaping. The sleeve decreases down to the cuff are their own increase-and-decrease puzzle, and the decrease distribution calculator spaces them out evenly so you don't end up with a pile of decreases bunched at the wrist.
Basic Sizing: From Width to Whole Garment
The cast-on formula scales to any flat or tube measurement. Here are a few worked examples:
| Project | Finished measurement | Gauge | Cast-on |
|---|---|---|---|
| Scarf | 8 in wide | 4 sts/in | 32 sts |
| Cowl | 26 in around | 5 sts/in | 130 sts |
| Hat | 20 in around | 5.5 sts/in | 110 sts |
Hats and cowls knit in the round use the circumference straight up. Flat pieces use the panel width. The only real call is ease. Use negative ease (cast on for less than the body measurement) for snug ribbed hats and socks, and positive ease for relaxed sweaters.
Knitting Sock Size Calculator
Socks are where the math matters most, because a sock has almost no room to be "about right." Your foot will tell on you. A knitting sock size calculator works from foot circumference and foot length instead of one flat width:
- Cast-on (cuff/leg): measure foot circumference, subtract negative ease (often 10%, so the sock hugs and stays up), then multiply by gauge. A 9-inch foot at 8 sts/in with 10% negative ease comes to about 8.1 in × 8 = roughly 65 stitches, rounded to a friendly multiple like 64.
- Heel and gusset: usually worked over half the stitches, with gusset stitches picked up along the heel flap and decreased back to the starting count.
- Foot length to toe: knit the foot until it sits about 2 inches short of your total foot length, then start the toe decreases.
A knitting sock size calculator ties those steps together so the cuff, heel, and toe all come from one steady gauge and one set of foot measurements. It's the same gauge-driven logic as the sweater, just on a smaller, less forgiving canvas.
How Gauge Ties It All Together
Here's the through-line: cast-on, raglan, and sock math are all the same formula in different outfits. Stitches equal gauge times the dimension you care about, whether that's width, circumference, neck, or foot. Get gauge right and every number after it falls into place. Get it wrong and a calculator will cheerfully hand you a very precise wrong answer.
That's the reason StitchSums calculators share inputs. Enter your gauge once, and your cast-on count, raglan yoke, and sock numbers all stay on the same page. If you want the deeper "why" behind these formulas, the knitting math guide walks through gauge, shaping, and yardage from the ground up.
Start Your Next Project With the Right Number
Stop casting on a guess and ripping back at row twelve. Open the knitting cast on calculator, enter your gauge and finished measurement, and cast on a number you can actually trust. Then carry that same gauge straight into your raglan or sock without a second thought.
FAQ
How do I calculate cast-on stitches from gauge?
Multiply your stitches-per-inch (or per-cm) by your desired finished width, then round to the nearest multiple your stitch pattern needs. For example, 5 sts/in × 24 in = 120 stitches, rounded to a multiple of 4 for a 2×2 rib.
How many stitches do raglan increases add per round?
A standard raglan adds 8 stitches per increase round, 2 stitches on each side of all four raglan lines. You usually work it every other round to get that classic diagonal.
What is the difference between top-down and bottom-up raglan math?
Top-down starts at the neck and increases out to the underarm, so you can try on the yoke as you go. Bottom-up knits the body and sleeves first, then decreases up to the neck. Both use the same four raglan lines and the same gauge-driven stitch counts.
How much negative ease should a sock have?
Most socks use about 10% negative ease so they hug the foot and stay up. Measure foot circumference, subtract that ease, multiply by gauge, and round to a workable stitch multiple.
Do I need a swatch before using a cast-on calculator?
Yes. A blocked, washed swatch gives you the accurate stitches-per-inch the calculator depends on. Measure gauge first with the gauge calculator, because every cast-on, raglan, and sock number is only as good as that one input.