Why not use a little common sense and, say, not drink 4L of milk a day? Try a litre, see if you start gaining weight. No? Try a litre and a half. If so, BINGO, stop increasing the amount of calories you're putting in your body.
Milk has good ratios of protein, carbs, fats, and it's cheap as shit.