Guide · 8 min read · By the Pantryfy Team · June 2, 2026

What to Cook With the Ingredients You Already Have

What to cook with the ingredients you already have — how to turn a random pantry and fridge into real meals.

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 figuring out what it is before you give up and order takeout.

The traditional 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 something that needs capers and white wine, neither of which you have. You start over.

There’s a better way. It’s a combination of flexible cooking formulas that work with almost any ingredients and a system for tracking what you actually own so you can find matching recipes in seconds rather than minutes.


Six Formula Meals That Work With Almost Anything

These aren’t rigid recipes. They’re structures — a protein slot, a vegetable slot, a sauce or fat component, and a base. Fill the slots with what you have and you get a real meal every time.

1. Pasta With Whatever Sauce

Pasta is the most forgiving of all formula meals. The base is always the same. The sauce slot is where your pantry fills in.

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 anchor ingredients: any pasta shape, canned tomatoes, garlic, olive oil, parmesan, dried herbs.

2. Grain Bowls

Cooked grains (rice, farro, quinoa, barley) form the base. The rest is assembly.

  • 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

This is where odds and ends become intentional. That half block of tofu and the tahini jar from the opening scenario? Grain bowl with roasted chickpeas.

3. Soups and Stews

Soup is the most efficient use of vegetables that are about to turn. The formula: aromatics (onion, garlic, celery, carrot) sautéed in fat, then liquid (stock, water, canned tomatoes), then your main ingredient (lentils, beans, chopped vegetables, any grain), then seasoning.

Lentil soup, minestrone, white bean and greens, chickpea and tomato — these all follow the same 45-minute arc. Check your pantry dinners list for specific combinations that use common canned goods.

4. Frittata or Baked Eggs

Eggs are the most versatile pantry anchor there is. A frittata uses whatever vegetables, cheese, and herbs you have: sauté the filling, pour in beaten eggs, finish under the broiler. Eight minutes active, twelve minutes passive.

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

This works on two conditions: 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, adjust.

The protein and vegetable slots can hold almost anything cut small enough to cook fast. Tofu, chicken thigh, shrimp, beef strip, edamame. Broccoli, snap peas, bell pepper, bok choy, 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 once halfway.

Combinations that reliably work: sweet potato and chickpeas with cumin, broccoli and sausage with garlic, cauliflower and white beans with smoked paprika. The formula doesn’t care about the ingredients — it cares about the geometry and the heat.


The Pantry Anchors Worth Always Having

Every formula above pulls from a short list of shelf-stable ingredients that unlock dozens of combinations. 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 plus whatever fresh produce and proteins you buy weekly, the formula meals above will always have something to fill their slots.


Why Ingredient Search Tools Keep Falling Short

The tools that let you type in ingredients and search for recipes — Supercook, MyFridgeFood, and similar sites — are useful for discovery but have a structural problem: they require you to re-type your inventory every session. There’s no memory. You open the site, enter what you have, get results, close the tab. Next time, you start over.

The matching is also limited to binary yes/no ingredient presence. “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 actually helps is a system where your pantry is already tracked — so you don’t re-enter anything — and recipes are ranked by how much of each one you already own. That’s a different problem than ingredient search. It’s inventory-aware matching.


How a Tracked Pantry Changes the Equation

When your pantry is tracked continuously, the question “what can I make with these ingredients” answers itself. You don’t search for ingredients. You ask your inventory.

Pantryfy tracks your pantry with a barcode scanner, a receipt photo reader, manual autocomplete, or just telling the AI assistant what you bought in plain language. Once your ingredients are in, it matches them against recipes and ranks each one by pantry overlap — how many of the required 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.

This is different from ingredient-search tools in one important way: the inventory persists. You add a can of coconut milk when you buy it, and it stays on record until you use it. The matching happens against your actual current pantry, not a re-typed list.

You can save recipes from websites directly into Pantryfy using the URL import — paste a link and the recipe is parsed and stored. The same works with a photo of a cookbook page or a block of copied text. Once your recipe collection lives in the same place as your pantry data, the matching runs automatically. Check out the best recipe organizer app comparison if you’re looking at other options for storing your collection.


From Matching to Meal Plan

Finding one dinner is useful. Finding a week’s worth of dinners — in order of what needs to be used first, what you have the most ingredients for, and what fits different nights of the week — is where pantry-aware matching pays off most.

Pantryfy’s AI planner takes your pantry state and your saved recipe library and builds a weekly meal plan around them. It surfaces recipes where you have the highest ingredient overlap first, flags items that are expiring, and gives you a shopping list for what’s genuinely missing. The meal planning guide covers the full process if you want a walkthrough of how to think about structuring a week.

For households that want to run this on autopilot — drafting the plan and shopping list automatically each week without manual input — Pantryfy’s Autopilot feature (Pro and Family tiers) handles the full loop: planning, shopping list generation, and approval in one step. It also remembers your household between weeks, so the plans get more like yours over time — here’s how Pantryfy’s AI actually works.

If a saved recipe doesn’t match what you have, Pantryfy’s AI can search the web for recipes that match your pantry state and import them directly. You describe what you want to cook and what constraints you have, and it finds options and parses them into your library.

Auto-generated shopping lists group items by store section and account for what you already have, so you don’t buy duplicates. If you’ve used an AI grocery list app before, you’ll notice the difference immediately: the list starts from your pantry rather than 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 the store: scan barcodes or photograph your receipt. Pantryfy updates your inventory. Takes under two minutes.

On Sunday (or whenever you plan): open the planner, check which recipes have the highest pantry match, build a week around those. Add any missing items to the shopping list. Or let Autopilot do it.

On a random Tuesday with no plan: open Pantryfy, go to recipes, sort by pantry match. The top results are things you can make right now with what’s already on hand. Pick one.

When you use something up: mark it consumed or let the planner track it when you complete a meal. Your pantry stays accurate without manual auditing.

The formula meals in this article are a mental model for when you’re cooking without a saved recipe — when you’re improvising from what’s in front of you. The tracked pantry and recipe matching is what makes that improvisation systematic rather than stressful.


The Simplest Starting Point

If none of this feels automatic yet, start with the formula meals and one rule: before you shop, write down what you already have.

That list — even a rough one on 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 mental model becomes a tracked inventory, the tracked inventory enables recipe matching, and the recipe matching makes the question “what should I cook tonight” feel like a genuine option rather than a chore. The meal planning guide walks through how to build that habit from scratch if you want a structured approach.

The random pantry you opened at the start of this article — tofu, spinach, eggs, rice, lemon, tahini, chickpeas, pasta, coconut milk, lentils — contains at least six solid meals. The formula meals above can tell you which ones. A tracked pantry can tell you which ones you could make right now, without buying anything at all.