Profit Margin Calculator

Calculate your business profit margin instantly. Free profit margin calculator for small businesses, freelancers and entrepreneurs.

Gross Profit
$400.00
Profit Margin
40.00%
Profit as a % of revenue
Markup
66.67%
Profit as a % of cost

Was this calculator helpful? Share it with other business owners.

From numbers to next steps

What would improve your margin?

Compare a price change, a shift in sales volume, or lower unit costs. Then ask AI to explain your scenario.

What is a profit margin calculator?

A profit margin calculator is a simple online tool that shows how much of your revenue you actually keep as profit. For small business owners, freelancers and online sellers, profit margin is one of the most important numbers to understand. It tells you whether your pricing is healthy, whether your costs are under control, and whether your business is truly sustainable. Instead of doing the math by hand every time, this calculator gives you an instant, accurate result the moment you type in your revenue and cost.

Revenue on its own can be misleading. A business can generate huge sales and still lose money if costs are too high. Profit margin cuts through the noise by expressing profit as a percentage, which makes it easy to compare products, months, and even competitors on a level playing field.

How the profit margin calculator works

The calculator takes two inputs: your total revenue (the money you received from sales) and your total cost (what it cost you to produce or buy the goods or services you sold). It then returns three results — your gross profit in dollars, your profit margin as a percentage, and your markup as a percentage — so you can see the full picture at a glance.

  • Gross Profit — revenue minus cost, the raw dollars you kept.
  • Profit Margin — profit expressed as a percentage of revenue.
  • Markup — profit expressed as a percentage of cost.

Profit margin formula

The formula behind this calculator is straightforward:

  • Profit Margin = (Revenue − Cost) ÷ Revenue × 100

Because margin is measured against revenue, it can never exceed 100%. This is the key difference from markup, which is measured against cost and can be far higher than 100%.

Example calculation

Suppose you run an online store and sold a batch of products for $1,000 in revenue, and it cost you $600 to source and ship them. Your gross profit is $1,000 − $600 = $400. Your profit margin is $400 ÷ $1,000 × 100 = 40%. That means for every dollar of sales, you keep 40 cents as profit before overhead like rent, software and marketing.

How to improve your business profit margins

Once you know your margin, you can work to improve it. Small, consistent changes compound over time and can dramatically increase your take-home profit without needing more sales volume.

  • Raise prices carefully on your best products and test customer response.
  • Reduce cost of goods sold by negotiating with suppliers or buying in bulk.
  • Trim waste, returns and unnecessary overhead.
  • Focus marketing on your highest-margin offers.
  • Bundle products to increase average order value.

Track your margin every month using this calculator so you can spot trends early and make confident, data-driven pricing decisions.

Methodology & Accuracy

How this calculator produces its results, and the limits you should keep in mind when using them.

Formula source
The result is produced by the exact mathematical formula shown on this page. The formula is derived from the definition of the relationship between the inputs and the output (for example, profit margin is profit divided by revenue by definition). Where a formula relies on an external rule, rate, or convention, the authoritative source supporting that claim is linked in the Sources section below. The calculation has not been certified or approved by any professional body.
Assumptions
Calculations assume the figures you enter are accurate and apply to your situation. These are simplified models that may not capture every business scenario, and the estimates depend entirely on the values you select.
Uncertainty and limitations
Results are estimates based on the information entered. Actual financial outcomes may differ depending on business circumstances, market conditions, taxes, location, and other factors.
Tested with sample inputs
Tested with $1,000 revenue and $600 cost: gross profit $400 and a 40% margin — matching the worked example on this page.
Ownership and testing
This calculator is maintained by Small Business Finance Toolkit. Its calculation can be checked using the sample figures shown on this page. It has not been certified or reviewed by a licensed financial professional. Found an error or outdated information? Contact us.
Review status
Sample checks are described above where available. A complete claim-by-claim publisher review is still pending.

Sources and references

The notes below identify the topics each reference supports. Worked scenarios and calculator outputs are illustrations, not endorsements by these organizations.

  • IRS — Publication 334, Tax Guide for Small BusinessU.S. tax reportingCovers gross profit calculated after subtracting cost of goods sold from applicable business receipts, and how COGS applies to product and service businesses.https://www.irs.gov/publications/p334
  • IRS — Schedule C (Form 1040) InstructionsU.S. tax reportingSchedule C is used by U.S. sole proprietors to report business profit or loss, including gross profit and cost of goods sold.https://www.irs.gov/instructions/i1040sc

Frequently asked questions

Related calculators