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.

What this means for your business

Looks strong

A margin around this level gives room for overhead and marketing. Keep your costs stable, then track this number month after month before you scale volume.

Important: margins differ by industry and season. Use this as a decision signal for this model, not a final verdict.

Explore what could improve your margin

Adjust revenue and cost assumptions, then compare Current, Optimistic, Conservative, and Custom.

Adjust assumptions to compare scenarios.

Demand/price changes affect revenue.

Range: -20% to 20%

Supplier, fulfillment, labor, or input changes.

Range: -20% to 20%

Scenario comparison

Calculator scenario comparison table
ScenarioRevenueCostGross profitMarginChange vs current
Current$1,000.00$600.00$400.0040.00%0.00%
Optimistic$1,120.00$552.00$568.0050.71%+10.71%
Conservative$900.00$648.00$252.0028.00%-12.00%
Custom$1,000.00$600.00$400.0040.00%0.00%

Scenario margin comparison

Continue with these numbers

From numbers to next steps

Explore what could improve your margin?

Compare a price move, a sales-volume change, or a cost change. Then ask AI to explain your chosen 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.

Assumptions used in this version

  • This calculator treats your inputs as total values for the same period (for example, the same month).
  • “Cost” is defined as the cost of goods/services you are comparing directly with your revenue.
  • This is a gross-margin style result; it does not include rent, payroll, taxes, financing, or other operating-level costs unless you include them in cost.
  • Rounding is not forced by a minimum decimal rule, so results follow the app’s display formatter.

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.

Limits and what this result does not include

  • This model uses total revenue and total cost in the same period. It does not include tax, debt service, payroll taxes, advertising efficiency, or working-capital strain unless those costs are already included in your cost input.
  • One-off events (refund spikes, returns, damaged stock) can temporarily distort this single-period margin signal, so use trend lines and multiple months to confirm decisions.
  • Margin percentages are a directional indicator, not a guarantee of cash flow health; a healthy margin still requires enough actual cash conversion.
  • This page is educational and not personalized financial, tax, or legal advice.

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 listed above where available. This page is documented as an educational tool and is updated before major edits using a documented review process.

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