Spaghetti Portion Calculator
Dry pasta mass from servings and the grams per serving you set, with a cooked estimate and the bags to buy.
What the spaghetti portion calculator does
It multiplies the servings you are cooking by the dry grams per serving you set, then reports the cooked estimate and, when you give a bag size, the bags to buy. Dry mass = servings × the grams per serving; cooked ≈ dry × the cooked-weight factor; bags = the dry mass divided by the bag size, rounded up.
Four servings at 80 g is 320 g of dry pasta, about 704 g cooked at a factor of 2.2, and one 500 g bag. The grams per serving are yours: an 80 g portion is a common starter and a 120 g one is a hungry table, and the page takes the number you are actually cooking rather than choosing for you.
The cooked figure is an estimate because water uptake depends on the pasta's shape, the water and the bite; 2.2 is a midpoint and the factor is a control. Servings are a whole number from 1 to 1000, the dry mass per serving is taken from 20 to 250 g, the cooked factor from 1 to 5, and a bag size of 0 skips the bag line rather than dividing by zero. A negative bag size, a fractional serving count and a total over 100 000 g are refused by name.
Figures print to up to four decimal places with trailing zeros trimmed.
How to use it
Set Servings to the number of people you are cooking for and Dry grams per serving to the portion you want.
Set the Cooked-weight factor if you want the cooked estimate, and Bag size to the bag you buy; 0 leaves the bag line out.
Press Run. The result prints the dry mass, the cooked estimate and the bags.
Worked example
Input with the defaults:
4 servings, 80 g each, factor 2.2, 500 g bags
Output:
Dry mass: 320 g (0.32 kg)
Cooked est: 704 g (2.2 × dry)
Bags: 1 at 500 g per bag, rounded up
Why it runs in your browser
The multiplication and the rounding run in this tab. Your portion sizes are never uploaded.
It multiplies the servings you are cooking by the dry grams per serving you set, then reports the cooked estimate and, when you give a bag size, the bags to buy.
Four servings at 80 g is 320 g of dry pasta, about 704 g cooked at a factor of 2.2, and one 500 g bag. The grams per serving are yours: an 80 g starter portion and a 120 g hungry portion are both one number away.
The dry mass is the purchase figure and the cooked mass is an estimate, because water uptake depends on the pasta, the water and the bite.
Dry mass is the purchase figure
Pasta is sold by dry mass, so the dry figure is the one that answers how much to buy. The page multiplies the servings by the grams per serving and prints the total in grams and kilograms, then divides by the bag size and rounds up, because half a bag is not on the shelf.
Servings are a whole number from 1 to 1000 and the dry mass per serving is taken from 20 to 250 g. A fractional serving count and a negative bag size are refused by name rather than rounded silently.
The cooked factor is an estimate
Dry pasta takes up water as it cooks, so the cooked mass is larger; the factor is a control because the uptake depends on the shape, the cooking water and how long it stays in it. 2.2 is a midpoint, and the page says the cooked figure is an estimate rather than a promise.
A bag size of 0 skips the bag line instead of dividing by zero, so a visitor who only wants the mass is not forced to invent a bag.
How to use Spaghetti Portion Calculator
Set Servings to the number of people you are cooking for and Dry grams per serving to the portion you want.
Set the Cooked-weight factor if you want the cooked estimate, and Bag size to the bag you buy; 0 leaves the bag line out.
Press Run. The result prints the dry mass, the cooked estimate and the bags.
What to Expect
Best for
- Turning a table size into a dry pasta mass
- Checking how many bags a meal needs
- Estimating a cooked weight for a serving plan
Not ideal for
- Choosing a portion size, which is a preference
- A cooked weight to the gram, which depends on the pasta
- Fresh pasta, whose water content differs from dry
What this tool keeps
- The servings, the grams per serving, the factor and the bag size
- The dry mass, the cooked estimate and the bag count
What may need cleanup
- A portion measured in cups, which has to become grams
- A bag quoted in pounds, which has to become grams
Common errors
- Using the cooked mass as the amount to buy
- Forgetting that a bag count is rounded up
Example use cases
- Cooking for four at 80 g a portion
- Buying pasta for a week of meals
- Estimating a cooked weight for a menu
Sample input
4 servings at 80 g dry each, a cooked factor of 2.2 and 500 g bags.
Sample output
320 g of dry pasta, about 704 g cooked, and one 500 g bag.
Who this is for
- A home cook scaling a pasta meal
- Anyone buying pasta for a known number of servings
Frequently asked questions
Why is the cooked weight an estimate?
Because dry pasta absorbs water at a rate that depends on the shape, the cooking time and how much water it drains with. The factor you set is a midpoint, and the page labels the cooked line an estimate rather than a measurement.
Can I use this for fresh pasta?
The arithmetic works, but the masses do not transfer: fresh pasta already contains water, so a dry-mass portion is larger than the fresh mass a person eats. The page is written for dry pasta and says so.
Why does the bag count round up?
Because a shop sells whole bags. 320 g against 500 g bags is one bag, and 540 g is two; the page rounds up and prints the bag size it used so the count can be checked.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.