You inherited the house on the date of death of your mom. The cost basis is the fair market value on her date of death. If the home appreciated in value from the value on the date of death to when you sold it, then you would owe long term capital gains tax on the increase in value. You are able to deduct selling expenses from the sales proceeds in determining whether there is a capital gain or not.