If you’re looking for investors or want to sell your business, you must determine its value. Follow these six steps to calculate it.