Capital losses can be used to offset capital gains. If there are excess losses, they can be used to offset up to $3,000 of ordinary income ($1,500 for married persons filing separately), which includes interest on bonds that are not tax-exempt. Any excess loss can be carried forward indefinitely and used in the same manner.
Total business receipts reported on Schedule C or Schedule C-EZ before deducting adjustments for returns and allowances and cost of goods sold.