---
title: "Margin Calculator: Free Online Tool with Guide & FAQs | ShoutingNow"
description: "Measure how much of each dollar of revenue becomes profit. Switch between gross margin, sales margin, and net profit margin - each mode shows margin %."
url: "https://shoutingnow.com/tools/margin-calculator/"
image: "https://shoutingnow.com/wp-content/uploads/2026/07/shoutingnow-preview-scaled.webp"
---

# Margin Calculator

See how much of each revenue dollar actually turns into profit. Switch between gross margin, sales margin, and net profit margin, and each mode shows the margin percentage, markup, profit, and a semi-circular gauge from 0 to 100%.

## How to use this margin calculator

One tool handles three common margin questions for products, services, and overall business performance. Use the tabs above the form to jump between modes without leaving the page.

### Gross margin mode

1. Pick your currency symbol for display.
2. For Value 1 and Value 2, enter an amount and say what it represents: costs, revenue, margin percentage, or markup percentage.
3. Click Calculate. The tool fills in the missing figures and shows gross margin percentage, markup percentage, gross profit, and a gauge meter.

For example, costs of $100 and revenue of $110 works out to **9.09%** gross margin, **10%** markup, and **$10** gross profit. Out of every dollar of revenue, roughly **$0.09** stays with you as gross profit.

### Sales margin mode

1. Enter the cost of production, meaning whatever it costs you to make or buy the item.
2. Enter the selling price, what the customer actually pays.
3. Click Calculate and you get sales margin percentage, markup percentage, cost percentage, and per-unit profit.

Costs of $100 and a selling price of $120 give you **16.67%** sales margin, **20%** markup, and a cost that eats up **83.33%** of the price. Every unit sold keeps **$20** in gross profit.

### Net profit margin mode

1. Set Value 1 to either total costs or net profit, whichever you have on hand.
2. Enter total revenue for the period.
3. Click Calculate for net profit margin percentage, net profit dollars, markup on costs, and a revenue-per-dollar breakdown.

Total costs of $100 against revenue of $130 lands at **23.08%** net profit margin and **$30** net profit. For every dollar of revenue collected, the business is keeping about **$0.23** as net profit.

## What is margin?

**Margin** is profit expressed as a percentage of revenue, or how much of each sales dollar you actually keep after costs. It is one of the more useful metrics for pricing, benchmarking, and gauging financial health precisely because it scales across deal sizes.

### Gross margin vs net profit margin

**Gross margin** takes revenue minus direct costs, meaning cost of goods sold, and shows product-level profitability before overhead, taxes, and financing enter the picture. **Net profit margin** factors in all costs and net profit after operating expenses, giving you the fuller bottom-line view.

### Sales margin (unit pricing)

**Sales margin** applies that same logic to a single item: production cost against selling price. It works well for retail, wholesale, and menu pricing, anywhere you know the per-unit economics.

### Margin vs markup

**Gross or net profit margin as a share of revenue**

**Profit relative to cost base**

**Margin** divides profit by *revenue*. **Markup** divides profit by *costs*. A 25% markup is not the same thing as a 25% margin, and when both numbers are positive, markup always comes out higher. This calculator shows both so you can line up with supplier quotes, which usually speak in markup, and financial statements, which speak in margin.

### Operating margin

**Operating margin** sits between gross and net: revenue minus operating expenses, before interest and taxes, divided by revenue. This tool sticks to gross, unit sales, and net profit margins, so pull your operating income line from the P&L if you need operating margin benchmarks.

## Examples and use cases

### Worked example

Take gross margin mode with costs of **$100** and revenue of **$110**:

- Gross profit = $10
- Gross margin = 10 ÷ 110 × 100 = 9.09%
- Markup on cost = 10 ÷ 100 × 100 = 10%

### Real-world use cases

- Menu pricing: A café owner enters food cost and a target selling price per dish to confirm each item clears a 65% gross margin before overhead.
- Wholesale quote review: A retailer checks whether a supplier’s 40% markup actually translates to an acceptable 28.6% margin at the planned shelf price.
- Quarterly P&L review: A founder enters total revenue and net profit from the financial statements to benchmark net margin against industry peers.

### Related calculators

- ROI Calculator, for return on invested capital over time
- Sales Tax Calculator, for adding or removing tax from selling prices

## Frequently Asked Questions

### What are the three modes on this calculator?
**Gross Margin** solves for margin from flexible cost, revenue, or percentage inputs. **Sales Margin** compares production cost to selling price per item. **Net Profit Margin** measures bottom-line profit as a share of total revenue.

### What is the difference between margin and markup?
**Margin** is profit divided by revenue. **Markup** is profit divided by costs. A $10 profit on a $100 cost and $110 revenue works out to 9.09% margin but 10% markup, two different numbers for the same sale.

### How is gross margin calculated?
Gross margin percentage equals (Revenue − Costs) ÷ Revenue × 100. Enter any two of costs, revenue, margin percentage, or markup percentage and the calculator works out the rest.

### What does the gauge meter show?
The semi-circular gauge plots your margin percentage on a 0 to 100 scale. The blue arc fills up to your result, and the center shows the exact percentage so you can eyeball it quickly.

### Can I enter net profit instead of total costs?
Yes. In **Net Profit Margin** mode, set Value 1 to **Net Profit** and enter total revenue, and the tool works out costs and margin on its own.

