Business · Analysis & Valuation

Profit Margin Calculator

Short answer: What does the Profit Margin Calculator calculate?

The Profit Margin Calculator works out gross profit, gross margin and net profit. Gross and net profit margins plus markup on cost from your revenue and expenses. You enter total revenue, cost of goods sold and operating expenses, and results update as you type. It uses US rules and USD, and it is free to use on this page.

Updated · Applies to the United States (US rules, USD)

  • Free to use here · embed on the Business plan
  • 3 inputs · 5 results
  • Works in 6 languages
  • Uses US rules and USD

Try the Profit Margin Calculator

Enter your revenue and costs — margins update as you type.

See all 12 themes
Theme
Mode

Ledger · Free on every plan · The classic CalcFunnel card: gradient results header, clean panels.

Loads from app.calcfunnel.com when you scroll here.

Estimates only — not a loan offer or financial advice. Switch theme and light/dark above to see how it could look on your site.

Put this calculator on your website

What this calculator does

What the Profit Margin calculator works out

The Profit Margin Calculator is a free, embeddable calculator from CalcFunnel. Gross and net profit margins plus markup on cost from your revenue and expenses.

You enter 3 inputs: total revenue, cost of goods sold and operating expenses.

It returns gross profit, gross margin, net profit, net margin and markup on cost.

Built for business lenders, SBA brokers and accountants. Embedding it on your own website needs the Business plan (from $210/month, with a 14-day free trial), which unlocks the Business category.

Results it shows

  1. 01Gross Profit
  2. 02Gross Margin
  3. 03Net Profit
  4. 04Net Margin
  5. 05Markup on Cost

The first figure — gross profit — is the headline result.

Inputs

What you can change

Every field visitors can adjust, straight from the calculator, with the same help text they see on the info icon. Each one starts with a sensible default, and the 5 results update as they type.

Total Revenue
Total sales for the period.
Cost of Goods Sold
Direct cost of producing what you sold.
Operating Expenses
Overhead not included in COGS — rent, salaries, marketing.

Definitions

Profit Margin terms, defined

The terms this calculator uses, in plain words. The same definitions appear inside the calculator for your visitors.

Gross margin
Gross profit divided by revenue, shown as a percentage. It measures how much of each sales dollar remains after the direct cost of what was sold, before overhead. With $200,000 in revenue and $120,000 in cost of goods sold, gross margin is 40%. It is the figure most used to compare pricing and production efficiency.
Net margin
Net profit divided by revenue: the share of each sales dollar left after cost of goods sold and operating expenses. In this calculator it excludes interest and income taxes, so it is closer to an operating margin than to the bottom-line net margin on a formal income statement.
Markup
Gross profit divided by cost of goods sold, rather than by revenue. The same sale gives a higher markup than margin: selling for $200,000 what cost $120,000 is a 66.7% markup but a 40% gross margin. Mixing the two when setting prices is a common source of underpricing.
Revenue
Total sales for the period before any costs are subtracted, sometimes called the top line. Use net sales, meaning after returns, discounts and allowances, for consistent margins. Revenue and costs should cover the same period, since mixing a quarter of sales with a year of expenses distorts every result.
Cost of goods sold (COGS)
The direct costs of producing or buying what you sold in the period: materials, inventory purchases, direct labor and manufacturing overhead. It excludes rent, marketing and administrative salaries, which are operating expenses. Where a cost is classified changes gross margin, though not net profit.
Gross profit
Revenue minus cost of goods sold: the money left to cover operating expenses and profit. A business can have a healthy gross profit and still lose money if overhead is too high, which is why the calculator reports both gross and net figures.
Operating expenses
The costs of running the business that are not tied directly to producing goods sold: rent, salaries outside production, marketing, software, utilities and similar overhead. Many of them stay fixed as sales change, so net margin usually improves faster than gross margin as revenue grows.
Net profit
Revenue minus cost of goods sold and operating expenses. In this calculator it is profit before interest and income taxes, so the amount actually retained will be lower once those are paid. A negative figure means the business spent more than it earned in the period.

For your website

How it looks on your site

Put the Profit Margin Calculator on your own site with your colors, copy and lead form, in whichever of these five ways suits the page. Every calculation can arrive in your CRM with the numbers attached.

