What profit margin means
A margin is profit written as a percentage of the selling price. A margin of 40% means that of every 100 taken, 40 is profit and 60 paid for what was sold.
It is measured at three levels. Gross margin is what is left after the direct cost of what was sold. Operating margin is what is left after the running costs as well. Net margin is what is left after everything, interest and tax included.