ES
↑↓ navigate Enter open Esc close
Profitability & Business

Commercial Margin Calculator

Calculate gross margin, markup and optimal selling price to ensure your business profitability.

What do you want to calculate?
€
€
Gross Margin (%) = Profit ÷ Selling Price × 100
Markup (%) = Profit ÷ Cost × 100
Results
Cost —
Selling Price —
Gross Profit —
Gross Margin —
Markup (on cost) —
Margin —
0%25%50%75%100%

Complete Commercial Guide to Profit Margin, Markup, and Pricing Strategy

Mastering the mathematical difference between profit margin and markup is crucial for eCommerce stores, retailers, distributors, and SaaS companies. Conflating these two metrics is one of the most widespread causes of underpricing and commercial losses in business management.

While Gross Margin indicates how much of every euro collected in sales is retained as gross profit, Markup represents the percentage mark-up applied on top of direct production or wholesale acquisition cost.

Core Mathematical Formulas Explained

Financial definitions governing commercial pricing:

  • Gross Profit (€): Profit = Selling Price - Unit Cost
  • Gross Margin (%): Margin = (Profit ÷ Selling Price) × 100 (indicates percentage of revenue kept).
  • Markup (%): Markup = (Profit ÷ Unit Cost) × 100 (indicates multiplier applied to cost).
  • Target Price Formulation: Selling Price = Unit Cost ÷ (1 - Margin/100)

Practical Margin vs Markup Equivalence Table

Common operational equivalents to avoid pricing errors:

  • 15% Margin corresponds to 17.65% Markup.
  • 25% Margin corresponds to 33.33% Markup.
  • 33.33% Margin corresponds to 50.00% Markup.
  • 50.00% Margin corresponds to 100.00% Markup (doubling the cost).
  • 75.00% Margin corresponds to 300.00% Markup (quadrupling the cost).

Strategic Factors Beyond Gross Unit Margin

A high gross margin does not guarantee a profitable bottom line if customer acquisition cost (CAC), return rates, logistics packaging, and payment gateway transaction fees (such as Stripe or PayPal) are not factored into the final unit contribution margin.

Practical Example

Example 1: Retail Fashion Item Pricing
Input: Wholesale Cost: 25.00 € | Target Gross Margin: 60%
Output / Result: Selling Price: 62.50 € | Gross Profit: 37.50 € | Markup: 150%

Calculated as 25.00 ÷ (1 - 0.60) = 62.50 €. Applying a 60% markup would have mistakenly priced it at 40.00 €.

Example 2: Electronics Component Sale Analysis
Input: Acquisition Cost: 80.00 € | Retail Selling Price: 100.00 €
Output / Result: Gross Profit: 20.00 € | Gross Margin: 20% | Markup: 25%

Shows the immediate relationship: on a 100 € sale, 20 € is gross profit (20% margin) generated from an 80 € cost investment (25% markup).

How to Calculate Profit Margin & Selling Price in 4 Steps

1

Select Calculation Mode

Choose whether you want to calculate Margin & Profit, the optimal Selling Price, or the maximum allowable Cost.

2

Enter Unit Product Cost

Type the net purchase price, manufacturing cost, or wholesale cost of the item.

3

Specify Price or Target Margin

Enter your current selling price or your desired target profit margin percentage.

4

Inspect Results & Margin Indicator

Review the gross profit, gross margin, markup percentage, and visual profitability gauge.

Frequently Asked Questions about Profit Margins & Markup

What is the difference between Gross Margin (Margen Comercial) and Markup (Margen sobre Coste)?

Gross margin is calculated as a percentage of the selling price: (Profit ÷ Selling Price) × 100. Markup is calculated as a percentage of the production or acquisition cost: (Profit ÷ Cost) × 100. For example, a product bought for 50 € and sold for 100 € has a 50% gross margin but a 100% markup.

How do I calculate the selling price needed to achieve a target gross margin percentage?

To achieve a target gross margin, divide the unit cost by (1 minus the decimal margin): Selling Price = Cost ÷ (1 - Margin/100). For example, to earn a 40% margin on a 60 € item: 60 ÷ (1 - 0.40) = 100 €.

Why is a 50% markup not equivalent to a 50% profit margin?

Because the base divisor is different. A 50% markup on a 100 € cost sets the price at 150 € (yielding 50 € profit). The resulting gross margin on that 150 € sale is 33.33% (50 ÷ 150), not 50%.

Does this calculator include VAT (IVA) and operating overhead costs in its profit calculation?

This calculator computes unit gross margin and markup on net figures (excluding VAT/IVA, which is a neutral tax for businesses). To calculate net profit, you should deduct general overhead, packaging, shipping, payment gateway fees, and advertising CAC from the gross profit.

What is considered a healthy gross margin for retail and eCommerce businesses?

A healthy gross margin varies by industry: consumer electronics often operate on 15% to 25%, dropshipping and retail wholesale typically range from 30% to 50%, while digital goods, SaaS, and luxury fashion often achieve 60% to 85% gross margins to absorb customer acquisition costs.

Share this tool

Help others by sharing this free tool.