Your calculation is right for simple gross profit ratio.
So, it is the definition of your Profit. There may be a gross profit, a profit before selling and distribution expenses. a profit before general and administrative expenses, a profit before tax,