Works on WordPress, Wix, Squarespace, Webflow, Shopify, GoHighLevel and plain HTML — paste one line into an HTML or code block. No plugin needed.

  • Inline, without an iframe

    Paste the snippet where the Profit Margin Calculator should appear. It renders into your page, fills the width of its container and grows to fit.

    Best for: Landing pages, blog posts, calculator pages

  • Popup button

    A button sits on your page; one click opens the calculator in a popup over it.

    Best for: Pricing sections, hero areas, listings

  • Floating corner widget

    Paste once (or in your site-wide footer code) for a floating bubble in the corner of every page.

    Best for: Site-wide, always one click away

  • Your own link or button

    Give any existing link, button or image a class and it opens the calculator when clicked.

    Best for: Menus, images, in-text links

  • Direct link

    A full-page link to the calculator for emails, social posts, QR codes or a menu item.

    Best for: Email, social, print, QR codes

Start free How embedding works

Free plan, no card. 14-day trial on Pro & Business.

Widgets

Use it in a widget

Group the Profit Margin Calculator with up to 11 other calculators in one widget: a floating launcher, tabs, a row of buttons or a card grid. Widgets per plan: Free 1, Pro 10, Business unlimited.

  • Floating launcher widget, Classic bubble design: Round launcher with a soft pulse and a clean list.

    Floating launcher

    A bubble in the corner of every page opens a menu of your calculators.

    6 ready-made designs

  • Tabs widget, Underline design: Text tabs with an animated underline.

    Tabs

    Calculators side by side in one block on the page, switched with tabs.

    6 ready-made designs

  • Buttons widget, Solid design: Filled buttons in your brand color.

    Buttons

    A row of buttons; each one opens its calculator in a popup.

    6 ready-made designs

  • Cards grid widget, Elevated design: White cards with a soft shadow and lift.

    Cards grid

    A grid of cards with an icon and a short blurb; click to open the calculator.

    6 ready-made designs

See every widget design

FAQ

Profit Margin calculator FAQs

Still stuck? Ask the team — we reply within one business day.

Q.01What does the Profit Margin Calculator calculate?
Gross and net profit margins plus markup on cost from your revenue and expenses. It returns gross profit, gross margin, net profit, net margin and markup on cost.
Q.02What information do I need to use the Profit Margin Calculator?
You enter 3 inputs: total revenue, cost of goods sold and operating expenses. Every input starts with a sensible default, so you can change only what you know.
Q.03What does “Total Revenue” mean in the Profit Margin Calculator?
Total sales for the period.
Q.04What does “Cost of Goods Sold” mean in the Profit Margin Calculator?
Direct cost of producing what you sold.
Q.05Is the Profit Margin Calculator free to use?
Yes — you can use it on this page for free, without an account. Embedding it on your own website needs the Business plan (from $210/month, with a 14-day free trial), which unlocks the Business category. Compare plans.
Q.06Can I embed the Profit Margin Calculator on my website?
Yes. Embed it inline, as a popup button, as a floating corner widget, from your own link or button, or share a direct link. It works on WordPress, Wix, Squarespace, Webflow, Shopify, GoHighLevel and plain HTML sites with one line of code — see embedding.
Q.07Can I change how the Profit Margin Calculator looks?
Yes. Choose from 12 themes, each in light and dark, then set your own brand colors and font. Ledger, Minimal, Compact come with every plan; the others unlock on Pro and Business.
Q.08Is the Profit Margin Calculator available in other languages?
Yes. It works in English, Spanish, Simplified Chinese, Korean, Vietnamese and Arabic, with a right-to-left layout in Arabic. Labels, tooltips, results and definitions are translated, visitors can switch language inside the calculator, and amounts stay in US dollars and US number format.
Q.09Can the calculator capture leads?
Yes. It can end with a lead form, a Get a Quote form, a Share panel or a button to any URL. Leads are saved with the inputs and results attached and can be forwarded to your CRM by webhook.
Q.10Are the Profit Margin results financial advice?
No. Estimates only. Margins depend on how you classify costs and your accounting period. Use as a planning guide, not financial statements.

Related business calculators

All 12 in Business

Your website does the math. You get the lead.

The Profit Margin Calculator is one of 208 calculators you can brand and embed with one line of code.

  • Free plan, no card
  • 14-day trial on Pro & Business
  • Cancel any time