 These tests determine the total nitrogen in a sample.The only major component of most food which contains nitrogen is protein (fat, carbohydrate and dietary fiber do not contain nitrogen).If the amount of nitrogen is multiplied by a factor depending on the kinds of protein expected in the food the total protein can be determined.