In short: The calculator estimates your resting energy with the Mifflin-St Jeor equation, multiplies it by how active you are and adjusts it for your goal: about 20% less to lose fat, 10% more to gain muscle. A 30-year-old man of 80 kg and 180 cm who trains three to five times a week keeps his weight on about 2,760 kcal a day.
Sex

To keep your weight2 760 kcal

For your goal2 760 kcal

Protein a day130 - 175 g