The present invention provides a computer program for determining the optimumdiet of an animal, determining what nutritional deficiencies exist in thatdiet, and formulating a supplement to correct those deficiencies. It allowsthe creation of a nutritionally complete and balanced diet with a sufficientbut not excessive quantity of water, energy, protein, fat, carbohydrate, aminoacids, fatty acids, vitamins, minerals, and vitamin-like nutrients. Thespecific compositions of supplements generated using the computer program arealso claimed.