Split a daily calorie target into grams of protein, carbohydrates, and fat based on chosen macronutrient percentages.
Formula
Grams = (Calories × Macro%) / (4 for protein/carbs, 9 for fat)