Hal_Al
Level 15

Investors & landlords

$120,000 loss in 2018 minus the $3000 you can (and must) deduct against ordinary income = $117K carry over to 2019.

$130K gain in 2019 minus 117K carryover loss = 13K capital gain on your 2019 return.