---
url: https://docs.trackalizer.de/en/areas/nutrition.md
description: >-
  Food diary, foods, recipes and dishes, daily goals and Open Food Facts: the
  nutrition area of Trackalizer.
---

# Nutrition

In the nutrition area you keep your food diary, manage foods, recipes and dishes and set your
daily goals. At the top are the tabs **Day · Week · Month · Foods · Goals**. In the app they are
**Diary · History · Foods**.

## The day

The day view shows one day, today unless you pick another. Switch days with the arrows.

* **Targets at the top:** calories large with "left" or "over", below them protein, carbs and fat.
  Amber means over the target. Further nutrients such as sugar, fibre and salt fold out.
* **Breakdown:** tapping the calories or a macro shows which meal it comes from, and within each
  meal the entries by their share.
* **The meals:** breakfast, lunch, dinner, snacks and drinks, each a card with its entries, the
  kcal and the macros ("P 52 · C 70 · F 14").
* **Cost:** when Trackalizer knows prices from your receipts or entered by hand, the day's cost is
  shown, also per meal and entry. "n foods without a price" folds out the foods without one, each
  with **Enter price**.

## Logging food

**Add** on a meal opens the dialog (full screen on the phone):

1. **Search.** Without input you see **Recent**, **Favourites**, **Recipes** and **Dishes**. While
   you type, Trackalizer searches your foods and everything fetched from Open Food Facts before.
   8 to 14 digits count as a barcode.
