To calculate a company's net income, begin with its entire revenue. Subtract the business's spending and operating costs from this figure to calculate the company's earnings before taxes. Subtract tax from this figure to get the NI.