The Real Problem With “What Should I Cook Tonight?”
You open the fridge. There’s half a block of tofu, some wilting spinach, a few eggs, leftover rice, a lemon, and a jar of tahini you bought three weeks ago. You open the pantry. Canned chickpeas, two kinds of pasta, a can of coconut milk, breadcrumbs, and a bag of red lentils.
Somewhere in that collection is dinner, probably a pretty good one. The problem is working out what that dinner is before you give up and order takeout.
The usual solution is to search for recipes based on ingredients you have. You type “chicken thighs spinach lemon” into a search engine, scroll through five blogs with long backstories, and eventually find a recipe that needs capers and white wine, neither of which you have. You start over.
A better way combines two things: flexible cooking formulas that work with almost any ingredients, and a pantry list you keep up to date, so you can find recipes that match what you own without searching from scratch.
Six Formula Meals That Work With Almost Anything
These aren’t fixed recipes. Each one is a pattern with four parts: a protein, a vegetable, a sauce or fat, and a base. Fill each part with what you have and you get a real meal every time.
1. Pasta With Whatever Sauce
Pasta is the most forgiving of these formula meals. The base is always pasta, and the ingredients in your pantry decide the sauce.
Tomato-based: canned tomatoes + garlic + olive oil + any protein (anchovies, canned tuna, ground meat, white beans). Simmer 20 minutes.
Cream-based: a splash of heavy cream or a spoonful of cream cheese + any vegetable (frozen peas, wilted greens, sautéed mushrooms).
Aglio e olio: garlic + olive oil + red pepper flakes + parmesan if you have it. Six ingredients, twelve minutes.
Pantry staples for pasta: any pasta shape, canned tomatoes, garlic, olive oil, parmesan, dried herbs.
2. Grain Bowls
Cooked grains (rice, farro, quinoa, barley) form the base. Then you add a protein, a vegetable and a sauce:
- Protein: fried egg, canned beans, leftover chicken, tofu, canned fish
- Vegetable: roasted anything, raw greens, pickled onion
- Sauce: tahini + lemon + water, miso + sesame oil + rice vinegar, yogurt + garlic
Grain bowls turn odds and ends into a planned meal. The half block of tofu and the jar of tahini from the fridge at the start of this article make a grain bowl with roasted chickpeas.
3. Soups and Stews
Soup is the most efficient way to use vegetables that expire soon. The formula: sauté aromatics (onion, garlic, celery, carrot) in fat, add liquid (stock, water, canned tomatoes), add your main ingredient (lentils, beans, chopped vegetables, any grain), then season.
Lentil soup, minestrone, white bean and greens soup, and chickpea and tomato soup all follow the same steps and take about 45 minutes. Our pantry dinners list has specific combinations that use common canned goods.
4. Frittata or Baked Eggs
Eggs are the most versatile pantry staple there is. A frittata uses whatever vegetables, cheese and herbs you have: sauté the filling, pour in beaten eggs, and finish under the broiler. It takes eight minutes of hands-on cooking and twelve minutes of hands-off cooking.
Baked eggs (shakshuka-style) work with a can of tomatoes and whatever spices you have: cumin, smoked paprika, chili flakes. Crack four eggs into the simmering sauce, cover, and cook until the whites set.
5. Stir-Fry
A stir-fry needs two things: high heat and a sauce. The sauce is almost always soy sauce + something sweet (honey, brown sugar) + something acidic (rice vinegar, citrus) + something aromatic (garlic, ginger). Mix a few tablespoons of each, taste, and adjust.
The protein and the vegetable can be almost anything cut small enough to cook fast. Proteins that work: tofu, chicken thigh, shrimp, beef strips, edamame. Vegetables that work: broccoli, snap peas, bell pepper, bok choy, or frozen vegetables straight from the bag.
6. Sheet-Pan Dinner
Cut vegetables and a protein into even pieces, toss with oil, salt and a spice you like, spread on a sheet pan without crowding, and roast at 425°F for 25–35 minutes. Flip everything once halfway through.
Combinations that reliably work: sweet potato and chickpeas with cumin, broccoli and sausage with garlic, cauliflower and white beans with smoked paprika. What matters is not which ingredients you use but cutting them to an even size and roasting them in a hot oven.
The Pantry Staples Worth Always Having
Every formula above uses ingredients from a short list of staples that combine in dozens of ways. These are the ones worth keeping stocked:
Canned goods: tomatoes (whole and crushed), chickpeas, white beans, black beans, lentils, coconut milk, tuna or sardines
Dried starches: pasta (two shapes), rice, any whole grain, breadcrumbs
Fats and condiments: olive oil, neutral oil, soy sauce, fish sauce, tahini, vinegar (rice and apple cider), hot sauce
Aromatics: garlic, onion, dried herbs (oregano, thyme, cumin, smoked paprika, chili flakes)
Freezer: frozen peas, frozen corn, frozen spinach, a protein (chicken thighs or ground meat)
With these staples plus the fresh produce and proteins you buy each week, you’ll always have something for each part of the formula meals above.
Why Ingredient Search Tools Keep Falling Short
Sites that let you type in ingredients and search for recipes (Supercook, MyFridgeFood and similar sites) are useful for finding new recipes, but they have a built-in problem: they make you retype your ingredients every time you visit. They don’t remember anything. You open the site, enter what you have, get results and close the tab. Next time, you start over.
Their matching also only checks whether each ingredient is present or not. “I have garlic” returns every recipe that contains garlic, including ones where garlic is ingredient 14 of 16 and you’re missing the other 15.
What helps is an app that already keeps track of your pantry, so you don’t re-enter anything, and ranks recipes by how many of their ingredients you already own. That’s a different job from ingredient search: the app matches recipes against the pantry you’ve saved.
How a Tracked Pantry Changes the Equation
When you keep your pantry up to date in an app, the question “what can I make with these ingredients” mostly answers itself. You don’t search by ingredient; you check your pantry.
You add groceries to Pantryfy by typing them in (autocomplete fills in the ingredient name), by telling the pantry chat assistant what you bought in plain words, or by scanning barcodes or photographing a receipt. Free includes 25 lifetime barcode scans and 10 lifetime image parses, and Pro and Family let you keep scanning after that. Pantryfy then matches your pantry against your saved recipes and ranks each recipe by pantry overlap: how many of its ingredients you already have, and which ones you’d need to buy. A recipe where you have 9 of 11 ingredients ranks above one where you have 3 of 14.
The important difference from ingredient-search sites is that Pantryfy remembers your pantry. You add a can of coconut milk when you buy it, and it stays in your pantry until you use it. Pantryfy matches recipes against your current pantry, not a list you retyped.
You can save recipes from websites straight into Pantryfy: paste a link, and Pantryfy saves the recipe, which you can then check and edit. Copied recipe text works the same way, and so does a photo of a cookbook page (on Free, recipe photos share the 10 lifetime image parses with receipt photos). Once your recipes and your pantry are in the same app, Pantryfy can work out how many of each recipe’s ingredients you already have. If you’re considering other apps for storing your recipes, read the best recipe organizer app comparison.
From Matching to Meal Plan
Finding one dinner is useful. Pantry matching pays off most when you plan a whole week of dinners, ordered by which ingredients expire first, which recipes you have the most ingredients for, and what fits each night of the week.
Pantryfy’s planner chat assistant suggests a week of meals from your saved recipes, shows how well each one matches your pantry, and points out ingredients that expire soon. You choose which meals go on your plan. Then you build the shopping list from the plan: it lists everything the recipes need and marks the ingredients already in your pantry. The meal planning guide covers the full process if you want a walkthrough of how to plan a week.
If you’d rather not plan each week yourself, Autopilot (Pro and Family) drafts a meal plan and shopping list on a schedule you set. You look over the draft and approve it before it goes on your meal plan. Autopilot can carry guidance your household has chosen to save from one week to the next (here’s how Pantryfy’s AI actually works). Between scheduled drafts, when ingredients in your pantry are about to expire, Autopilot drafts a plan that uses them up for you to review. On Free, you still get a notification when pantry food is about to expire (more on expiry alerts).
If none of your saved recipes matches what you have, Pantryfy can search the web for recipes that use the ingredients in your pantry and import them (web recipe search is a Pro and Family feature). You describe what you want to cook and any limits, such as time or diet, and Pantryfy finds recipes and saves the ones you pick to your collection. If nothing online fits, it can write a new recipe within those limits instead.
A shopping list built from your meal plan is grouped by store section and marks each ingredient that’s already in your pantry, so you can spot duplicates before you buy them. If you’ve used an AI grocery list app before, the difference is that Pantryfy checks the list against your pantry instead of starting from a blank slate.
Putting It Together: A Practical Workflow
Here’s how this works in practice across a week:
When you get home from a grocery trip: type the groceries in or tell the pantry chat assistant what you bought. You can also scan barcodes or photograph your receipt (Free includes a starter allowance of each). Pantryfy adds the groceries to your pantry. It takes under two minutes.
On Sunday (or whenever you plan): open the meal planner, check which recipes have the highest pantry match, and plan the week around those. Then build the shopping list from the plan to see the ingredients you’re missing. On Pro and Family, Autopilot can draft the week for you to review instead.
On a random Tuesday with no plan: open Pantryfy, go to your recipes and tap “Can make now” to see the saved recipes whose ingredients are all in your pantry. Check the amounts before you start, because the filter checks which ingredients you have, not how much of each. If you’d like suggestions instead, “What can I cook?” also takes into account the taste profiles your household has filled in (how taste profiles work), so keep those profiles up to date.
When you use up an ingredient: update it in your pantry or tell the pantry chat assistant you used it up. When you mark a planned meal as cooked, Pantryfy takes that recipe’s ingredients out of your pantry for you. Either way, your pantry stays accurate without a full recount.
The formula meals in this article help when you’re cooking without a saved recipe and improvising from what’s in front of you. Tracking your pantry and matching it to recipes makes that improvising less stressful, because you know what you have before you start.
The Simplest Starting Point
If this feels like a lot, start with the formula meals and one rule: before a grocery trip, write down the ingredients you already have.
Even a rough list in a notes app changes what you buy. You stop buying a third can of diced tomatoes when you already have two. You notice the red lentils you forgot were there and plan a soup around them.
Over time, that list can become a tracked pantry. A tracked pantry lets an app match recipes to what you have, and recipe matching turns “what should I cook tonight?” from a chore into a choice between real options. The meal planning guide walks through how to build that habit from scratch if you want a structured approach.
The fridge and pantry at the start of this article (tofu, spinach, eggs, rice, lemon, tahini, chickpeas, pasta, coconut milk, lentils) hold at least six solid meals. The formula meals above show you what they are. A tracked pantry shows which ones you could make right now, without buying anything at all.
Find tonight’s dinner in Pantryfy
Add a few groceries to Pantryfy, then open “What can I cook?” on your recipes page and type what you want, for example “a quick dinner with the eggs and spinach”. Pantryfy suggests saved recipes that use the ingredients in your pantry. Read the recipe through before you start cooking, so you know it fits your evening. If you already use ChatGPT or Claude, you can also connect that assistant to the same pantry.