Skip to main content
Alona Tool – Free Online Tools

Profit Margin Calculator

Popular Runs in Your Browser

Enter your Cost of Goods Sold (COGS) and Selling Price (or desired margin) to compute Gross Profit, Profit Margin percentage, and Markup percentage.

Browser-based: this tool works on your device and does not send your input to an Alona Tool server. See the Privacy Policy for details.
Fast Processing

Loading Profit Margin Calculator… This tool is an interactive page and needs JavaScript enabled in your browser.

Example Usage & Test Cases

Product Pricing
Input Scenario:
Cost: $40, Selling Price: $100
Generated Result:
Profit: $60, Margin: 60%, Markup: 150%

How It Works

1

Margin = (Profit / Revenue) * 100; Markup = (Profit / Cost) * 100.

Frequently Asked Questions

Margin is profit divided by selling price, while markup is profit divided by original cost.

Good to Know

Results are general estimates and are not professional financial, tax, legal or medical advice. See the Disclaimer.

Related Tools

Gross Profit Margin and Markup Calculator for Business

Price your products profitably and understand the mathematical difference between margin and markup.

Pricing mistakes usually hide in the gap between margin and markup. A market-stall seller who doubles cost thinks of it as a fifty percent margin, though it is a hundred percent markup. Freelancers, Etsy sellers, cafe owners and anyone reselling goods need to know how much of each sale they actually keep. This page takes a cost and a selling price and returns the profit as both numbers, so you can compare your result with the margin a supplier, bank or business plan expects.

Enter your Cost of Goods / Item ($) in the first field and the Selling Price / Revenue ($) in the second. The page immediately shows three results: Gross Profit as a currency amount, Profit Margin as a percentage of the selling price, and Markup Percentage as a percentage of cost. Adjust the selling price up or down until the margin matches your target. If revenue is zero the margin shows as zero instead of an error, and the same goes for markup when cost is zero.

Remember that this is gross profit only. Rent, wages, fees, shipping, packaging and tax are not subtracted unless you include them in the cost figure, so a healthy margin here can still be a loss overall. The tool works from cost and price; it does not back-solve a price from a target margin, but you can do that yourself by dividing cost by one minus the margin. Negative results appear if you sell below cost, which is a useful warning when planning a promotion.

Example: an item costs 60 and sells for 100. Gross profit is 40, the margin is 40 percent, and the markup is 66.67 percent. To check the reverse, suppose you want a 30 percent margin on a part that costs 45. Divide 45 by 0.70 and the selling price is about 64.29; typing that into the tool should return a margin of roughly 30 percent. Notice the same 40 profit yields different margin and markup figures, which is why agreeing which one is meant matters in negotiations.

Key Highlights:

  • Profit Margin % vs Markup % comparison
  • Cost and Revenue breakdown
  • Reverse price from desired margin