Margin & Markup Calculator
Compute margin, markup, and any missing variable from cost, price, or %.
Last updated: 2026-05-31
This calculator uses generic assumptions. Use advanced mode to override them for a more accurate result.
Inputs
Formula transparency
Source: defaultMargin = (Price − Cost) / Price · Markup = (Price − Cost) / Cost
Frequently asked
- Margin vs markup?
- Margin divides profit by price; markup divides it by cost. 25% margin = 33.3% markup.
- Does the % include VAT?
- No — enter pre-tax numbers for consistency.
- When use 50% margin?
- Often in restaurants and certain sectors; benchmark your industry.
- Need both values?
- No — any two of cost/price/margin/markup is enough.
- Is data saved?
- No — calculation is local.
Related calculators
- Product Pricing Calculator
Enter your product cost and target profit margin to get the ideal selling price — a free tool for small business owners and online store operators.
- Discount Calculator
Enter the original price and discount percentage (or two stacked discounts) to get the final price with optional VAT — perfect for sale shopping season.
- VAT Calculator
Add or remove VAT using your country's rate automatically (Jordan, Saudi Arabia, UAE, Egypt, GCC) or enter a custom rate — fast and free.
- Percentage Calculator
All-in-one percentage tool — find a percent of a value, what percent one number is of another, percent change, or the difference between two numbers. Fast and free.
Results are estimates and not professional advice. Verify important decisions with a qualified professional.