Gross Profit Calculator for Physical & Digital Products

By Jeff Cobb.  Last Updated on September 7, 2026
Gross Profit Calculator | Learning Revolution
Free Tool — by Jeff Cobb

Gross Profit Calculator

Find your gross profit and gross profit margin instantly. Works for any product or service — and if you sell a course, membership, or other digital product, switch modes below to get a real number, because “cost of goods” doesn’t mean much when there’s nothing to manufacture.

Most courses and memberships have close to $0 in “cost of goods.” What actually eats into profit is platform fees, payment processing, refunds, and affiliate cuts — this mode replaces “cost of item” with those so the number below is real.
Gross profit
$0
Gross margin
0.00%
Markup
0.00%
Cost per sale
$0
SellRevenueGross Profit

How to calculate gross profit

Gross profit is one of the most important numbers in any business, and calculating it is simple once you know what actually counts as “cost.” The formula is the same whether you’re selling a physical product or a $297 course:

Gross profit = Sales price Cost per sale
Gross profit margin = (Gross profit ÷ Sales price) × 100

The part people get wrong is what belongs in “cost.” For a physical product, that’s the direct, variable cost of producing and delivering one unit — materials, packaging, shipping, production. Fixed costs like rent, insurance, and admin salaries don’t belong in a gross profit calculation; they come out later, when you calculate net profit.

What counts as cost for a course, membership, or digital product

This is where most gross profit calculators fall apart for course creators, coaches, and consultants — they assume you have a “cost of item” to enter, and for a digital product, you usually don’t. There’s no material, no shipping, no per-unit production cost. What actually reduces your take-home per sale is different: the platform’s transaction fee, the payment processor’s cut, refunds, and any affiliate commission. Toggle to “Course, membership or digital product” above and this calculator swaps in those categories instead, so the number you get is one you can actually use.

Example — physical product

A maker sells a handmade item for $300. It costs $120 to produce. Gross profit: $300 − $120 = $180. Gross margin: $180 ÷ $300 × 100 = 60%.

Example — online course

A course creator sells a $297 course on a 0%-fee platform, through Stripe (2.9% + $0.30), with a 5% refund rate and no affiliates. Cost per sale works out to roughly $19. Gross profit: $297 − $19 = $278. Gross margin: 93.6% — a margin that’s simply not available to most physical-product businesses.

Gross profit vs. gross profit margin

Gross profit is a dollar amount. Gross profit margin is a percentage. They answer different questions: gross profit tells you how much cash a sale generates; gross margin tells you how efficiently you’re generating it, which is what lets you compare a $30 product against a $3,000 program on equal footing.

Watch both over time, not just one. A business can grow gross profit in dollar terms while its margin quietly erodes — rising platform fees, more refunds, or heavier affiliate reliance can all do this without ever showing up if you’re only watching the top-line profit number.

Gross profit vs. net profit

Gross profit only accounts for the direct, per-sale cost of what you’re selling. Net profit — often called the bottom line — subtracts everything else: software subscriptions, contractors, advertising, your own time if you’re paying yourself a salary, admin overhead. Gross profit tells you whether the offer itself is priced sensibly. Net profit tells you whether the business as a whole is actually working.

How to increase gross profit

There are only three levers, and they apply whether you’re selling a physical product or a course:

  • Raise your price. On a near-zero-cost digital product, almost the entire increase drops straight to profit — a $50 price increase on a course is close to $50 of extra margin, not a fraction of it.
  • Lower your cost per sale. For physical goods, that means better sourcing or production efficiency. For a course or membership, it means moving to a platform with a lower (or 0%) transaction fee, and reducing your refund rate through clearer sales-page expectations and better onboarding.
  • Sell more. Volume doesn’t change your margin, but it does compound your total gross profit — which is what the table above is for.

Be careful with the first lever. Raise your price too aggressively and conversion can drop enough that total gross profit falls even as margin rises. Check what comparable offers charge before moving on price alone.

Frequently asked questions

What’s the difference between gross and net profit margin?
Gross profit margin only subtracts the direct cost of the item or service sold. Net profit margin subtracts everything — direct costs plus overhead, software, contractors, advertising, and taxes. Net margin is always equal to or lower than gross margin.
How do I calculate a 20% profit margin?
To price for a 20% gross margin, divide your cost by 0.8 (not by 1.2 — that’s a common mistake). A $100 cost divided by 0.8 gives a sales price of $125, which yields a $25 gross profit and exactly a 20% margin ($25 ÷ $125).
What is a good profit margin?
It depends heavily on what you sell. Physical product retailers often run 20-50% gross margin. Service businesses often land 40-60%. Digital products — courses, memberships, software — routinely reach 80-95%+ gross margin because there’s little to no per-unit cost to begin with. Compare your margin to others in your specific category, not a universal benchmark.
How do I calculate margin in Excel or Google Sheets?
Use =(SalesPrice-Cost)/SalesPrice formatted as a percentage. For example, with sales price in cell B2 and cost in cell A2: =(B2-A2)/B2. Markup, a related but different number, is =(B2-A2)/A2 — cost, not price, is the denominator.
Are margin and profit the same thing?
No. Profit is a dollar figure — the actual amount left after costs. Margin is a percentage — profit expressed relative to sales price. A $10 profit on a $20 sale (50% margin) and a $10 profit on a $200 sale (5% margin) are very different businesses despite identical profit dollars.
Is a 90%+ profit margin normal for an online course?
Yes, and it’s the realistic ceiling, not an exaggeration. With no manufacturing or shipping cost, a course sold on a 0%-transaction-fee platform, through a standard payment processor, with a typical refund rate, commonly nets 90-95% gross margin. If your course margin is meaningfully below that, check your platform’s transaction fee and refund rate first — those are usually where the difference is hiding.
Want the full picture, not just gross profit?

The Break-Even Calculator adds fixed costs and tells you exactly how many sales you need before you’re actually profitable.

Scroll to Top