How do I calculate profit? This simplest formula is: total revenue – total expenses = profit. Profit is calculated by deducting direct costs, such as materials and labour and indirect costs (also known as overheads) from sales.