Free Profit Margin & Gross Margin Calculator

Find out what percentage of every sale is actual profit. No signup required. Enter your revenue, cost of goods sold, and operating expenses, and Encarmo calculates both your gross margin and net profit margin instantly.

Free forever·No signup required·Instant calculations
Revenue & Direct CostsReporting period
$
Total sales before any costs are subtracted
$
Direct materials, labor, and production
Operating Overhead (Optional)Unlocks Net Margin
$
Rent, software, admin salaries, marketing, insurance

Margin Summary

Profit retained per dollar of revenue

Gross Margin60.0%$30,000.00 gross profit
Net profit margin30.0%
Net profit amount$15,000.00
Revenue$50,000
COGS (Direct costs)$20,000
Operating expenses$15,000
Need real-time financial reporting?Encarmo Accounting generates live income statements and balance sheets.Start free with Encarmo →
Step by step

How to calculate your profit margin in 5 steps

1

Enter your revenue

Total sales for the period you're measuring, before any costs are subtracted.

2

Enter your cost of goods sold (COGS)

The direct cost of producing or delivering what you sold: materials, direct labor, and production costs.

3

Review your gross margin

Encarmo calculates gross profit and gross margin percentage from revenue and COGS alone.

4

Add operating expenses (optional)

Rent, salaries, marketing, and other overhead not included in COGS.

5

Review your net profit margin

With operating expenses included, Encarmo shows what percentage of revenue is left as actual profit.

The basics

What is a profit margin?

A profit margin measures how much of every dollar in revenue a business actually keeps as profit, expressed as a percentage. It shows whether a business is pricing its products effectively and keeping its costs under control.

Gross Margin % = (Revenue - COGS) / Revenue × 100
Net Margin % = Net Profit / Revenue × 100 (where Net Profit = Gross Profit - Operating Expenses)
The structure

The layers of a profit margin

Revenue — The top line

The total dollar amount brought in from sales before any expenses are subtracted. This is the starting point for every margin calculation.

COGS — Direct costs

What it directly cost to produce or deliver the product or service sold: materials, packaging, inventory, and direct labor.

Gross Margin — Production efficiency

Revenue minus COGS. It shows whether the core product or service is profitable on its own, before office rent, marketing, and admin overhead.

Operating Expenses — Overhead

The indirect costs required to run the business regardless of direct volume: software subscriptions, rent, legal fees, and non-production staff.

Net Margin — The bottom line

What remains after every expense is paid. This is the true profit percentage available for reinvestment, distribution to founders, or emergency reserves.

Worked example

A simple margin calculation

Illustrative $50,000 monthly business scenario:

Revenue (total sales)$50,000
Cost of goods sold (COGS)$20,000
Gross profit$50,000 − $20,000 = $30,000
Gross margin %$30,000 ÷ $50,000 = 60%
Operating expenses (OpEx)$15,000
Net profit$30,000 − $15,000 = $15,000
Net profit margin %$15,000 ÷ $50,000 = 30%

In this scenario, every $1 in revenue generates $0.60 in gross profit to cover overhead. After paying $15,000 in operating costs, the business keeps $0.30 of each dollar as bottom-line profit (30% net margin).

Comparison guide

Gross margin vs. net margin: what's the difference?

Gross MarginNet Margin
ShowsProfitability of the product or service itselfProfitability of the entire business operation
Formula(Revenue - COGS) ÷ Revenue(Gross Profit - OpEx) ÷ Revenue
IncludesDirect production and delivery costs onlyAll operating expenses, rent, overhead, and taxes
Target useSetting product pricing, supplier negotiationsEvaluating total business viability, investor reviews
Strategic impact

Why monitoring profit margins matters

Pricing power

Knowing your gross margin shows whether you have room to discount or if current prices are quietly losing money.

Benchmarking performance

Comparing your margins against industry peers highlights whether your supplier costs or operating overhead are out of line.

Cash flow stability

High-margin businesses can withstand sales slowdowns far better than low-margin businesses operating on razor-thin profits.

Valuation & financing

Lenders and buyers look at gross and net margins first when valuing a business or considering a commercial loan.

Why Encarmo

Why use Encarmo's free profit margin calculator

Completely free, no limits

Calculate margins for unlimited products, projects, or periods without paywalls.

Dual margin calculation

Get both gross margin and net profit margin in one seamless view.

No signup required

Instant results in your browser with zero personal information required.

Currency agnostic

Works with any currency worldwide, formatting clean percentages automatically.

Instant PDF export

Download clean summaries to share with business partners or accountants.

Common questions

Questions people ask us

Clear, direct answers on methodology, formulas, and usage.

Is this profit margin calculator really free?
Yes. Run unlimited calculations with no signup, credit card, or watermark.
What is the difference between gross margin and markup?
Gross margin is profit as a percentage of the selling price. Markup is profit as a percentage of the cost. For example, an item bought for $50 and sold for $100 has a 50% gross margin but a 100% markup.
What counts as cost of goods sold (COGS)?
Direct costs incurred specifically to create or purchase products sold: raw materials, packaging, freight-in, and direct labor.
What counts as operating expenses (OpEx)?
Fixed and overhead costs needed to operate: office rent, utilities, marketing, software, legal, insurance, and administrative staff.
What is considered a healthy gross margin?
Healthy margins vary widely by industry. Software companies often exceed 70-80%, retail typically ranges between 30-50%, and wholesale/grocery can be 10-20%.
Can profit margin be negative?
Yes. If COGS exceeds revenue, gross margin is negative. If total operating expenses exceed gross profit, net margin is negative, indicating an operational loss.
Does net profit margin include income taxes?
Operating net margin typically excludes corporate income taxes and interest. Net margin after taxes (net income) subtracts all tax liabilities.
How often should I calculate my margins?
Businesses should check gross margin on every price change or quote, and review net margin monthly during financial close.
Do I need accounting software to track this?
No, this calculator works independently. Encarmo Accounting provides automated monthly P&L and margin reporting for free forever without credit card requirements.
Ready for the real thing?

Stop juggling standalone files.
Run it all in one platform.

Encarmo brings double-entry accounting, invoicing, live bank reconciliation, payroll, and CRM into one connected platform, with free accounting and invoicing for life and no per-user penalties. Trusted by 2,400+ businesses in 40 countries.

Free forever for accounting + invoicing·No credit card required·Unlimited users