Free interactive tool · Transparent formulas · No account required
Margin and markup describe different relationships. Gross margin measures profit relative to revenue, while markup measures profit relative to cost. Use the inputs below to price work without mixing them up.
Margin & Markup
Compare profit margin with markup and determine a selling price to achieve your target margin.
02 / Results
Enter values or select Calculate results.
Show methodology and assumptions
Gross profit = revenue − cost; margin = gross profit ÷ revenue; markup = gross profit ÷ cost.
All outputs are planning aids, not contract determinations. Verify source data, accounting definitions, and assumptions before using results for decisions.
Download the free Excel project-controls workbook ↗ Six formula-driven worksheets. No signup required.
How the calculation works
Profit = Revenue − Cost. Margin (%) = Profit ÷ Revenue × 100. Markup (%) = Profit ÷ Cost × 100. Target selling price = Cost ÷ (1 − target margin as a decimal).
Worked example
Example: Revenue of $125,000 and cost of $100,000 produces $25,000 in profit, 20% margin, and 25% markup.
Important limitations
These results are decision-support estimates. Validate the inputs and contract definitions before incorporating them into a bid, invoice, formal schedule, or customer report. The calculator processes values in your browser without uploading your project data.