2. **Search Open Food Facts.** The button or Enter asks the free food database
   [Open Food Facts](https://world.openfoodfacts.org/). This only happens on request, because
   Open Food Facts limits the number of requests.
3. **Choose the amount:** in grams or millilitres, in servings or as a pack. The preview updates
   live.

The dialog stays open ("n added"), so you can log several foods in a row. **Done** closes it. The
star in the amount step marks a food as a favourite.

In the app the dialog also has **Barcode** (camera), **Quick** and **AI estimate**.

### Quick add

**Quick add** logs something without a food: a name, the kcal and optionally the macros. Handy
when you only know the calories.

### Estimate with AI

With [AI set up](https://docs.trackalizer.de/en/start/first-steps.md#setting-up-ai-optional) there is **Estimate with AI**: a
photo of the dish, a short description or both, such as "large portion of spaghetti bolognese with
parmesan". The AI suggests the components with grams and nutrients. You review the list, change
names and grams (the values follow), remove what does not fit, and then log one entry per
component. "Also save as a dish" keeps the combination for later.

### Changing entries

* Tapping an entry changes amount and meal, for quick entries and estimates also name and values.
  The bin deletes it after asking. In the app a long press deletes too.
* **Copy** on a meal takes over entries of another day or meal. Preset is the same meal yesterday,
  with all entries selected.

Entries keep their values: if you change or delete a food later, your diary stays as it was.

## Foods

Under **Foods** you find **Favourites**, **Own**, **Recipes** and **Dishes**, plus **Open Food
Facts** for products you can report there (see below).

### Your own foods

If Open Food Facts does not know a product or its values are wrong, create it yourself: **Create
your own food** in the add dialog or on the Foods page.

* Name, brand and barcode (both optional), whether the values are per 100 g or per 100 ml, the
  nutrients as printed on the pack. Empty fields count as unknown.
* A serving, such as "1 slice" with its size, and the pack size for prices from receipts.
* **Photograph nutrition label** (with AI) fills name, brand, values and serving from a photo of
  the label. Check the values before saving.

With the same barcode your own food wins: the next scan finds your values instead of Open Food
Facts'. In the app the amount step offers **Values wrong? Create your own version** for this.

Other accounts' own foods on your instance show with "by …". You can use them; only their creator
can change them.

### Recipes

A recipe is home cooking from several ingredients. It is eaten as one entry, in servings or
grams. **New recipe** on the Foods page:

* Name, number of servings and optionally the weight after cooking. Cooking changes the water, not
  the nutrients. With the cooked weight the values per 100 g match what is in the pot.
* Ingredients from the same search as when logging. The values per serving update live, and from
  your receipt prices so does the cost per serving.

You edit recipes in the browser. In the app you log them like any food.

### Dishes

A dish is a saved combination, for example a döner or yoghurt with fruit. Unlike a recipe, its
parts land in the diary one by one when you log it.

* **Save:** the bookmark on a meal ("Save as dish", in the app "As dish") stores the selected
  entries under a name. The AI estimate offers this too.
* **Log:** dishes are listed in the add dialog under **Dishes**, and matching ones show above the
  foods while you type. A factor logs more or less (1 = as saved).
* **In the diary** the parts sit indented under a heading with the dish's name. The heading's bin
  deletes the whole dish; you change and delete single parts like other entries.
* **Edit** on the Foods page under **Dishes**: name, add parts, change their size or remove them.
  Optionally enter a **price paid**, for example for a döner you bought. It then counts instead of
  receipt prices. **Duplicate** copies a dish, also one of another account, for example to swap a
  part.

## Goals

Under **Goals** you set what a day is measured against. A new goal applies from today; past days
keep the goal valid then.

### Manual

Four fixed numbers: calories, protein, carbs and fat. No body data needed.

### Automatic

Trackalizer computes the daily target every day from your body data (**Profile → Body data**) and
the latest weight measured:

1. **Basal metabolic rate** with the chosen formula: Mifflin-St Jeor (default), Harris-Benedict or
   Katch-McArdle. The latter needs your body fat.
2. **Total expenditure** from your activity, either
   * with the **factor** from your profile (from sedentary to very active),
   * from **measured active calories** from Polar or Health Connect. Fitness watches tend to
     estimate generously, so you count only a share (100, 75 or 50 %, default 75 %). Today uses
     the average of the last 7 days, or more as soon as a training takes you above it,
   * **from your data (adaptive):** from your intake and weight trend over the last 12 weeks. This
     needs 14 fully logged days and 3 weighings spanning at least 14 days; until then the factor
     applies. The box "Expenditure from your data" always shows the estimate, also for
     comparison.
3. **Lose or gain** at a pace in kg per week. The target never drops below the lower limit, the
   basal metabolic rate unless you set one. The page says when the pace cannot be fully reached
   because of it.
4. **Macros:** protein in g per kg of body weight (default 1.8), fat as a share of the kcal
   (default 30 %), carbs get the rest.

The page shows the calculation live: basal metabolic rate, total expenditure, deficit or surplus,
daily target.

### Weekend extra

With **Weekend extra** Saturday and Sunday get more kcal and Monday to Friday give it up together.
The week's target stays the same. Example: an extra of 400 kcal means 160 kcal less on each
weekday. Below the day's targets you then see the split ("Weekend: +400 kcal") and, from Tuesday
on, how the week is going so far and how much fits into today for the week to work out.

## Week and month

* **Week:** seven bars with the kcal and a dashed line for each day's target.
* **Month:** a calendar with coloured days.

The colours: on target (±10 %) teal, above amber, well below blue. Days not logged stay without a
colour; today counts as "in progress". Clicking a day opens it.

Below are statistics over the finished, logged days: days on target, average kcal against the
average target, the energy balance against the estimated expenditure (converted to kg of body
fat), the weight change, average macros and the cost.

## Bringing your data: MyFitnessPal

Under **Profile → Connections → MyFitnessPal** you bring over your history from a MyFitnessPal
export (ZIP from "Export data", needs Premium; MyFitnessPal sometimes refuses long ranges, two years
work).

* MyFitnessPal only exports the **totals** per day and meal, no single foods. They become quick
  entries "MyFitnessPal" in the diary.
* Weighings, steps and trainings come along.
* Before importing you see what is new, what is already there and what is skipped, and you can
  deselect parts. Importing again updates instead of doubling. Days on which you already have your
  own entries in Trackalizer stay untouched.
* **Remove import** deletes everything from this import again.

## Improving Open Food Facts

If you created your own food with a barcode because Open Food Facts lacks it or has other values,
you can report it there, so everybody benefits.

1. Under **Profile → Connections → Open Food Facts** enter your Open Food Facts account (user name,
   not the email) and test the sign-in.
2. **Foods → Open Food Facts** lists your products with what is ready for reporting and what is
   still missing. A new product needs photos of the front and the nutrition table; for a
   correction a photo of the nutrition table helps.
3. When you scan such a product, the app asks for the missing photos while it is in your hand.
4. Sending is done in the browser: your values sit next to Open Food Facts', and only the ticked
   fields that differ are sent. Nothing goes out without your confirmation.

Once Open Food Facts has your values, Trackalizer offers to delete your own food. Your diary
entries keep their values. At Open Food Facts the values are under the ODbL licence and the photos
under CC BY-SA, each under your account's name.
