How to calculate MAGI from my tax return?

To calculate any potential IRMAA, the IRS calculate my MAGI from my previous (2 years) return. It should not be to difficult.