Business & farm

I took at PPP small business loan which was completely forgiven in the same FY 2021.  I suppose loan is not an income and it was forgiven so it evens out in balance sheet. How should the loan be used  to calculate the basis or it can't be used to track the basis?

 

Thanks