To work out how many grams of each macro that you need, multiply your total daily calories by 0.4 for protein, and by 0.3 for fats and for carbohydrates.