The rules, in the order they run

1. Reading an amount

Only the start of an ingredient line is read. It can be a whole number, a decimal (1.5, or 1,5 with a comma), a fraction (1/2), a fraction character (½ ⅓ ¼ ⅕ ⅙ ⅛ and the others), a mixed number (1 1/2 or 1½), a range (2-3, 2 to 3, or the same with a long dash) or a number word from one to twelve. A bracket such as (14 oz) may follow. Then comes an optional unit: tsp, tbsp, cup, ml, l, g, kg, oz, lb, pinch, clove, can, slice or piece, in full or short, singular or plural. Anything else is text with no amount.

2. Scaling

The factor is the servings you want divided by the servings the recipe makes. When the recipe has no servings you choose a factor from 0.25 to 10 instead. Every amount is multiplied by the factor, and a range is multiplied at both ends. Units are never converted. A spelled out unit changes between singular and plural to fit the new amount (1 cup, 2 cups), and so does a short list of countable foods such as eggs and onions (1 egg, 2 eggs); a short unit such as tsp or g stays as written.

3. Writing the result

Metric amounts (ml, l, g, kg) are written as decimals: whole numbers from 10 up, one decimal below 10. Everything else, the US units and plain counts, is written as the nearest half, third, quarter or eighth when the result is within 0.02 of one, and with two decimals when it is not. A range is written with the word to: 4 to 6.

4. Lines that are not scaled

A line with no amount at the start, such as a pinch of salt, salt to taste or juice of 1 lemon, is left exactly as written and marked not scaled whenever the factor is not 1. A heading that ends in a colon is never marked. A bracketed equivalent such as (240 ml) and a second amount joined by plus (1/3 cup + 1 tbsp) are scaled with the first; a bracket with a number it cannot read, such as (about 240 ml), is left as written and the line says to check the bracket.

5. The shopping list

Lines with the same item words and the same unit are added together. Item words are lower case, with plurals folded (a trailing s, es, or ies to y), and anything after a comma is ignored, so tomatoes, chopped matches 1 tomato. Different units stay on separate lines. A ticked line is left alone. A line with no amount is listed once for each recipe it came from.

6. Due again

A recipe is due again when the average of its star ratings is 4 or more and its last cook was at least 6 weeks ago (a setting from 1 to 52). A cook with no stars still counts as a cook but adds nothing to the average. The most overdue come first, and at most 6 are shown.

7. The year in cooking

The card counts the cook logs dated in one calendar year. New recipes are those whose first cook log of all time falls in that year. The three most cooked titles are ranked by number of cooks, with ties going to the most recent cook. Best rated is the highest average stars among that year's rated cooks, then the most cooks. The busiest month is the one with the most logs, a tie going to the later month.

8. Durations in imported recipes

A prep or cook time such as PT1H30M becomes 90 minutes. A time that is not in that form, or is over 24 hours, is left blank and the review form says so.

Worked examples

Each line below is scaled by the factor shown, by the same code the recipe page uses.

As writtenFactorScaled
1 1/2 cups flour23 cups flour
½ tsp salt31 1/2 tsp salt
2-3 cloves garlic24 to 6 cloves garlic
200 g sugar1.5300 g sugar
1 egg0.51/2 egg
1/3 cup oil22/3 cup oil
a pinch of salt2a pinch of salt (not scaled)
1,5 l water23 l water

What it is not

To see this recipe box beside other recipe apps, with where each one keeps your recipes and the limits of each, read recipe apps compared.