← All blog posts

Cooking Converter formula — how it actually works

WhiteUI · A plain-English guide to the Cooking Converter

Every answer on the Cooking Converter comes from the same two-step formula. First the tool changes your number into millilitres. Then it changes those millilitres into grams using the weight of one cup of your ingredient. There is no separate formula for each pair of units — one route handles them all, in both directions.

volume in ml = value × ml per from-unit
weight in grams = ml × grams per cup ÷ 240
1 cup = 240 ml, 1 tablespoon = 15 ml, 1 teaspoon = 5 ml

At a glance

1 cup of sugar = 200 g200 gOut of 400 g2 cups of sugar = 400 g
One cup of sugar weighs 200 grams, so two cups weigh 400 grams.

The numbers the tool uses

Each unit has one size in millilitres: a cup is 240, a tablespoon is 15, a teaspoon is 5 and a millilitre is 1. Each ingredient has one weight per cup: flour 120 grams, sugar 200, butter 227, water 240, milk 240, oats 90 and cocoa powder 100. Those two sets of numbers are all the tool needs.

Worked example: 4 tablespoons of flour to grams

Step one, to millilitres: 4 × 15 = 60 millilitres. Step two, to grams: 60 × 120 ÷ 240 = 30 grams. The same two steps work in reverse: 250 grams of flour becomes 250 ÷ 120 × 240 = 500 millilitres, and 500 ÷ 240 = 2.08 cups.

Why millilitres sit in the middle

Millilitres are the natural bridge because the spoon and cup sizes are simple in millilitres: 1 cup is exactly 240, 1 tablespoon is exactly 15 and 1 teaspoon is exactly 5. Using one middle unit also means a new ingredient only needs one number added — its grams per cup — rather than a formula for every pair it could convert to.

The common mistake

People use a metric cup of 250 millilitres instead of the 240 millilitres this tool uses. That makes one cup of flour weigh 125 grams instead of 120, and over 4 cups the error grows to 20 grams (500 grams instead of 480). Stick to 240 millilitres per cup and the formula stays exact.

Frequently asked questions

What is the Cooking Converter formula?

Convert to millilitres first (millilitres = value × millilitres per unit), then grams = millilitres × grams per cup ÷ 240.

How many grams are in a cup of flour?

120 grams. A cup is 240 millilitres, and 240 × 120 ÷ 240 = 120.

How many grams are in a cup of butter?

227 grams. A cup of butter is 240 millilitres, and 240 × 227 ÷ 240 = 227.

Why does the tool use 240 ml per cup?

That is the US cup this tool is built on. A metric cup is 250 ml, which would give different answers, so check which cup your recipe means.

More guides on the Cooking Converter

Try it yourself

Try the Cooking Converter — free, in your browser.

Open the Cooking Converter