Calories come from protein, carbs, fat and alcohol in the following proportions:
Protein: 4cals/g
Carbs: 4cals/g
Fat: 9cals/g
Alcohol: 7cals/g
The only fat truly bad is trans fats (hydrogenated anything).
Balance your diet, make it 40/30/30 - 40/40/20, expressed and percent of calories eaten per day.
So, on a 2400 cal diet:
2400cals * 0.4 = 960cals
960cals/4cals/g protein = 240g protein
same for carbs
2400cals * 0.2 = 480cals
480cals/9cals/g fat = 53g fat.
Are you following?