Your basis or cost basis is what you saved into the plan. Earnings, interest, and appreciation are not part of your basis. For example if your IRA account is worth $10,000 but out of that $2000 is earnings (interest, divendends, or appreciation) then your basis is $8000.