Profit Margin Calculator

Use this free profit margin calculator to find out how much profit you're really making on every sale. Just enter your cost and selling price, and the calculator instantly shows your profit margin percentage, gross profit, and markup, no spreadsheet or manual math needed.

How much you paid to make or buy the product.

$

How much you sell it for.

$

Enter any 2 values to update the rest

$
%
%
Overview

What Is a Profit Margin Calculator?

A profit margin calculator is a simple online tool that calculates your profit margin percentage based on your cost price and selling price.

Cost Price

How much you paid to make or buy the product.

Selling Price

How much you sell it for to customers.

Profit

The difference between selling price and cost price.

Profit Margin

Profit expressed as a percentage of selling price.

💡
Quick Example: If you buy a product for $50 and sell it for $80, your profit is $30. Your profit margin is 37.5%.

How to Use This Profit Margin Calculator

Calculate your margins in a few simple steps

1

Enter Cost

Input your cost price (what you paid).

2

Enter Price

Input your selling price (what you charge).

3

Calculate

Click the "Calculate" button.

4

View Results

See your profit, margin %, and markup % instantly.

Pro Tip: You can also use it in reverse — enter your cost and desired margin to find the target selling price.
Calculation Basis

Profit Margin Formula

Here are the exact formulas our calculator uses to generate your figures:

Standard Formula
Margin (%) = ((Selling - Cost) / Selling) × 100
Revenue-Based Formula
Margin (%) = (Net Profit / Revenue) × 100
!
Important Distinction: Profit margin and markup are not the same. Margin is calculated based on the Selling Price, whereas Markup is calculated based on the Cost Price.
Case Studies

Real Examples of Profit Margin Calculation

Example 1 Clothing Store (Product)

A boutique buys a jacket from its supplier for $40 and sells it to customers for $100.

Profit: $100 − $40 = $60
Profit Margin: ($60 / $100) × 100 = 60%

This tells the store owner that 60 cents of every dollar is gross profit before rent, staff wages, and overhead.

Example 2 Web Design (Service)

A freelancer charges $1,200 for a website. Their direct costs (subscriptions & stock licenses) total $150.

Profit: $1,200 − $150 = $1,050
Profit Margin: ($1,050 / $1,200) × 100 = 87.5%

Service businesses usually report higher margins because physical inventory costs do not eat into profit.

Why Use a Profit Margin Calculator?

  • ✓ Know Your True Profit: See exactly how much you're earning after costs.
  • ✓ Set Better Prices: Avoid underpricing your products or services.
  • ✓ Compare Products: Find which items give you the best margins.
  • ✓ Plan for Growth: Forecast profits and set accurate business goals.
  • ✓ Avoid Costly Errors: Clear up confusion between margin and markup.

Common Mistakes to Avoid

  • ✕ Using markup instead of margin when setting targets.
  • ✕ Forgetting hidden costs like shipping, payment fees, or taxes.
  • ✕ Rounding too early during calculations.
  • ✕ Failing to update prices when supplier costs increase.

Frequently Asked Questions

No. Profit is a dollar amount (e.g., $30), while profit margin is that profit expressed as a percentage of your selling price (e.g., 30%). Margin lets you compare profitability across products of very different prices.

Gross margin only subtracts the direct cost of the product. Net margin subtracts every expense, operating costs, taxes, and interest, giving you the most accurate picture of actual take-home profit.

Yes. If your cost price is higher than your selling price, you're selling at a loss, and the margin will show as a negative percentage.

Ideally, whenever your costs, supplier prices, or selling prices change and at minimum, once a month, so you catch pricing problems early instead of months later.