Traded in vehicle numbers don't seem right
I traded in a 3 year old truck with an original cost basis of $68636 which was used approximately 99% of the time for business. Business percent of trade value was $47530. Depreciation amount total was $48151. Did math (basis minus depreciation claimed) which came to $20485 and used that figure for "basis for gain". TT now tells me my gain was $47530. and further on the section which has "sale of business property" has me making $79359. The truck was the only property I sold. In addition, I still owed over $41000 on the truck I traded in. What am I doing wrong?