Roth Earned Income

I have earned income of $5000 but I received a $600 deduction from Self Employment Taxes.

 

Can I contribute $5000 to my IRA or can I contribute $4400 ($5000-600=$4400)?