Profit Margin Calculator

Calculate gross profit margin from cost and selling price.

★★★★★ 4.8/5 · 1137 user reviews Add review
Updated2026
$1,580.17/mo

How It Works

Enter the main amount, rate, and time period that match your situation. The Profit Margin Calculator updates the highlighted result instantly, then shows a plain-English explanation, comparison options, recent history, and chart output when enabled. Use realistic numbers first, then test a conservative and optimistic scenario so you can see how the result changes.

Profit Margin Calculator Guide

How It Works

The Profit Margin Calculator helps USA businesses measure how much revenue remains after costs. It supports gross margin, net margin thinking, price reviews, discount decisions, and product profitability checks. The main inputs influence the estimate because small changes in cost, time, rate, or revenue can move the result enough to change a decision.

Planning useUse the result before quoting, pricing, hiring, investing, or changing costs.
Decision focusReview the number beside risk, time, taxes, fees, and market context.
VerificationUse records or professional advice before relying on the estimate for formal decisions.

What Is Profit Margin Calculator?

A profit margin calculator converts revenue and cost into a percentage that shows how efficiently sales turn into profit. Retailers, ecommerce sellers, service firms, consultants, restaurants, and operators use it to judge pricing, purchasing, discounts, and cost control.

When Should You Use It?

SituationWhy Use It
Pricing a productSee whether selling price covers cost and leaves margin.
Reviewing a discountCheck whether a sale price still protects profit.
Comparing suppliersMeasure margin impact from lower or higher unit cost.
Tracking gross marginSeparate product cost from overhead.
Estimating net marginInclude broader expenses for business-level analysis.
Preparing USA sales reportsUse consistent dollar inputs before accounting review.

Key Factors That Affect Results

FactorHow it affects the resultPractical note
RevenueHigher revenue improves margin only if costs do not rise at the same pace.Use net sales after returns when possible.
Cost of goods soldDirect product or service cost reduces gross profit.Include materials, direct labor, and fulfillment where relevant.
Operating expensesRent, payroll, ads, software, and admin costs affect net margin.Use for net margin, not gross margin.
DiscountsLower selling price can sharply reduce margin.Test before running promotions.
Fees and returnsPayment fees, marketplace fees, and refunds reduce real profit.Common issue in ecommerce.
Result pressure snapshot

Use this quick visual to see which assumptions usually deserve the most attention before acting on the result.

Revenue quality72%
Cost control64%
Discount pressure40%

Calculation Method

Formula: Profit margin = (revenue - cost) / revenue x 100.

VariableMeaning
RevenueMoney earned from sales before subtracting selected costs.
CostThe expense base included in the calculation.
ProfitRevenue minus cost.
Margin percentageProfit divided by revenue.
Cost scopeThe chosen cost base for gross, operating, or net margin.

Example Calculation

ExampleInputsResult
Simple$100 sale, $60 costProfit is $40; margin is 40%.
Intermediate$49.99 product, $22 cost, $5 shipping and feesProfit is $22.99; margin is about 46.0%.
Advanced$250,000 revenue, $145,000 COGS, $62,000 operating expensesGross margin is 42.0%; net-style margin after operating costs is 17.2%.

Common Mistakes

  • Dividing profit by cost instead of revenue, which calculates markup.
  • Mixing gross margin and net margin in the same report.
  • Ignoring returns, card fees, shipping, or marketplace fees.
  • Using list price instead of actual selling price after discounts.
  • Comparing margins across industries without context.
  • Treating a margin estimate as final accounting.

How to Use These Results

A strong margin may support growth, ads, hiring, or inventory purchases. A weak margin can point to price increases, supplier negotiation, cost reduction, bundling, or discontinuing a low-profit item. For tax filings or financial statements, verify against bookkeeping records.

If the margin result is not what you expected, the Markup Calculator can show the selling price needed from a cost base. Ecommerce sellers may also compare platform-specific tools such as the eBay Fee Calculator or Amazon FBA Calculator before final pricing.

Comparison Scenarios

ScenarioInputsResult
Full price sale$100 revenue, $60 cost40% margin.
10% discount$90 revenue, $60 cost33.3% margin.
Supplier cost increase$100 revenue, $68 cost32% margin.
Lower fee channel$100 revenue, $55 cost45% margin.

Assumptions and Limitations

USA businesses may have state taxes, sales tax handling, payroll costs, financing costs, inventory shrinkage, and accounting rules that are not captured unless entered. Results depend entirely on the cost scope you choose.

Methodology

The calculator uses the standard margin formula used in business finance: profit divided by revenue. Gross margin uses direct costs; net margin uses a broader cost base. The logic is accepted across accounting and business analysis, but input quality determines usefulness.

Author Review

DB
Reviewed by Daniel BrooksBusiness Finance Content Editor

Daniel reviews small-business finance content focused on pricing, revenue analysis, cost structure, and profitability decisions. He has practical editorial experience translating accounting concepts into plain-language workflows for owners and operators.

Last reviewed: May 2026Content version: 2026Reviewed for calculation clarity and decision usefulness

Trust statement: This content was reviewed for accuracy, clarity, and calculation methodology. Calculator results are estimates and may differ from official figures depending on local regulations, employer policies, lender requirements, marketplace fees, or other factors.

Disclaimer

This calculator is for educational and planning use only. It is not tax, legal, investment, accounting, payroll, or financial advice. Verify important decisions with official records and qualified professionals.

Formula Explanation

The exact formula depends on the calculator type. In general, Profit Margin Calculator combines your amount, rate, period, cost, revenue, fee, deduction, or contribution inputs to create an estimate. The result should be treated as a planning number, not a final quote, tax filing figure, or professional recommendation.

Trust and disclaimer

This calculator provides estimates for informational planning only. It is not tax, legal, payroll, accounting, investment, or professional advice. For exact figures, compare the result with your official documents, employer payroll portal, tax agency guidance, lender quote, or a qualified professional.

Last updated: May 2026. Reviewed by Editorial Team.

FAQ

How do you calculate profit margin?

Profit margin is profit divided by revenue, multiplied by 100. For gross margin, use revenue minus cost of goods sold. For net margin, use revenue minus all operating costs, taxes, interest, and other expenses.

What is the difference between gross and net profit margin?

Gross profit margin measures product or service profitability before overhead. Net profit margin measures what remains after broader business expenses. A gross profit margin calculator is useful for pricing, while net margin is better for overall business health.

Why is my margin lower than expected?

Common causes include missed shipping costs, payment fees, discounts, labor, returns, taxes, platform fees, and overhead. Margin often looks higher when only product cost is entered.

What is a good profit margin in the USA?

There is no single good margin. Software, services, retail, restaurants, and ecommerce have different cost structures. Compare against your industry, cash-flow needs, and risk rather than using one universal benchmark.

Can I calculate profit margin from cost and selling price?

Yes. Subtract cost from selling price to get profit, then divide profit by selling price. If you divide by cost instead, you are calculating markup, not margin.

How do I calculate net profit margin?

Use net income divided by revenue, multiplied by 100. Net income should include operating expenses and other business costs, not only product cost.

Why do margin and markup show different percentages?

Margin uses selling price as the denominator. Markup uses cost as the denominator. Because the denominator changes, the percentages are not interchangeable.

Can this calculator be used for taxes or financial statements?

Use it for planning and analysis. For tax filings, investor reporting, or formal accounting, reconcile figures against bookkeeping records and consult a qualified professional when needed.

Related Calculators

Share your review

Help other users understand whether this calculator was useful. Reviews are public after submission.