The basic formula that is used to calculate the profit in a business or a financial transaction, is: Profit = Selling Price - Cost Price. Here, Cost Price (CP) of a product is the cost at which it was originally bought. Selling Price (SP) of the product is the cost at which it was is sold.