Deductions & credits

Any capital loss carryover is first used against any current year capital gains.  If there is still any leftover carryover losses, that is limited to $3000 per year.