Losses can also be used to offset up to $3000 of ordinary income and any losses beyond that can be carried forward into the next tax year. I just let Turbo Tax figure it all out for me since I'm too lazy to do all the calculations myself.