Turn a recipe into a shopping list
You need 600 g of rice for eight servings and already have 180 g. What goes on the shopping list? If rice comes in 500 g packs, one pack is enough. You’ll have 80 g left after cooking.
Give the AI three figures per ingredient
Take the original quantity from the recipe, weigh what’s in your cupboard and read the pack size from the label. For eight servings instead of three, multiply each recipe quantity by 8/3. Subtract what you have. If there’s a shortfall, divide it by the pack size and round up to a whole number of packs.
You need 400 g of lentils and have 450 g. Buy none and keep the remaining 50 g. Your full shopping list is one pack of rice, two packs of tomatoes and two packs of flatbreads.
Try your own quantities
Weigh the contents of opened packs too. If your shop sells loose rice by weight, the purchase changes: in this example you can buy exactly 420 g. The prompt below assumes equal servings, uncooked ingredients and one fixed pack size per ingredient.
Prompt with fictional sample data
A recipe serves three. Make a shopping list for eight people using the fictional data below. Allow one serving per person. For each ingredient, calculate how much the recipe needs for eight, how much is missing after using what is on hand, the smallest number of whole packs to buy and how much will remain after cooking. Show your working. All weights are for uncooked ingredients. Ingredient | Amount for three | On hand | Amount per pack Rice | 225 g | 180 g | 500 g Lentils | 150 g | 450 g | 250 g Tomatoes | 300 g | 150 g | 400 g Flatbreads | 3 pieces | 2 pieces | 3 pieces