As a general rule, the tax rate on long-term capital gains is 15%, but it is 20% for those in the top tax bracket and zero for those in the 10% or 15% brackets. The gain is taken into account in figuring your taxable income, which dictates your top tax bracket and, similarly, your capital gain rate. For 2017, the zero rate applies for singles with taxable income up to $37,950 and for joint filers with taxable income up to $75,900 (different limits apply to heads of households and married persons filing separately).
Real property in which 80% or more of the gross income is from dwelling units. Under MACRS, depreciation is claimed over 27.5 years under the straight-line method.