MAGI and Defined Benefit Plans

How is MAGI calculated?  More specifically are contributions to a Defined Benefit Plan (e.g. Keogh Plan contributions ) included to calculate the MAGI?