Profit margin expresses the profit remaining from a sale as a percentage of selling revenue. Markup expresses that same profit relative to cost. Their denominators differ, so the two percentages usually differ even when they describe the same transaction.
This margin calculator takes positive cost and revenue amounts and shows profit or loss, margin, markup and an outcome label. The meaning of profit depends on the costs you include. It does not automatically retrieve expenses, calculate a target selling price or determine a company’s net profit margin.