You're wrong on the first calculation. Tax would be no where near $90k Yes, you don't get your money back however losses are carried forward and used against future gains.