Margin and markup are not the same thing. Enter your cost and price below for both — or work backwards from a target margin to the price you should charge.
Profit Margin Calculator
Margin, markup & profit in one place. Find your margin, price for a target margin, or back out your maximum cost — in seconds.
Your numbers
Margin is your profit as a share of the selling price; markup is profit as a share of cost. A 50% margin equals a 100% markup — they are never the same number (except at 0%).
Price to hit your target
This is reverse pricing: instead of guessing a price, you start from the margin you want and let the math set the price.
Your cost ceiling
Keep your all-in cost (product, shipping, fees) at or below this number and your target margin is protected.
Every calculation runs in your browser. Your numbers are never sent anywhere.
Use it instantly — no account, no email, no paywall in front of the math.
Unlimited calculations for your store, freelance quotes, or reselling side hustle.
How to use the profit margin calculator
- 1Pick your mode
Choose “Margin & Markup” to analyze a price, “Find Selling Price” to price from a target margin, or “Find Max Cost” to work backward from a fixed price.
- 2Enter your numbers in USD
Type your cost and price (or your target margin percentage). Decimals are fine — $49.99 works exactly.
- 3Hit calculate
Get profit per unit, margin %, markup %, and the exact formula used — so you can sanity-check every figure.
Why sellers use this calculator
Most free calculators show one number. You get both, plus profit per unit, so you never mix the two up again.
Start from the margin you want — say 60% — and the calculator tells you exactly what price to charge. No guesswork.
Selling at a fixed market price? Find the maximum you can afford to spend per unit while protecting your margin.
Every result panel shows the exact formula behind it, so accountants and partners can verify the math.
Zero cost, zero price, and margins near 100% get clear explanations instead of “Infinity” or broken output.
USD formatting, US decimal conventions, and examples that match how American e-commerce and retail actually price.
Profit margin FAQs
What is the difference between profit margin and markup?
How do I calculate profit margin from cost and selling price?
How do I set a price to hit a target margin?
What is a good profit margin for a small business?
Can profit margin be more than 100%?
What happens if my cost is $0?
Is my data saved or sent anywhere?
Related calculators
Work out sales tax by state before you set your final price.
Tip CalculatorSplit bills and compute tips and totals in seconds.
Percentage CalculatorDiscounts, percent change, and percent-of calculations.
Compound Interest CalculatorProject how invested profits grow over time.
Mortgage CalculatorMonthly payments, interest, and payoff schedules.
Paycheck CalculatorEstimate take-home pay after US taxes and deductions.
