Margin and markup
Published
Compare margin and markup or solve a selling price from either target percentage. Enter unit cost, then choose an existing selling price, target margin or target markup. Use the same currency and consistent tax treatment for cost and price.
Free to use. No email or account required.
Bookmark
Bookmark this tool
Save this link in your browser’s bookmarks.
Paste this link into the address of a new or existing bookmark.
On desktop, drag Margin and markup to your bookmarks bar.
Only the tool’s link is shared. Your inputs and results are not included.
Share
Your inputs
Edit the example inputs to match your task. Results update as you edit.
Calculations run in your browser. Inputs are not saved or sent to analytics.
How it works
Formula
- Supported input limits: : 0 ≤ x ≤ 1,000,000,000,000; : 0 ≤ x ≤ 1,000,000,000,000; : 0 ≤ x ≤ 99.999999; : 0 ≤ x ≤ 10,000
Input and formula key
Your result
Complete the inputs to see your result.
Sources
- OpenStax — percent definitionsSources reviewed: 2026-10-06
Assumptions and limitations
Margin divides profit by selling price; markup divides it by cost. A 25% markup is therefore not a 25% margin. Include relevant costs yourself; the calculator does not discover taxes, overhead or selling fees. Zero denominators give undefined percentages.
How to use this tool
Set up the inputs
Enter unit cost, then choose an existing selling price, target margin or target markup. Use the same currency and consistent tax treatment for cost and price. Margin divides profit by selling price; markup divides profit by cost.
Worked examples
-
Compare margin and markup on a sale
- 80 , 100 ⇒ 20 Profit, 20% , 25% ; 80/0.75 ≈ 106.6666667
Frequently asked questions
How should I read the result from Margin and markup?
Compare the resulting price, profit and both percentages before pricing an item. Equal percentages do not produce equal prices in the two modes. A negative profit is a loss; fees, shipping and overhead are excluded unless already included in your unit cost.
Processing and privacy
The calculation or transformation runs in your browser. The tool does not send its input values or generated output to an application server. Loading a page still makes infrastructure requests; optional analytics and Google consent messages have separate controls.
Privacy Policy. Privacy & preferences in the footer controls optional analytics.
Help and feedback
Consult the linked sources for definitions and reference data. Contact Support if you have a question or notice a problem.
Read about calculation methods · Report a problem to emonster


