How to Convert a Recipe to Grams (Step by Step)

To convert a recipe to grams, convert every ingredient with its own weight — never one fixed number. A cup of flour is 120 grams, a cup of sugar 198 grams and a cup of butter 227 grams. Work line by line, leave counts such as eggs unchanged, convert the oven temperature last, and the recipe bakes as written.

Step 1: Convert a recipe to grams line by line, with each ingredient's own weight

For each line, find that ingredient's grams-per-cup weight — our grams in a cup chart lists 40 staples, and the Cups to Grams converter covers more than 130 — then multiply by the amount in the recipe. Two cups of flour is 2 × 120 = 240 grams. Half a cup of cocoa is 84 ÷ 2 = 42 grams. Tablespoons are the cup weight divided by 16, teaspoons by 48, so spoon measures come from the same number. Write the gram figure next to each original line rather than deleting it, so you can check your working later.

Round sensibly. For bulk ingredients — flour, sugar, liquids — the nearest gram or even the nearest 5 grams changes nothing. For small, powerful ingredients, stay precise: a quarter-teaspoon of salt or baking soda is only 1 to 3 grams, and rounding it away is exactly how converted recipes fail.

Step 2: Get flour right — the spoon-and-level rule

Flour is where conversions live or die, because it is the ingredient most sensitive to how the cup was filled. Published weights, including every value on this site, assume flour is spooned into the cup and levelled off with a knife — 120 grams for a cup of all-purpose flour. If the recipe's author scooped, their cup could have held 140 grams or more, and your converted recipe will come out slightly dry no matter how carefully you follow it. You cannot control the author's technique, but you can control yours: weigh the flour when you bake, and you remove the biggest variable.

Watch for the word "sifted": "1 cup sifted flour" was sifted before measuring, so it weighs less than the standard cup. The professional fix is to weigh out the standard chart weight first, then sift — the airy texture the recipe wants, at the correct weight.

Step 3: Treat liquids, fats and eggs correctly

Liquids tempt a shortcut — treating millilitres as grams — and it only half works. Water weighs 237 grams per cup and milk 245 grams, close to their volumes. Oil does not: a cup of vegetable oil is 237 ml but weighs 218 grams, and honey is far heavier at 340 grams per cup. Convert liquids by weight from the chart like everything else.

Butter often arrives in sticks: one US stick is half a cup, 113 grams, so "1 stick butter" converts straight to 113 g. Eggs are different again — they are counts, not measures. Leave "2 eggs" as 2 eggs. Only weigh eggs when a recipe demands it, using about 50 grams per large egg out of the shell. Leave unmeasurable lines — a pinch of salt, a handful of herbs, zest of a lemon — exactly as written.

Step 4: Convert the temperature — and round like an oven, not a calculator

The formula (°F − 32) × 5 ÷ 9 turns 350°F into 176.7°C, but no real oven is set to 176.7. Recipes are written in the standard settings ovens actually use, so round to the nearest familiar mark: 350°F becomes 180°C, 375°F becomes 190°C, 400°F becomes 200°C. If you bake with a fan oven, there is one more adjustment — fan ovens run about 20°C lower, which our guide to fan vs conventional ovens explains. The pan does not change when you convert units: a 9-inch round recipe still wants a 9-inch round.

A worked example: a simple vanilla cake

Here is the method applied to a typical American layer cake. Every gram figure comes from the ingredient's own chart weight — notice how different the multiplier is from line to line.

Original lineConvertedHow
2 cups all-purpose flour240 g2 × 120 g
1½ tsp baking powder7 g220 g per cup ÷ 48 × 1.5
½ tsp table salt2.8 g273 g per cup ÷ 48 × 0.5
1 cup granulated sugar198 g1 × 198 g
½ cup butter114 g227 g ÷ 2
2 large eggs2 eggsCount — unchanged
¾ cup whole milk184 g245 g × 0.75
1 tsp vanilla extract4.3 g208 g per cup ÷ 48
Bake at 350°F180°CRounded to the standard oven mark

Doing this for a 20-line recipe at 7pm is how arithmetic mistakes happen — which is why we built the Whole Recipe Converter to convert a whole recipe to grams in one paste, flagging any line it cannot match instead of guessing.

Going the other way: converting a recipe from grams to cups

Divide each gram weight by the ingredient's grams-per-cup figure to get cups: 240 g of flour ÷ 120 = 2 cups; 100 g of sugar ÷ 198 = about ½ cup. Expect awkward fractions — that is the nature of cups — and round bulk ingredients to the nearest familiar fraction while keeping leavening, salt and spices exact. Our grams to cups converter does the division and the rounding for every ingredient on the chart.

Common mistakes when you convert a recipe to grams

Using one number for everything. "1 cup = 240 g" shortcuts are only near water and milk. Applied to flour they double the flour, and the bake is doomed before the oven is on.

Forgetting that brown sugar is packed. A packed cup weighs 213 grams; a loose cup far less. Most American recipes mean packed even when they do not say it — use 213.

Converting the counts. Eggs, lemons for zesting, vanilla pods and bay leaves are counted, not weighed. Converting them adds error, not accuracy.

Rounding the small things. Rounding 240 g of flour to 250 g is harmless. Rounding 2.8 g of salt to "about a teaspoon-ish" is how a cake ends up tasting of the sea. Keep leavening, salt and spices precise; relax about the rest.

Frequently asked questions

What is the easiest way to convert a recipe to grams?

Paste the whole ingredient list into our Whole Recipe Converter. It converts every line at once using each ingredient's own published weight and converts Fahrenheit temperatures to Celsius in the same pass. Converting by hand works too, but for anything longer than five or six ingredients the converter is faster and avoids arithmetic slips.

Can I convert a recipe using 1 cup = 240 grams?

No — that shortcut is only roughly right for water and milk. Flour would come out doubled, because a cup of flour is 120 grams, not 240, and most bakes would fail. Every ingredient has its own density, so every line needs its own weight. Our grams in a cup chart lists the correct figure for 40 common ingredients.

How do I convert eggs to grams?

Eggs are counts, not cups, so most of the time you leave them exactly as written — 2 eggs stays 2 eggs. If you must weigh them, a large egg weighs about 50 grams out of the shell, roughly 30 grams of white and 20 grams of yolk. Weighing eggs matters most in recipes that already list them in grams, such as macarons and some enriched doughs.

Should I look up chart weights or weigh as I go?

Both work, and they agree when the recipe writer measured the standard way. Looking up the published weight is fastest when you are converting a whole recipe on paper before you start. Weighing is the most accurate route once you cook, because your scale measures your actual ingredient. Professionals usually convert once, write the grams on the recipe, and weigh from then on.