Skip to content
★ 8,000+ Premium Sites DR 60–90 Guest Posts $2/Backlink 24h Delivery

💰 Profit Margin Calculator

Turn cost and revenue into gross profit, profit margin % and markup %.

Frequently Asked Questions

What is the difference between margin and markup?

Margin is profit as a percentage of the selling price; markup is profit as a percentage of the cost. A 50% markup is only a 33.3% margin — mixing them up is a common pricing error, so the tool shows both.

What should I include in "cost"?

All costs that vary with the product — materials, inbound shipping, payment processing fees — not just the purchase price, or your margin will look better than it is.

Is my data sent to a server?

No. This tool runs entirely in your browser using JavaScript — nothing you enter is uploaded or stored.

The Profit Margin Calculator converts a cost and a selling price into gross profit, profit margin percentage, and markup percentage. Margin and markup are easy to confuse, and mixing them up is one of the most common (and expensive) pricing mistakes in small business — this tool shows both so you never guess.

How to Use This Tool

Enter the cost of the item and the revenue (selling price). The tool shows the gross profit in currency, the profit margin as a percentage of the selling price, and the markup as a percentage of the cost.

What This Tool Checks

Gross profit = revenue − cost; margin = profit ÷ revenue × 100; markup = profit ÷ cost × 100. Exact arithmetic, no estimates.

Understanding Your Results

Margin tells you what share of each sale is profit (useful for comparing products and planning). Markup tells you how much you added on top of cost (useful for setting a price from a cost). They are always different numbers for the same sale.

How to Fix Common Problems

If the two percentages surprise you, that is expected — a 50% markup is only a 33.3% margin. If profit is negative, your cost exceeds your price. Enter cost and revenue as the same currency and per the same unit (both per item, or both per batch).

SEO Best Practices

Set retail prices from cost using markup, but judge product profitability and compare across a catalogue using margin. Make sure "cost" includes all the costs that vary with the product (materials, shipping in, payment fees), not just the purchase price.

Example

Cost $40, selling price $100: gross profit is $60, margin is 60%, markup is 150%. Cost $40, price $60: profit $20, margin 33.3%, markup 50% — the classic margin-vs-markup gap.

Common Mistakes to Avoid

Applying a target margin as if it were a markup underprices every product. Forgetting variable costs (fees, inbound shipping) inflates the apparent margin.

Need help improving your search rankings?

Get a professional, country-targeted backlink campaign built for your goals.

Free SEO small tools to fix every SEO error

This is one of our free SEO small tools — a growing collection of small SEO tools that help you check a website and fix on-page, technical and local SEO errors, right in your browser. Browse the full toolbox to find the right tool for your next task.

Explore all 78 free SEO tools →
Chat with us
WhatsApp Free Quote
🔗View 8,000+ Backlink Sites