Help & Reference

Nutrition

Mirepoix renders an FDA-style nutrition label under each recipe, computed from your ingredient catalog and the recipe’s quantities.

The display is off by default. In Settings, turn on Display nutrition information under recipes to enable it kitchen-wide.

What gets measured

Mirepoix tracks 11 nutrients per ingredient. The label displays nine of them; the other two (trans fat, added sugars) are stored for future use but not rendered today.

Nutrient Unit Daily value
Calories
Total Fat g 78 g
Saturated Fat g 20 g
Cholesterol mg 300 mg
Sodium mg 2,300 mg
Total Carbs g 275 g
Fiber g 28 g
Total Sugars g
Protein g 50 g

Daily values follow the FDA’s 2,000-calorie reference diet. Each row on the label shows the per-serving amount and, where a daily value exists, the corresponding percentage.

How a recipe gets a label

  1. Each ingredient name is looked up in your ingredient catalog.
  2. The recipe’s quantity for that ingredient is converted to grams using the catalog’s volume conversion, per-item weight, or named portion.
  3. Per-gram nutrient rates are scaled by the gram total and summed across ingredients.
  4. The total is divided by the serving count to produce the per-serving values shown on the label.

The serving count comes from the Serves: front-matter line. If Serves: is absent, the integer part of Makes: is used instead. Makes: 12 pancakes divides by 12 and shows 1 pancake as the serving size.

The result is cached on the recipe. It refreshes when you save the recipe, when an embedded recipe’s nutrition changes, or when you edit a catalog entry the recipe uses.

What you’ll see on the label

Hover any ingredient in the recipe to see a tooltip with that ingredient’s contribution: calories, protein, fat, carbs, sodium, fiber.

Partial and missing data

The calculator sorts ingredients into three buckets, each surfaced in a footnote under the label.

A recipe with at least one ingredient that contributes positive nutrients shows a label, with the footnote naming any gaps. A recipe with no usable data shows nothing — even with the setting on.

Missing and partial ingredients share one footnote; skipped ingredients get their own. Names in the missing/partial footnote are tappable — tap one to open the nutrition editor for that ingredient. When you save, every recipe that uses it recomputes automatically.

Ingredients you don’t want counted

Some ingredients (water, ice, salt to taste) shouldn’t affect the totals. In the nutrition editor, turn on Omit from grocery list and nutrition data, and treat as always on hand. Omitted ingredients are stripped from the calculation before any unit conversion runs.

See also