How do I determine the adjusted basis of my business that was sold in 2018

I owned a business for 11 years and sold it in 2018. How do I determine the adjusted basis, when calculating gain or loss?