Deductions & credits

Okay, but I'm a bit confused.  So you're saying as long as it shows I have a gain on the sale and that gain is less than $250,000 to $500,000 I won't have to pay tax on it?