Guides

How does logging food in OnMacros work?

By OnMacros editorialUpdated November 20, 20265 min read
How does logging food in OnMacros work? title card

Logging in OnMacros is a four step path: you say what you ate, the AI turns that into foods and amounts, the app looks each food up in a database, and the macros land on your day. The AI does the understanding and the database supplies the numbers.

Step 1: you tell it

You can speak, send a photo of the food on the kitchen scale, or type a quick message. Something like "two eggs, a slice of toast and 150 g of yogurt" is enough. You do not fill in forms, pick from a list of twenty lookalike entries or scroll a menu.

A photo of the scale works because the number on the display is the amount. A photo is a way of saying "this much of that". Weighing is still the most accurate way to know an amount, and a scale reading in a photo carries it into the log without typing.

Step 2: the AI reads the meal

The AI turns your words or picture into a short list of foods with amounts and a meal, for example breakfast. It also works out the day. If you are looking at yesterday, the entry goes to yesterday.

Where something is missing, it asks. If you name a food but no amount, the entry is kept as waiting for a quantity and the app asks how much. It does not guess a portion and write it down as fact.

Step 3: the lookup

Each food is matched to a record in the food database. The values for that record are what get counted, not anything the AI remembers. The previous articles in this series describe where those records come from. USDA FoodData Central documents what its data types contain, and OnMacros also reads Open Food Facts for packaged products.

The AI chooses among real candidates returned by the search. It does not make up a food. If nothing fits, it says so, and you can add the food as your own record.

For a packaged food, the label is the reference. The FDA's guide to the Nutrition Facts label points out that the number of calories and the nutrient amounts refer to one serving, and that the number of servings in the package matters. In its example, a serving of lasagna has 280 calories, but the package holds 4 servings, so eating the whole package is 1,120 calories. The same arithmetic applies when you log: say how much you ate in grams or in servings, and the amounts scale from there.

Step 4: the day updates

The entries are written to your day and the totals move. You see what you have eaten, what is left against your target, and how protein, carbs and fat compare. If you planned a meal in advance, the entry begins as planned. When you eat it, you mark it eaten and it counts.

That planned versus eaten line is what makes it possible to ask for a plan and still log what you actually did. A plan is a proposal. The log is what happened.

What the AI is not doing

It is not calculating the macros. It is also not deciding whether your day is good or bad. The AI parses and routes. Arithmetic is code that runs on the stored values, which means the same entry gives the same answer every time.

Correcting things

Mistakes happen, and fixing them should be quick:

  • Tap an entry on the day screen to change its amount.
  • Delete an entry that should not be there.
  • Tell the chat what to correct, in plain words. It edits the entry you mean, and changes only what you named.

One safeguard: if you ask in chat to log something and the same food is already on that meal, the app checks with you before adding a duplicate. A person adding an entry by hand from the day screen is never second guessed.

A sample exchange

Say you type: "Lunch was 180 g chicken breast, 80 g dry rice and some broccoli." The AI reads three foods, two with amounts and one without. It matches chicken breast and uncooked white rice to records, logs those two to lunch and asks how much broccoli. You answer "150 g". The broccoli entry gets its amount, the totals move, and the day shows what is left for dinner.

Notice what did not happen. Nobody typed a calorie figure, and nobody opened a menu of similar foods. You gave amounts in grams, the app supplied the values, and the only question was the one piece of information that was missing.

Habits that keep the numbers good

  • Weigh when you can and say the number.
  • Name the state of the food. "Raw chicken" and "cooked chicken" are different records, which the article on raw and cooked weights covers.
  • Log as you go rather than at the end. Memory fades quickly and the last meal is the one the planner needs most.
  • Say when you ate something off plan. The point of a log is to be true.

Summary

  • You speak, snap or type.
  • The AI reads the meal and asks for what is missing.
  • The app looks each food up and counts the stored values.
  • Your day updates, and you can correct anything.

The result is a log you can trust, because every number in it came from a record you can inspect.

Questions

What happens if I forget to say how much?

The entry is held as waiting for an amount, and the app asks how much. It does not invent a portion and write it down as fact.

Can I fix an entry the AI got wrong?

Yes. Change the amount or delete the entry from your day, or tell the chat what to fix. An edit to a meal you planned keeps it as planned until you mark it eaten.

Are the photos I send stored?

A food photo is stored privately under your account, and only a signed in request for your own account can open it. Nothing about it is public.

Will it log the same food twice if I repeat myself?

In chat, when you already have the same food at the same meal, the app asks before adding it again. A manual add from the day screen is yours to make as often as you like.

Sources

More guides