It should be calculated by weight.
Protein's supplement needs 1 g per kilogram of body weight, including diet, not counting plant protein. Exercise needs 1.5-2 grams per kilogram a day. Carbohydrate needs 4 grams per kilogram of body weight on rest days and 4-6 grams on exercise days.