What is the difference between margin and markup?
Both use gross profit, but they divide by different amounts. Gross margin divides by selling price, while markup divides by cost.
Business calculations
Enter a unit cost and selling price to compare gross profit, gross margin, and markup. You can also calculate the selling price required for a target gross margin.
Calculate marginQuick answer: Gross margin is gross profit divided by selling price; markup is gross profit divided by cost. This calculator shows both from the same cost and price, and can solve a target-margin price when the target is below 100%.
Free, browser-based tool
Use the same currency and per-unit basis for cost and selling price. The calculator does not include costs you leave out.
Gross profit = selling price − cost. Gross margin = gross profit ÷ selling price × 100. Markup = gross profit ÷ cost × 100; markup is undefined when cost is zero.
Target selling price = cost ÷ (1 − target margin as a decimal). This is a simple unit calculation and does not include fees, overhead, taxes, discounts, or other costs unless you include them in your cost input.
No. The result is gross profit based only on the entered unit cost and selling price. It is not a complete business forecast, tax calculation, or recommendation about what to charge.
Both use gross profit, but they divide by different amounts. Gross margin divides by selling price, while markup divides by cost.
Divide the cost by one minus the target margin expressed as a decimal. The target must be below 100%, and other costs must be included separately if you want them reflected.
No. This calculator subtracts only the entered cost from the selling price. Operating expenses, taxes, payment fees, discounts, and other costs can change the final result.
No. The calculation runs in your browser and the values are not submitted to or stored by Bot Bridges. Use your own accounting records for financial reporting.