LogMeal Food AI - Image API for Food Detection
2026-02-20 16:52 Diff

Recommended Daily Intake

Back to Features

Recommended daily intakes of energy (kcal), carbohydrates (g), proteins (g) and fats (g) taking into account the sex, age, weight and height of the user.

Feature available in the following LogMeal Plans:

Analyse

Monitor

Recommend

Custom

Eating well is a pending subject for many people. Knowing which main nutrients we need and in what quantities is the first step. With this feature every user has access to their recommended daily intakes of energy (kcal), carbohydrates (g), proteins (g) and fats (g).

In addition, if the company has a Monitor plan or higher, the LogMeal API will also give the user all the recommendations from the available nutrients at LogMeal. This includes quite a variety of nutrients like calcium, iron, many types of vitamins, magnesium, fiber, sugar, potassium, etc. The recommendations are based on the user's profile information. The more information the user provides, the more accurate and personalized the recommendations will be.

We use the Harris-Benedict formula formula to get the BMR (basal metabolic rate), known as the number of calories your body needs to accomplish its most basic (basal) life-sustaining functions. This formula takes into account the sex, age, weight and height of the individual. The estimated BMR value is multiplied by a number that corresponds to the individual's activity level. The resulting number is the daily recommended calories, approximate daily kilocalorie intake to maintain current body weight.

Based on the daily recommended calories, we estimate the macronutrients requirements.

  • Carbohydrates: (45%) of the calorie_target / 4.
  • Proteins: (20%) of the calorie_target / 4.
  • Fats: (35%) of the calorie_target / 9.

Max and min ranges are based on the nutrient. By default, some nutrients only have a minimum and maximum amount that can change if the user has a specific goal for a given nutrient.