Most tools tell you "eat 150g of protein" and leave you stuck. Pick the foods you actually eat, and this works out the exact grams of each to hit your protein, carb, and fat targets. Swap a food and watch the amounts recompute instantly.
For a complete food library, meal logging, and saved meals, that's a job for a dedicated nutrition app rather than a calculator.
You set a macro target — protein, carbs, and fat in grams — either by hand or by carrying over the numbers from the main calculator. Then you pick the foods you actually want to eat. The tool solves for the gram amount of each food that gets your totals as close as possible to the target, and updates the instant you add, remove, or swap a food.
The honest part: protein, carbs, and fat are coupled in real food, so a handful of items usually can't hit all three exactly. When that happens the tool shows the closest mix it can reach and tells you which macro fell short, rather than inventing a perfect answer. Add a food that supplies the missing macro — a fat source if fat is short, a starch if carbs are low — and the fit tightens.