FoodHalo by Precvis
How FoodHalo calculates calories and macros
The inputs, equations, and research behind your calorie, protein, fat, and carbohydrate targets.
Last updated: November 21, 2026
Start with your profile
FoodHalo uses the age, height, current weight, sex setting for the equation, and activity level you enter during setup. If you choose to lose or gain weight, it also uses your goal weight and chosen pace. The starting target is calculated on your iPhone.
Estimate calories to maintain your current weight
FoodHalo estimates resting energy expenditure using the Mifflin–St Jeor equation:
Resting kcal per day = 9.99 × weight (kg) + 6.25 × height (cm) − 4.92 × age (years) + a sex-specific constant. The constant is +5 for the male setting and −161 for the female setting.
FoodHalo multiplies that estimate by a physical activity factor to estimate maintenance calories. The app uses 1.4 for light, 1.6 for moderate, 1.75 for active, and 2.0 for very active.
Adjust for your goal
- Maintain weight or build muscle. The starting calorie target uses the maintenance estimate. The muscle-building plan also adjusts its protein estimate.
- Lose or gain weight. FoodHalo uses a dynamic model based on NIH Body Weight Planner research. It estimates the daily intake for your goal weight and pace while accounting for how energy needs change as weight changes. In the upcoming app update, choose 0.5 lb or 1 lb per week for weight gain or loss. At the same goal weight, the faster pace usually changes the daily calorie estimate and shortens the estimated time. If a weight-loss pace would require an intake below the app’s minimum, FoodHalo tries a longer timeline.
The app rounds the target to the nearest 5 kcal per day. It’s a starting estimate for adults. Individual energy needs vary, and the target may need adjusting as your routine changes.
How we estimate protein and fat
The macro defaults and pace options described here apply to the upcoming app update. Builds already distributed may show earlier defaults.
- Protein. FoodHalo sets the automatic protein target at 20% of your daily calorie goal. Multiply your goal by 0.20, divide by 4 calories per gram, and round to the nearest gram. For example, 1,960 daily calories gives 98 g of protein. A custom calorie goal changes the automatic target. A custom protein target takes priority.
- Total fat. FoodHalo defaults to 30% of calorie intake and divides those calories by 9 to convert them to grams. The National Academies’ adult reference range is 20–35%. The exact 30% value is FoodHalo’s default within that range.
- Fat quality. The American Heart Association advisory supports replacing saturated fat with unsaturated fat, particularly polyunsaturated fat, within a healthy eating pattern. This guides food-choice education. The total-fat calculation uses the reference range above.
- Carbohydrates. FoodHalo divides the calories left after protein and fat by 4. At 1,960 kcal and 98 g protein, this is about 65 g fat and 245 g carbohydrates.
These estimates are for general wellness. Users who choose tracking without targets can log meals without automatic macro goals.
Research and resources
- Trumbo and colleagues, Dietary Reference Intakes for macronutrients (2002) · National Academies reference tables
- Sacks and colleagues, American Heart Association advisory on dietary fats (2017)
- Mifflin and colleagues, A new predictive equation for resting energy expenditure in healthy individuals (1990)
- NIH/NIDDK, Research behind the Body Weight Planner
- Hall and colleagues, Quantification of the effect of energy imbalance on bodyweight (2011)