For example,Cost price = Selling price − profit ( when selling price and profit is given )Cost price = Selling price + loss ( when selling price and loss is given )Cost price = 100 × S e l l i n g P r i c e 100 + P r o f i t % ( when selling price and profit % is given )