What does Profit Margin Calculator do?
Profit margin is the percent of revenue that is profit after costs. Use this calculator to compute margin vs markup and find the selling price for a target margin.
Profit margin is the percent of revenue that is profit after costs. Use this calculator to compute margin vs markup and find the selling price for a target margin.
Runs in your browser · No data stored · No signup
A profit margin calculator computes profit, gross margin, and markup from revenue and cost, and can reverse-calculate a selling price for a target margin.
These calculations use gross margin (revenue minus cost of goods). Net margin requires deducting all operating expenses, taxes, and overhead. Consult an accountant for pricing and financial reporting decisions.
Free profit margin calculator — compute profit, margin %, and markup from cost and selling price, or find price for a target margin. Runs locally. No signup. Runs locally in your browser when supported—no upload required for normal use. Designed for quick everyday tasks with clear, copy-friendly output.
Key takeaways: margin uses price as the denominator; markup uses cost; target price for a margin is cost ÷ (1 − margin).
Concise answers for common searches — definitions, steps, and comparisons.
Profit margin is the percent of revenue that is profit after costs. Use this calculator to compute margin vs markup and find the selling price for a target margin.
Profit Margin Calculator (/profit-margin-calculator) runs in your browser when supported—inputs are not uploaded to EverydayTools servers.
The calculator computes profit, margin, and markup from revenue and cost, and supports reverse pricing for a target margin.
Formula
Profit = price − cost; Margin% = (profit ÷ price) × 100; Markup% = (profit ÷ cost) × 100; Target price = cost ÷ (1 − margin). Where price = selling price (revenue) and cost = unit cost (COGS).Type the total revenue or unit selling price. For a single product: the price you sell it for. For a business: total revenue for the period.
Type the cost of making or buying the item, or the total cost of goods sold (COGS) for the period. Do not include operating overhead unless you want a full net margin calculation.
The calculator shows: gross profit (revenue − cost), gross margin % ((profit ÷ revenue) × 100), and markup % ((profit ÷ cost) × 100).
Enable 'find selling price' mode: enter cost and target margin %, and the tool calculates the minimum selling price to achieve that margin.
Input
Revenue: $50 · Cost: $30Output
Gross profit: $20 · Gross margin: 40% · Markup: 66.7%$50 revenue − $30 cost = $20 profit. Margin: 20/50 = 40%. Markup: 20/30 = 66.7%. A 40% margin means 40 cents of every dollar of revenue is profit.
Input
Cost: $25 · Target margin: 50%Output
Required selling price: $50If margin = (price − cost) ÷ price = 0.50, then price = cost ÷ (1 − margin) = $25 ÷ 0.50 = $50.
Input
Selling price: $40 · Product cost: $18 · Platform fee: 15% ($6) · Shipping: $4Output
Profit: $12 · Margin on selling price: 30%Treat fees and shipping as costs: total cost = 18 + 6 + 4 = 28. Profit = 40 − 28 = 12. Margin = 12 ÷ 40 = 30%. This is why marketplace fees can shrink margin even when markup looks high.
Common real-world scenarios where this tool saves time.
E-commerce sellers
Enter your supplier cost and target gross margin to find the minimum selling price. Factor in marketplace fees (Amazon 15%, eBay 13%) as additional cost to ensure final margins are met.
Freelancers and consultants
Enter your cost of delivery (time × hourly cost, tools, sub-contractors) and desired margin to set client-facing prices that ensure the business remains profitable.
Finance and accounting teams
Software companies target 70–80% gross margins; retail targets 20–40%; restaurants 60–70% gross but only 3–9% net. Calculate and compare actual margins to industry benchmarks.
Margin and markup both measure profitability but from different reference points — confusing them leads to pricing errors.
| Concept | Formula | Reference Point | Example (Cost $60, Price $100) |
|---|---|---|---|
| Gross Margin | (Price − Cost) ÷ Price | Percentage of selling price | ($100 − $60) ÷ $100 = 40% |
| Markup | (Price − Cost) ÷ Cost | Percentage of cost | ($100 − $60) ÷ $60 = 66.7% |
| Gross Profit | Price − Cost | Absolute dollar amount | $100 − $60 = $40 |
| Net Margin | (Net Profit) ÷ Revenue | After ALL expenses | Requires full income statement |
Margin and markup are not the same. A 50% markup does NOT mean a 50% margin — it means a 33% margin. Always clarify which metric is being used in pricing conversations.
Advertisement
Margin% = (profit ÷ price) × 100; markup% = (profit ÷ cost) × 100. Same numbers, different denominator (price vs cost).
It depends on industry and overhead. Rough gross ranges: SaaS 70–85%, services 30–60%, e-commerce/retail 20–40%, grocery 1–3%. Compare to peers.
Gross margin uses COGS only: (revenue − COGS) ÷ revenue. Net margin uses all expenses: net income ÷ revenue.
Target price = cost ÷ (1 − margin). Example: cost $30, margin 40% → $30 ÷ 0.60 = $50.
Fees reduce profit but margin is measured against price. Add fees/shipping/returns into per-unit cost, then margin = (price − total cost) ÷ price.
Yes. Use your delivery cost (time × internal hourly cost + tools + subcontractors) as 'cost' and your client price as 'price.'
Profit Margin Calculator keeps typical inputs on your device—nothing is uploaded to EverydayTools servers for core calculations.
Profit margin calculations shown are based on gross figures (revenue minus cost of goods sold). They do not account for operating expenses, taxes, interest, or other deductions needed to calculate net income. Consult a qualified accountant or financial advisor for full financial analysis. Financial results are estimates for planning only — not tax, legal, or investment advice. Verify with your employer, institution, or a qualified professional.
Advertisement
Reviewed by EverydayTools Editorial Team on 2026-05-03.
Same workflow or intent — pick the next step without leaving the site.
Age gap or date duration in years, months, and days. Two modes, timeline, presets, copy & share—free, runs locally in your browser.
Free average calculator: arithmetic mean, sum, count, min, max, and range from pasted lists—grades, budgets, or datasets. Private, instant, no signup. Runs locally in your browser when supported—no upload required for normal use.
Estimate bi-weekly gross and net pay from hourly rate, hours, overtime 1.5×/2×, and tax %. No upload—runs in your browser. Planning only, not official withholding.
Calculate BMI from height and weight using metric or imperial units. See BMI category ranges and use it as a quick screening estimate. Runs locally in your browser when supported—no upload required for normal use.
Estimate body fat % with US Navy waist/neck/hip measurements or BMI method. Runs locally in your browser—never uploaded. Free for men and women.
Free break-even calculator — find break-even units and revenue from fixed costs, price, and variable cost. Includes contribution margin and targets. No signup. Runs locally in your browser when supported—no upload required for normal use.
Frequently opened tools from the same category.
Calculate BMI from height and weight using metric or imperial units. See BMI category ranges and use it as a quick screening estimate. Runs locally in your browser when supported—no upload required for normal use.
Estimate daily calories using the Mifflin-St Jeor BMR formula and TDEE activity multipliers for maintenance, weight loss, or weight gain. Runs locally in your browser when supported—no upload required for normal use.
Free tip calculator — find tip amount, bill + tip total, and per-person share. Presets for common percentages (10%, 15%, 20%), custom %, and equal split. Runs in your browser. No signup.
What is 20% of 500? Percent increase, decrease, difference, reverse %, markup & margin—runs locally in your browser, no upload. Copy results or share a link.
Cross-category tools others open in the same session.
Free JSON formatter — paste minified or messy JSON and instantly get beautified, indented output with syntax highlighting and error detection. Browser-based, no server upload. Runs locally in your browser when supported—no upload required for normal use.
Compress JPG, PNG & WebP in your browser—up to 80% smaller, batch 25 files, 50/100/200 KB presets. Files stay on your device. No signup.
Free PDF merger — combine multiple PDF files into one document. Drag to reorder files, preview pages, and download the merged PDF instantly. No signup, fully browser-based. Runs locally in your browser when supported—no upload required for normal use.
Instantly count words, characters, sentences, paragraphs, and reading time. Great for essays, articles, and SEO writing. No signup — works as you type. Runs locally in your browser when supported—no upload required for normal use.
Guides and walkthroughs that reference this tool.
10 free browser calculators: BMI, tip, discount, overtime, GPA, compound interest. No upload—runs locally. No signup.
2026 roundup of BMI calculators—EverydayTools, CDC, NIH, Healthline, and Calculator.net compared on accuracy, privacy, units, and clinical context.
Browse full tool collections by topic.
Your cost to produce or acquire the product.
The price you charge customers. Cost + Selling → profit, margin, markup.
Cost + Markup % → Selling = Cost × (1 + Markup/100)
Cost + Target Margin % → Selling = Cost ÷ (1 − Margin/100)
Show price before/after tax and margin impact.
Enter values to calculate margin
Cost is required. Add selling price, markup %, or target margin %.