Profit Margin Calculator
Estimates profit, profit margin, and markup from cost and a selling price. Profit margin here uses the same math as gross margin: profit divided by revenue. Markup is profit divided by cost. Enter a selling price or a target percent, not both as competing inputs.
Profit margin calculator
Showing: Profit margin
Figures are estimates for planning only. This is not accounting, tax, or financial advice.
How to use
- Choose Margin (profit / gross margin) or Markup, then enter cost.
- Enter a selling price, or switch to Target % and enter a margin or markup percent. The unused field is hidden so only one source of truth is used.
- Read profit, margin %, markup %, and the solved selling price when you used a target percent.
Results
Enter cost and either a selling price or a target percent to see profit, margin, and markup.
Runs in your browser. Nothing is uploaded.
Frequently asked questions
How does this profit margin calculator work?
Enter cost and either a selling price or a target percent. In Margin mode it treats profit margin and gross margin the same: profit divided by selling price. In Markup mode it divides profit by cost. It can also solve selling price from a target percent. Math runs in your browser. Nothing is stored.
What is the difference between profit margin and markup?
Profit margin (the same math as gross margin here) is profit divided by selling price, or revenue. Markup is profit divided by cost. A $80 cost sold for $100 is a $20 profit, a 20% margin, and a 25% markup. This page toggles between margin and markup so you can enter a selling price or a target percent.
Is gross margin the same as profit margin on this calculator?
Yes. Gross margin uses the same formula as profit margin on this page: (revenue − cost) / revenue. The calculator does not subtract operating expenses, taxes, or overhead. It is a simple cost-and-selling-price estimate.
How do I solve for selling price from a target percent?
Choose Margin or Markup, then Target percent. For a target margin, selling price is cost ÷ (1 − margin). For a target markup, selling price is cost × (1 + markup). A target margin of 100% or more is rejected because that formula divides by zero. Cost must be greater than 0.
Is this accounting or tax advice?
No. Results are estimates for planning only. This is not accounting, tax, or financial advice, and it is not a bookkeeping system. Confirm figures with your records or a qualified professional.
Do I need an account? Do you store the numbers I enter?
No. The math runs in your browser. There is no signup, and Tallymill does not save your cost, selling price, or percents. Refreshing the page clears the form.