### What counts as a good profit margin?
It depends heavily on the industry. Software and services often run much higher net margins than grocery retail. Compare against your actual peers and watch the trend over time instead of chasing one universal number.

### Does the currency selection affect the math?
No. Currency only changes which symbol shows up in the inputs and results. The calculations run on the numbers you enter, no matter which symbol is displayed.

```json
[{"@context":"https://schema.org","@type":"Organization","name":"ShoutingNow","url":"https://shoutingnow.com/","logo":{"@type":"ImageObject","url":"https://shoutingnow.com/wp-content/themes/shoutingnow-theme/assets/images/logo.png"},"sameAs":["https://x.com/makani20","https://www.linkedin.com/in/makani20/","https://post-see.com"],"contactPoint":{"@type":"ContactPoint","contactType":"customer support","email":"support@shoutingnow.com","url":"https://shoutingnow.com/contact/"},"slogan":"Learn. Build. Grow."},{"@context":"https://schema.org","@type":"WebPage","name":"Margin Calculator","description":"Measure how much of each dollar of revenue becomes profit. Switch between gross margin, sales margin, and net profit margin - each mode shows margin %.","url":"https://shoutingnow.com/tools/margin-calculator/","inLanguage":"en-US"},{"@context":"https://schema.org","@type":"SoftwareApplication","name":"Margin Calculator","description":"Measure how much of each dollar of revenue becomes profit. Switch between gross margin, sales margin, and net profit margin - each mode shows margin %.","applicationCategory":"UtilitiesApplication","operatingSystem":"Web","url":"https://shoutingnow.com/tools/margin-calculator/","isAccessibleForFree":true,"offers":{"@type":"Offer","price":0,"priceCurrency":"USD","availability":"https://schema.org/InStock","url":"https://shoutingnow.com/tools/margin-calculator/"},"provider":{"@type":"Organization","name":"ShoutingNow","url":"https://shoutingnow.com/","logo":{"@type":"ImageObject","url":"https://shoutingnow.com/wp-content/themes/shoutingnow-theme/assets/images/logo.png"},"sameAs":["https://x.com/makani20","https://www.linkedin.com/in/makani20/","https://post-see.com"],"contactPoint":{"@type":"ContactPoint","contactType":"customer support","email":"support@shoutingnow.com","url":"https://shoutingnow.com/contact/"}}},{"@context":"https://schema.org","@type":"HowTo","name":"How to use Margin Calculator","description":"Measure how much of each dollar of revenue becomes profit. Switch between gross margin, sales margin, and net profit margin - each mode shows margin %.","url":"https://shoutingnow.com/tools/margin-calculator/","inLanguage":"en-US","step":[{"@type":"HowToStep","name":"currency","text":"Pick your currency symbol for display."},{"@type":"HowToStep","name":"Value 1","text":"For Value 1 and Value 2, enter an amount and say what it represents: costs, revenue, margin percentage, or markup percentage."},{"@type":"HowToStep","name":"Calculate","text":"Click Calculate. The tool fills in the missing figures and shows gross margin percentage, markup percentage, gross profit, and a gauge meter."}]},{"@context":"https://schema.org","@type":"FAQPage","mainEntity":[{"@type":"Question","name":"What are the three modes on this calculator?","acceptedAnswer":{"@type":"Answer","text":"Gross Margin solves for margin from flexible cost, revenue, or percentage inputs. Sales Margin compares production cost to selling price per item. Net Profit Margin measures bottom-line profit as a share of total revenue."}},{"@type":"Question","name":"What is the difference between margin and markup?","acceptedAnswer":{"@type":"Answer","text":"Margin is profit divided by revenue. Markup is profit divided by costs. A $10 profit on a $100 cost and $110 revenue works out to 9.09% margin but 10% markup, two different numbers for the same sale."}},{"@type":"Question","name":"How is gross margin calculated?","acceptedAnswer":{"@type":"Answer","text":"Gross margin percentage equals (Revenue − Costs) ÷ Revenue × 100. Enter any two of costs, revenue, margin percentage, or markup percentage and the calculator works out the rest."}},{"@type":"Question","name":"What does the gauge meter show?","acceptedAnswer":{"@type":"Answer","text":"The semi-circular gauge plots your margin percentage on a 0 to 100 scale. The blue arc fills up to your result, and the center shows the exact percentage so you can eyeball it quickly."}},{"@type":"Question","name":"Can I enter net profit instead of total costs?","acceptedAnswer":{"@type":"Answer","text":"Yes. In Net Profit Margin mode, set Value 1 to Net Profit and enter total revenue, and the tool works out costs and margin on its own."}},{"@type":"Question","name":"What counts as a good profit margin?","acceptedAnswer":{"@type":"Answer","text":"It depends heavily on the industry. Software and services often run much higher net margins than grocery retail. Compare against your actual peers and watch the trend over time instead of chasing one universal number."}},{"@type":"Question","name":"Does the currency selection affect the math?","acceptedAnswer":{"@type":"Answer","text":"No. Currency only changes which symbol shows up in the inputs and results. The calculations run on the numbers you enter, no matter which symbol is displayed."}}]},{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"ShoutingNow","item":"https://shoutingnow.com/"},{"@type":"ListItem","position":2,"name":"Tools","item":"https://shoutingnow.com/tools/"},{"@type":"ListItem","position":3,"name":"Margin Calculator","item":"https://shoutingnow.com/tools/margin-calculator/"}]}]
```