One gram of carbohydrate contains approximately 4 calories. If
the cereal contains 30 grams of carbohydrate, this would mean that
120 calories come from carbohydrates. 120 calories is 50% of 240;
therefore, carbohydrates comprise of 50% of the total calories for
your cereal.