Scale recipe ingredient quantities

Multiply leading ingredient amounts by the ratio between desired and original servings.

freeworks offlinenothing uploaded
ToolRecipe Scaler
Input
Output
Put this on your own site

The frame below runs the same code as this page, in the reader's own browser. Nothing is sent to us, and nothing is sent to you.

Pick a dark background and the text and panels follow it, so the frame stays readable on a dark page.

Preview

How it works

Desired servings ÷ original servings forms one factor applied to a leading integer, decimal, fraction, or mixed fraction on each line. Results are rounded to at most three decimals, while units and ingredient wording remain untouched.

Formula
scale factor = desired servings ÷ original servings
  • Both serving counts are required and no unit conversion occurs.
  • Non-numeric instruction lines remain verbatim.

Worked example

Doubling a recipe for four
Every amount at the start of a line is scaled, the rest of the line is left alone
Input
											Ingredients: ["200g flour","1 1/2 cups milk","3 eggs"]
From: 4
To: 8
										
Output
												400g flour
3 cups milk
6 eggs
											

When to use this

Family dinners double from four to eight servings, cakes halve ingredient weights, and catering batches use non-integer serving ratios.

Edge cases

  • “Salt to taste” has no leading amount and remains unchanged instead of receiving a fabricated quantity.
  • “2–3 chillies” is a range rather than one supported number; rewrite its intended guidance before scaling.
  • Eggs and packaged items may become fractional after scaling because quantities are not silently rounded to purchasable units.