---
name: convert-recipe-cups-by-ingredient
description: "Convert cup and spoon measures in a recipe to grams using ingredient-specific weights, and flag lines that cannot be converted safely. Use when someone asks for cups to grams, wants to weigh a US or Australian recipe instead of using measuring cups, or asks what a cup of an ingredient weighs."
license: CC-BY-4.0
metadata:
  author: Raq.com
  version: "2026-11-22"
  homepage: https://skills.raq.com/skills/convert-recipe-cups-by-ingredient
---

# Convert recipe cups to ingredient weights

Replace cup measures with grams using the right ingredient, preparation and chart, leaving unsupported conversions visible.

## When to use this skill

- A US recipe lists flour, sugar, butter or nuts in cups and the person wants to weigh them in grams.
- An Australian or other metric-cup recipe needs converting, or someone wants millilitres for their own measuring jug.
- Someone asks what a cup of a particular ingredient weighs.

## When not to use it

- Scaling the recipe up or down. Convert first, then use the recipe resize skill.
- Measuring infant formula or medicines. Follow the manufacturer's scoop or the prescriber's instructions, not a kitchen conversion.
- Working out nutrition or allergen content from the converted weights. Use the product labels or a nutrition database.

## What you need

- Original recipe measurements, cup convention and ingredient descriptions including packed, sifted, chopped or whole.
- The recipe author's gram equivalents or a compatible ingredient-specific reference chart and any intended scaling.

## Ask before you start

If any of these are missing or unclear, ask before doing the work.

- Which country is the recipe from, or what cup and spoon sizes does it state? Australian recipes use a 250 mL cup and a 20 mL tablespoon; a US customary cup is slightly smaller.
- How is each ingredient described: packed, sifted, chopped, whole, melted or softened? Each form has its own weight per cup.
- Does the recipe author give gram weights or say how they filled the cup? Those take priority over a general chart.

## Method

1. Identify the cup and spoon convention from the recipe's country or its stated sizes. Do not apply a chart written for one cup size to a recipe written for another without converting the volume first.
2. For each line, choose the weight basis in this order: the recipe author's own gram weight for that recipe, then a reference entry that matches the ingredient, its form (packed, sifted, chopped, whole) and the cup convention. Record the basis used for each line.
3. Normalise the chosen entry to grams per cup before multiplying. A row quoted per half-cup or per tablespoon must be scaled first: 43 g per ½ cup is 86 g per cup. Keep fractions exact until the final figure, then round to one decimal gram.
4. Leave a line unconverted when no matching entry exists. Do not borrow a weight from a different form of the same ingredient, and do not treat millilitres as grams for a powder, solid or oil unless the person supplies a weight or density.
5. When millilitres are requested, use the recipe's own cup or spoon size: two Australian tablespoons are 40 mL. A known volume can be reported even when its weight is unknown.
6. Keep an ingredient that appears twice in different forms as separate lines, and for every unconverted line say what would let it be weighed: an author's weight, a matching chart entry or the packet's weight per cup.

## Checks before you deliver

- A US cup is a measure of volume. Different ingredients occupying a cup can have very different masses.
- Packed brown sugar and loose sugar may not match the same conversion.
- Reading a per-half-cup row as per cup halves the weight: ¾ cup of sliced almonds at 43 g per ½ cup is 64.5 g, not 32.25 g.
- Taking an Australian tablespoon as 15 mL under-measures by a quarter; it is 20 mL.
- Using a chopped-nut weight for whole nuts. King Arthur lists chopped walnuts at 113 g per cup and whole walnuts at 64 g per half cup.

## How to present the result

Give the converted ingredient list first, in recipe order, with grams beside the original measure ('1½ cups plain flour: 180 g'). Mark each line's basis (author's weight or which chart). Then list any line left unconverted with exactly what is needed to weigh it, and say which cup convention was used.

## Worked example

**Request:** Convert these US cup measures to grams.

**Supplied material:**

```text
Chart: plain flour 1 cup = 120 g; sliced almonds 1/2 cup = 43 g. A: 1.5 cups plain flour. B: 3/4 cup sliced almonds. C: 1/4 cup whole almonds, reference unavailable.
```

**Answer:** Weigh out 180 g of plain flour and 64.5 g of sliced almonds. Keep the whole almonds at ¼ cup until you have a weight for whole almonds.

## Structured output for tests

For an ordinary job, answer in the format above and point back to the supplied evidence. Use this structure only for the test cases published with this skill, or when someone asks for structured JSON.

Return grams keyed by line ID (number rounded to one decimal, or null), and unsupported as unmatched line IDs in input order. Use the supplied conversion chart for tests and prefer an author's explicit weight for that recipe when both exist. If millilitres are requested, also return volume_ml keyed by the lines requested in volume, using null when the source convention is unresolved.

## Sources

- [King Arthur Baking: ingredient weight chart](https://www.kingarthurbaking.com/learn/ingredient-weight-chart): Gives volume-to-weight equivalents for each ingredient and form (packed brown sugar, chopped and whole nuts, flours), some per cup and some per half cup, and tells readers to go by the weight in the recipe where it differs. The skill's matching and normalising steps follow this chart's layout.
- [Illawarra Shoalhaven Local Health District (NSW Health): metric cup and spoon measurements](https://www.islhd.health.nsw.gov.au/sites/default/files/Health_Promotion/Cookbooks/Baby_Toddler_cookbook.pdf): The cookbook's cooking tips table lists 1 metric cup as 250 mL, 1 tablespoon as 20 mL and 1 teaspoon as 5 mL for its Australian recipes. This is the basis for the Australian spoon conversion.
- [NIST: culinary measurement tips](https://www.nist.gov/pml/owm/culinary-measurement-tips): The US measurement authority recommends weighing ingredients with a kitchen scale for accuracy, notes that customary measures differ between countries and that metric cups are slightly larger than US customary cups, and warns against using dry cups for liquids.

Test cases and an answer checker for this skill: https://skills.raq.com/skills/convert-recipe-cups-by-ingredient
