A ketogenic diet is a diet in which most of the calories come from fat (70-75%). A moderate amount of calories come from protein (20-25%). Only a small number of the calories come from carbohydrates (5%). 