A method and apparatus comprising the use of a bolus calculator to account for the uncertainty of carbohydrate estimates to reduce the risk of hypoglycemia and hyperglycemia. More specifically, if the carbohydrate estimate is overestimated or underestimated using an algorithm executed by the bolus calculator processor and using a degree that defines the carbohydrate estimate and the uncertainty of the carbohydrate estimate Determine the probability of hypoglycemia and hyperglycemia, and provide recommendations and warnings to the user.低血糖のリスクおよび高血糖のリスクを低減するための炭水化物推定値の不確かさを考慮するためのボーラス計算機の使用を含む方法および装置。より具体的には、ボーラス計算機のプロセッサによって実行されるアルゴリズムを使用し、炭水化物推定値および炭水化物推定値の不確かさを定義する度合を使用して、炭水化物推定値が過大評価または過小評価である場合の低血糖および高血糖の確率を判定し、勧告および警告をユーザーに提供する。