Protein, fiber and your daily targets.
How Sahni turns your age, body, activity and goal into daily numbers, with one worked example and the source for each step.

Calories
Your energy at rest comes from the Mifflin-St Jeor equation, from your weight, height, age and sex. A factor for how active you are turns that into your maintenance. The factors are Sahni's own.
To lose weight, Sahni takes about 300, 500 or 750 kcal a day off maintenance, depending on the pace you pick. Targets never go below 1,300 kcal (1,500 for men) or above 4,500. Under 18 there's no deficit at all, and below a BMI of 20 the loss is capped.
Protein
About 15% of your energy, kept between 200 and 600 kcal a day, which is roughly 50 to 150 g (Perfect Health Diet, chapter 9). When you're losing weight, the 15% is of your maintenance energy, so protein holds steady while the deficit comes from elsewhere. From age 65, protein is at least 1.0 g for each kilogram you weigh, the lower end of the PROT-AGE recommendation for older adults.
Carbohydrate
600 kcal a day, about 150 g: roughly what the brain, nerves and other tissues use (Perfect Health Diet, chapter 10). Training adds to it: 100 kcal when you're moderately active, 200 when very active and 300 for athletes. That step is Sahni's own, and the app marks it as such. Carbohydrate never drops under 20% of your energy. With a lower-carb preference, which prediabetes turns on, it starts at 500 kcal.
Fat
Fat makes up the rest of your energy and never drops below 20% of it. It's the part of the diet that moves: when you're losing weight, fat is what comes down (chapter 12).
Fiber, vitamins and minerals
Fiber is about 23 g, scaled to your energy (chapter 14). Vitamin C is 400 mg (chapter 34) and potassium 4.7 g (chapter 31). Iron, vitamin B12 and B6 come from the reference tables of the Dietary Reference Intakes, by age and sex; iron is higher for women of menstruating age.
A worked example
A woman of 34, 168 cm tall and 68 kg, moderately active, keeping her weight. Her energy at rest is about 1,400 kcal; with the factor for moderate activity, maintenance is 2,175 kcal. These are the numbers Sahni's engine gives her:
Her 81 g of protein is 324 kcal, which is 15% of 2,175. Her 177 g of carbohydrate is 708 kcal: the 600 kcal base plus 100 for moderate activity. Fat takes the remaining 1,143 kcal, which is 127 g. Her other targets are 23 g of fiber, 400 mg of vitamin C, 18 mg of iron, 4,700 mg of potassium, 2.4 µg of vitamin B12 and 1.3 mg of B6.
You can ask for the same calculation in ChatGPT or Claude with Sahni's connector, which runs the app's own rules.
When a clinician should set the plan
Sahni keeps your targets at maintenance, with a note to confirm them with your clinician, if you have an eating-disorder history, if you want to lose weight with a BMI under 18.5, or if pregnancy, breastfeeding, kidney disease or type 1 diabetes isn't under a clinician's supervision. Under clinical supervision, the condition's own plan uses guideline values, such as at least 130 g of carbohydrate a day (175 g in pregnancy, 210 g while breastfeeding). Sahni doesn't calculate targets for anyone under 15.
Sources
- A new predictive equation for resting energy expenditure in healthy individualsMifflin MD, St Jeor ST, Hill LA, Scott BJ, Daugherty SA, Koh YO, 1990
- Dietary Reference Intakes for Energy, Carbohydrate, Fiber, Fat, Fatty Acids, Cholesterol, Protein, and Amino Acids (Macronutrients)Institute of Medicine, Food and Nutrition Board (Panel on Macronutrients et al.), 2005
- Dietary Reference Intakes: Guiding Principles for Nutrition Labeling and Fortification — Appendix C, Reference TablesInstitute of Medicine Committee on Use of Dietary Reference Intakes in Nutrition Labeling, 2003
- Perfect Health Diet: Regain Health and Lose Weight by Eating the Way You Were Meant to EatPaul Jaminet, Ph.D., and Shou-Ching Jaminet, Ph.D. (foreword by Mark Sisson), 2012
- Evidence-Based Recommendations for Optimal Dietary Protein Intake in Older People: A Position Paper From the PROT-AGE Study GroupBauer J, Biolo G, Cederholm T, et al., 2013
- 2013 AHA/ACC/TOS Guideline for the Management of Overweight and Obesity in AdultsJensen MD, Ryan DH (co-chairs), Apovian CM, et al., 2013