How to Figure Profit Margins?

We can figure out the profit margin in doing business like selling fruits for example. From the selling price less all the expenses incurred in the procurement of the fruits. The remaining amount would be your net profit,