If you have repossessed real property, you can use this calculator to determine the gain or loss as well as its new basis. This includes the reportable gain or loss after repossession costs are taken into account.
1st Source Bank
https://www.1stsource.com