Are you self-employed? Compensation from self-employment that will support any kind of IRA contribution is net profit reduced by the sum of deductible portion of self-employment taxes and the deduction for self-employed retirement contributions.
Compensation on a W-2 that will support an IRA contribution is the amount in box 1 minus any amount in box 11.