Gross Margin Calculator
Calculate gross profit margin, markup percentage, selling revenue, and direct COGS with unit economics and batch volume projections.
| Financial Metric | Per Unit | Total Volume (100 units) | % of Revenue |
|---|---|---|---|
| Selling Price (Revenue) | $100.00 | $10,000.00 | 100.0% |
| Cost of Goods Sold (COGS) | $60.00 | $6,000.00 | 60.0% |
| Gross Profit | $40.00 | $4,000.00 | 40.0% |
| Markup on Cost | 66.67% | Profit ÷ Cost | |
| Operating Overhead (15%) | $15.00 | $1,500.00 | 15.0% |
| Net Operating Profit | $25.00 | $2,500.00 | 25.0% |
| Price-to-Cost Multiplier | 1.67× | Selling Price ÷ COGS | |
Revenue ($100.00) − Cost ($60.00) = $40.00 per unit ($4,000.00 total)($40.00 Gross Profit ÷ $100.00 Revenue) × 100 = 40.00%($40.00 Gross Profit ÷ $60.00 Cost) × 100 = 66.67%$4,000.00 Gross Profit − $1,500.00 Overhead (15%) = $2,500.00 (25.00% Net Margin)* Results are financial estimates for business planning and pricing strategy. They do not constitute formal tax, legal, or accounting advice.
Price = Cost ÷ (1 − Target Margin). For example, to earn a 40% margin on a $60 item: $60 ÷ (1 − 0.40) = $60 ÷ 0.60 = $100.00.
| Industry Sector | Typical Gross Margin | Equivalent Markup | Primary Cost Drivers | Pricing Strategy Focus |
|---|---|---|---|---|
| SaaS & Cloud Software | 75% – 85% | 300% – 567% | Hosting, CDN, customer support | High gross margins absorb heavy R&D and CAC |
| Professional & Legal Services | 50% – 70% | 100% – 233% | Direct consultant billable wages | Value pricing based on expertise and deliverables |
| Medical Devices & Pharma | 55% – 75% | 122% – 300% | Sterile manufacturing, precision tooling | Amortizes clinical trials and patent filings |
| E-Commerce & Consumer Retail (Default) | 35% – 50% | 54% – 100% | Wholesale goods, packaging, freight | Keystone pricing (100% markup on wholesale) |
| Industrial Manufacturing | 25% – 35% | 33% – 54% | Steel, plastics, machining, direct labor | Economies of scale and scrap reduction |
| Restaurants & Hospitality | 28% – 35% | 39% – 54% | Food ingredients, beverages, spoilage | Food cost target is strictly 28%–32% of menu price |
| Grocery & Supermarkets | 20% – 25% | 25% – 33% | Wholesale food, refrigerated logistics | Ultra-high inventory turns offset thin margins |
| Automotive Dealerships | 12% – 18% | 14% – 22% | Manufacturer invoice wholesale | Low new-car margins offset by parts and financing |
The Gross Margin Calculator helps entrepreneurs, finance executives, ecommerce store owners, and managers determine the exact profitability of their products and services. It calculates gross profit, margin percentage, and markup on cost, while factoring in batch sales volume and operating overhead.
Gross profit is the foundational money engine of every enterprise. It represents the residual revenue available after direct production costs are paid to fund operating overhead (rent, utilities, software, marketing) and generate clean net earnings.
Whether you are launching a new product, negotiating wholesale supplier agreements, or establishing retail pricing matrices, this tool provides instant clarity between margin and markup.
1. Core Financial Formulas
Gross Margin (%) = (Gross Profit ÷ Revenue) × 100
Markup (%) = (Gross Profit ÷ COGS) × 100
Revenue from Target Margin = COGS ÷ [1 − (Target Margin % ÷ 100)]
Revenue from Target Markup = COGS × [1 + (Target Markup % ÷ 100)]
2. Illustrative Example
Scenario: You purchase a consumer item from a manufacturer for $60.00 (COGS) and sell it at retail for $100.00. You anticipate selling 100 units, with estimated company overhead of 15%.
- Unit Gross Profit:
$100.00 − $60.00 = $40.00. - Gross Profit Margin:
($40.00 ÷ $100.00) × 100 = 40.00%. - Markup on Cost:
($40.00 ÷ $60.00) × 100 = 66.67%. - Batch Totals (100 units):
Revenue = $10,000.00,COGS = $6,000.00,Gross Profit = $4,000.00. - Net Operating Profit:
$4,000.00 − ($10,000.00 × 15%) = $4,000.00 − $1,500.00 = $2,500.00 (25.00% Net Margin).
- Select Calculation Mode: Choose Cost & Revenue (default), Cost & Target Margin, or Cost & Target Markup from the top tabs.
- Enter Values: Input your unit cost and price (or desired percentage) using numeric fields or interactive range sliders.
- Configure Volume & Overhead: Expand the options toggle to project batch totals and net operating margins.
- Analyze Charts: Toggle between the Revenue Allocation Donut and Margin vs. Markup Comparison visual charts.
Cost of Goods Sold (COGS): The direct expenditures incurred in producing or sourcing a product, including raw materials, direct manufacturing labor, and inward freight.
Gross Profit: The net financial surplus generated after subtracting direct production costs from top-line revenue (Revenue − COGS).
Gross Margin: Gross profit expressed as a percentage of total selling revenue. It reveals how many cents of gross profit remain from every dollar earned.
Markup: The percentage amount by which the cost of a product is increased to arrive at the selling price (Profit ÷ Cost).
Operating Expenses (OPEX): Day-to-day indirect expenses required to run a business that are not directly tied to unit manufacturing (e.g., rent, legal, marketing, general administration).
Frequently Asked Questions
Why is Gross Margin always lower than Markup? +
Can Gross Margin ever be greater than 100%? +
What is a "good" gross margin for a small business? +
How do I convert a target margin into a selling price? +
Price = Cost ÷ (1 − Margin). To get a 30% margin on a $70 product: $70 ÷ (1 − 0.30) = $70 ÷ 0.70 = $100.00.