Retirement tax questions

I am learning and trying understand your math:

$48350; subtract single filer deduction of $15,750; subtract HSA contribution of $5,300 = $27,300

 

$27,300 is your AGI. Is the MAGI what should be used? If so, is your MAGI $48,350?