Calculate Tools
MONEY
Free Online Tool

Profit Margin Calculator

Calculate gross profit margin percentage, dollar profit, and equivalent markup from cost and revenue, or calculate required selling price from target margin.

Margin vs Markup: Margin is profit divided by revenue. Markup is profit divided by cost.

Profit Margin Analysis

40% Margin

Gross Profit: ₹40 (Selling Price: ₹100)

Gross Profit Margin
40%
Gross Profit Amount
₹40
Required Selling Price
₹100
Cost of Goods Sold
₹60
Equivalent Markup %
66.67%

About the Profit Margin Calculator

The Profit Margin Calculator computes gross profit margin percentage, dollar profit, and equivalent markup from cost of goods sold (COGS) and selling price. It also operates in reverse: enter your cost and target margin percentage to calculate the required selling price to guarantee your desired business profitability.

How to Use the Profit Margin Calculator

Step-by-Step Instructions

  1. Select your calculation method: 'Cost + Revenue' or 'Cost + Target Margin %'.
  2. Enter your unit Cost of Goods Sold (COGS).
  3. Enter either your actual selling price or your desired target profit margin percentage.
  4. Review gross profit dollar amount, gross margin percentage, and corresponding markup percentage.

Input Fields Explained

Field NameDescriptionRequirementDefault
Cost of Goods Sold (COGS)Direct wholesale or manufacturing cost per unit.
Required
—
Selling Price / Target MarginRetail price or desired gross margin %.
Required
—

How to Interpret the Output

The primary result displays gross profit margin percentage. Sub-metrics display gross dollar profit, required retail price, and equivalent markup percentage.

Assumption: Selling price must exceed cost of goods sold for positive profit margin. Target margin must be strictly less than 100%.

Profit Margin Calculator Formula & Calculation Method

Gross Margin% = [(Revenue − Cost) / Revenue] × 100; Selling Price = Cost / (1 − Margin%)

Variable Definitions

  • Revenue— Selling price per unit
  • Cost— Cost of Goods Sold (COGS)
  • Gross Profit— Revenue minus Cost

Gross profit margin expresses profit as a percentage of total revenue/selling price. In contrast, markup expresses that same profit as a percentage of the original cost.

Worked Calculation Example

Product Cost $60 Sold for $100

Calculate profit margin and markup on a product costing $60 and retailing at $100.

Step-by-Step Calculation:
  • Gross Profit: $100 − $60 = $40.00.
  • Gross Margin: ($40 ÷ $100) × 100 = 40.0%.
  • Markup: ($40 ÷ $60) × 100 = 66.67%.
Final Result: 40.0% Profit Margin ($40 Profit | 66.7% Markup)

Practical Real-World Use Cases

Retail & E-commerce Product Pricing

Price Shopify and Amazon inventory to cover ad spend, shipping, and merchant fees.

Wholesale & B2B Distribution

Determine tiered volume discounting thresholds without eroding minimum viable gross margin.

Service Business Pricing

Price consulting or construction packages with sustainable 40%+ margins.

Important Notes & Limitations

  • Gross profit margin only deducts direct Cost of Goods Sold (COGS). Net profit margin further deducts operating expenses, marketing, rent, interest, and taxes.
  • Margin can never exceed 100%, whereas markup can be 200%, 500%, or higher.

Frequently Asked Questions about Profit Margin Calculator

What is the difference between margin and markup?

Margin is profit expressed as a percentage of the selling price (Profit / Revenue). Markup is profit expressed as a percentage of the cost price (Profit / Cost). A product costing $50 and sold for $100 has a 50% margin, but a 100% markup.

What is a good profit margin for small businesses?

A 10% net profit margin is considered average, 20% is considered good, and 30%+ is excellent. For gross margins, retail typically operates between 40% and 50%, whereas software companies often exceed 70% to 80%.

How do I calculate price from cost and desired margin?

Divide cost by (1 minus your target margin in decimal). For example, to make a 40% margin on a $30 item: $30 / (1 − 0.40) = $30 / 0.60 = $50 selling price.

Why is margin always lower than markup for the same transaction?

Because margin divides profit by selling price (a larger denominator), while markup divides profit by cost (a smaller denominator).

Related Calculators