How WeeklyDiet calculates your targets

The same arithmetic runs in the app and in the free calculators on this site. This page shows every step, the constants we chose and where the research comes from.

Estimates, not medical advice. These numbers are estimates for healthy adults. They are not for pregnancy, breastfeeding, anyone under 18, eating disorders or medical conditions. Talk to a doctor or registered dietitian before you change how you eat.

1. Resting energy

We estimate the calories your body uses at rest with the Mifflin-St Jeor equation (Mifflin et al., 1990), with weight in kilograms and height in centimeters:

We use it because a systematic review of predictive equations found it the most reliable of the four most common ones: it predicted resting metabolic rate within 10% of measured in more people than any other equation. The same review notes that errors for individuals can still be noteworthy (Frankenfield et al., 2005). Treat the result as a starting point.

2. Activity

Resting energy is multiplied by an activity factor to estimate what you burn in a day:

The factors are the app's own constants. Pick the one that matches a typical week, not your best one.

3. Pace

To lose weight, the app subtracts 500 calories a day for each pound a week you want to lose. To gain, it adds 500 calories a day for each pound a week. The calculators and the app offer 0.5, 1 or 1.5 lb a week to lose and 0.25 or 0.5 lb a week to gain.

That 500 calories per pound per week figure comes from the old rule of thumb that a pound is about 3,500 calories. It is only an approximation: research shows the energy deficit needed per unit of weight lost varies with body fat, so real results differ from the arithmetic (Hall, 2008). For that reason the app does not stop at the formula. It adjusts your calories from your weigh-ins (see below).

4. Calorie floors

Daily calories never go below 1,200 for women or 1,500 for men. These floors are the app's own safety limits. If your chosen pace would put you under the floor, calories stay at the floor and the pace is capped instead: the app works out the pace your floor allows and rounds it down to the nearest quarter pound a week, then tells you.

5. Weekly adjustment from weigh-ins

In the app, when you log weigh-ins, WeeklyDiet looks at those from the last 21 days. It needs at least two weigh-ins at least 10 days apart; otherwise your calories stay as they are. It then compares your actual pace with your target pace:

The adjustment is applied when the app generates your next week.

6. Protein

Daily protein is 0.8 g per pound of body weight when you lose or gain, and 0.7 g per pound when you maintain, capped at 220 g a day. For context, the International Society of Sports Nutrition position stand concludes that 1.4 to 2.0 g per kg of body weight per day is sufficient for most exercising people to build and maintain muscle (Jäger et al., 2017). Both of our figures (about 1.5 and 1.8 g per kg) fall inside that range. The cap is our own limit.

7. Fat and carbs

Fat is 28% of your daily calories, at 9 calories per gram. Carbohydrate is whatever is left after protein (4 calories per gram) and fat, at 4 calories per gram. The 28% share is the app's own choice.

8. Nutrition data

The app plans from a curated library of dishes. The AI model only picks which dishes go in which meals and how large each portion is (a multiplier). It does not write calories or macros. Each dish's nutrition is calculated from its ingredients, using per-100 g values taken from USDA FoodData Central, and scaled to your portion. Day totals and shopping quantities are linear scales of those numbers.

Sources

  1. Mifflin MD, St Jeor ST, Hill LA, Scott BJ, Daugherty SA, Koh YO. A new predictive equation for resting energy expenditure in healthy individuals. Am J Clin Nutr. 1990;51(2):241-247. https://doi.org/10.1093/ajcn/51.2.241
  2. Frankenfield D, Roth-Yousey L, Compher C. Comparison of predictive equations for resting metabolic rate in healthy nonobese and obese adults: a systematic review. J Am Diet Assoc. 2005;105(5):775-789. https://doi.org/10.1016/j.jada.2005.02.005
  3. Hall KD. What is the required energy deficit per unit weight loss? Int J Obes. 2008;32(3):573-576. https://doi.org/10.1038/sj.ijo.0803720
  4. Jäger R, Kerksick CM, Campbell BI, et al. International Society of Sports Nutrition Position Stand: protein and exercise. J Int Soc Sports Nutr. 2017;14:20. https://doi.org/10.1186/s12970-017-0177-8
  5. U.S. Department of Agriculture, Agricultural Research Service. FoodData Central. https://fdc.nal.usda.gov/

Questions or corrections: hello@webmoose.io.