Markup and Margin Calculator
Calculate selling price, markup, and gross margin from cost and selling price.
Calculations run in this browser. Values are not submitted to the server.
Result
Formula and assumptions
Markup = (selling − cost) ÷ cost; margin = (selling − cost) ÷ selling. Percentages require positive denominators.
Example values are shown in the input placeholders. Results use browser number precision unless the tool uses exact integer arithmetic. Check units and assumptions before using a result.