Profit Margin Calculator

Calculate profit margin, markup, and profit from cost and revenue. Enter cost and selling price to see your margin percentage instantly.

Enter cost and selling price.
0%Profit Margin
0.00Profit
0%Markup
0.00Cost
0.00Selling Price
EvenStatus

What is a Profit Margin Calculator?

A profit margin calculator tells you how much profit you keep from each sale. It shows profit, profit margin (percentage), and markup so you can set prices that cover costs and build profit. For any business that sells products or services, understanding these three numbers is essential to pricing correctly and staying sustainable.

Profit is the simple difference between what something costs you and what you sell it for. But the percentage figures tell a richer story. Margin expresses profit relative to the selling price, showing how much of each rupee of revenue you keep. Markup expresses profit relative to the cost, showing how much you added on top. Both are useful, and they are easy to confuse, which is why a tool that shows them together is so helpful.

How to Use the Profit Margin Calculator

Getting your numbers takes only a moment. Enter the two figures you know and read the full picture.

  1. Enter the cost price of the product in the “Cost price” field.
  2. Enter the selling price or revenue in the “Selling price / revenue” field.
  3. Click “Calculate” to see your profit, margin, and markup.
  4. Review the results to inform your pricing decisions.

Key Definitions

The three numbers the calculator produces are defined simply:

  • Profit = revenue – cost
  • Profit margin = (profit / revenue) × 100
  • Markup = (profit / cost) × 100

Notice the difference in the denominators. Margin is compared to what the customer pays, while markup is compared to what the product cost you. Because of this, markup is always the larger number for a profitable sale, and the two percentages should never be treated as the same thing.

Example

Let’s say a product costs 50 and sells for 75:

  • Profit = 25
  • Margin = 33.3%
  • Markup = 50%

The 25 units of profit represent 33.3% of the selling price but 50% of the cost. Both are correct, and each answers a different business question.

Margin vs Markup

Margin tells you how much of your sales revenue becomes profit, which is the number that matters for measuring business performance. Markup tells you how much you raised the price above cost, which is the number that matters when you are setting prices from a known cost. Many pricing mistakes happen when these two are mixed up, such as believing a 50% markup creates a 50% margin when it actually creates only a 33% margin.

Why Margin Matters

  • Healthy margins keep your business sustainable through slow periods.
  • Know your break-even point before discounting or running sales.
  • Compare margins across products to focus effort on the most profitable ones.
  • Understand how much room you have for operating costs after product costs.

Worked Examples

Low-Cost, High-Volume Product

A grocery item costs 30 and sells for 40. The profit is 10, the margin is 10 ÷ 40, which is 25%, and the markup is 10 ÷ 30, about 33%. On thin-margin products, even a small price change can swing the margin sharply, so the percentage figures deserve close attention.

Service Business

A consultant charges 2,000 for a service that costs her 500 in time and materials. Profit is 1,500, margin is 75%, and markup is 300%. Service businesses often enjoy high margins because the variable cost is small relative to the price, but they also carry significant fixed costs like rent and software that must be covered by the total volume of work.

The Discount Effect

A product costs 80 and sells for 100, giving a 20% margin. If the seller runs a 10% sale, the new price is 90, profit falls to 10, and margin drops to 11.1%. A 10% discount cut the margin by almost half, a reminder that promotions are rarely cheap for the seller.

Setting a Selling Price from a Target Margin

When you know your cost and the margin you want to earn, the selling price is the cost divided by (1 minus the target margin as a decimal). To earn a 40% margin on a product costing 60, divide 60 by 0.60 to get a selling price of 100. The same formula works for any margin, and it is the cleanest way to build pricing that covers costs and meets profit goals.

The formula also works backwards. If you want to sell at 120 and keep a 50% margin, your cost must stay at or below 60. Calculating the maximum allowable cost before you source a product prevents you from committing to an item you cannot sell profitably.

Gross Margin, Net Margin, and Contribution

Margin appears in a few related forms. Gross margin compares profit against the direct cost of the product only, ignoring operating expenses. Net margin subtracts all operating costs, interest, and tax, giving the truest picture of overall profitability. Contribution margin is the amount each sale contributes toward fixed costs after variable costs are paid, and it is the figure used in break-even analysis. This calculator works with gross margin from the two figures you enter; understanding which measure your industry quotes prevents confusion when comparing published numbers.

Common Margin Mistakes

  • Treating markup and margin as the same number.
  • Forgetting to include shipping, packaging, and transaction fees in the cost.
  • Judging a product by markup alone instead of by margin and sales volume together.
  • Ignoring the effect of a discount on margin before running a promotion.
  • Comparing margins across industries without accounting for very different cost structures.

Tips for Better Pricing

  • Calculate margin for every product, not just the overall business.
  • Account for all costs, including shipping and packaging, in the cost price.
  • Set target margins and calculate the required selling price before launching a product.
  • Review margins regularly as costs change.
  • Remember that a discount reduces margin by more than the discount percentage looks.

Why Use This Profit Margin Calculator?

  • Shows profit, margin, and markup together
  • Works with any currency
  • Instant results with no signup
  • Free and unlimited use
  • No data is ever uploaded
  • Works on any device with a browser

Frequently Asked Questions