Introduction: The profit margin is a measure of profitability, which is a net profit ratio. It is the amount in…