The information from Form 1099-B, Proceeds From Broker and Barter Exchange Transactions, and other sales of capital assets will be shown on Federal 1040 Schedule D and possibly Form 8949. Schedule D is a summary of all the capital gains and losses you received during the year. The net total of gains and loss from Schedule D will be carried to line 13 of Federal Form 1040.
You want to file a Form 8949 to reconcile amounts that were reported to you and the IRS on Form 1099-B or 1099-S (or substitute statement) with the amounts you report on your tax return. If the Form(s) 1099-B (or all substitute statements) you received show basis was reported to the IRS and if no correction or adjustment is needed, you may not need to file Form 8949.