Distinguish profit margin from markup and compare revenue with the costs you enter.
The interactive form requires JavaScript. The worked example, formulas and source links below remain available.
Read the profit margin calculator result
A profit margin calculator helps you compare the profit produced by a dollar of sales. Enter revenue and the costs associated with that same revenue, and the tool calculates profit, margin, and markup. These measures answer different questions. Profit is a dollar amount. Margin measures profit against revenue. Markup measures profit against cost. Confusing the last two can produce a selling price that earns substantially less than you intended.
Start by naming the decision. A retailer might be checking whether a proposed discount leaves enough gross profit. A freelancer might be comparing the direct delivery costs of two completed projects. A business owner might be reviewing the gross profit available to cover operating expenses. The arithmetic is simple, but each decision needs a consistent definition of cost. The calculator can’t identify missing expenses or determine whether your bookkeeping treatment is appropriate.
Profit margin calculator inputs and assumptions
Use revenue for one product, project, department, or accounting period. Match the cost input to that same scope. Don’t compare one month of sales with a full year of expenses, or a tax-inclusive customer payment with a revenue figure that excludes tax. If customer sales tax is collected for a government agency, confirm with your accountant how it’s recorded rather than automatically treating it as money the business earned.
Returns, discounts, allowances, and refunds can also affect the revenue you should use. For a completed project, enter the amount earned after the adjustments relevant to your records. For a proposed quote, use an explicit estimate and identify what could change. A calculation based on an unsigned proposal doesn’t establish that the customer will accept the price or pay on time.
This tool labels its result gross profit, so use the cost of the goods or services associated with the entered revenue. Don’t assume the displayed figure is net income. Operating expenses, interest, taxes, and other items can affect the final profit reported by a business. The SEC’s guide to financial statements explains that progression. Match the cost boundary to the gross-profit question and review the remaining expenses separately.
How the profit margin calculator works
Let R represent revenue and C represent cost. Profit equals R − C. Profit margin equals (R − C) ÷ R × 100%. Markup equals (R − C) ÷ C × 100%. Although both percentages use the same profit amount, their denominators differ. A product that costs $80 and sells for $100 produces $20 of profit, a 20% margin, and a 25% markup.
That distinction matters when someone asks for a particular percentage on a quote. Adding 20% to an $80 cost produces a $96 price. Profit is then $16, and the margin is $16 ÷ $96, or about 16.67%. A 20% markup does not produce a 20% margin. Write the intended measure beside the percentage before calculating or approving a price.
For a positive cost and a target margin m expressed as a decimal, the required revenue is C ÷ (1 − m). For example, an $80 cost and a 20% margin require $80 ÷ 0.80, or $100. This is a mathematical price check with the entered cost held constant. It does not estimate customer demand, competitor prices, or whether a higher selling price changes the cost of providing the product.
A target must remain below 100% in this formula. With positive cost, no finite selling price produces a full 100% gross margin. As the requested margin approaches 100%, the required revenue grows rapidly; that is a consequence of the denominator, not evidence that customers will accept the price.
Profit margin: read the example as a matched set
Suppose a business records $10,000 of revenue and $7,000 of associated goods or service costs for the same period. It wants to know its current gross margin and the revenue required to reach a 40% target margin if those costs remain fixed.
| Measure | Result |
|---|---|
| Revenue | $10,000.00 |
| Cost of goods or services | $7,000.00 |
| Gross profit | $3,000.00 |
| Gross margin | 30.00% |
| Markup on cost | 42.86% |
| Revenue for a 40% target margin | $11,666.67 |
Gross profit is $10,000 − $7,000. Dividing that $3,000 by revenue gives a 30% margin; dividing it by cost gives a 42.86% markup. The target revenue is $7,000 ÷ (1 − 0.40). The profit margin calculator rounds this required revenue upward to the nearest cent so rounding does not leave the result just below the requested margin.
The example is a calculation of the costs entered, not a claim about an industry’s normal profitability. Keep the period, cost definition, and source records with the result. Without those labels, a percentage copied into a planning document can be mistaken for a different measure of performance.
The target-margin input is a scenario, not an industry benchmark. Raising revenue from $10,000 to $11,666.67 while holding cost at $7,000 requires a business explanation: a price change, a different sales mix, or another source of additional revenue. Selling more units usually changes at least some costs. Recalculate using the costs associated with the proposed volume rather than assuming the original cost stays fixed automatically.
Check a discount before assuming volume will compensate
Suppose a product sells for $100 and has an $80 unit cost. At full price it contributes $20 before costs outside this example. A 10% discount reduces the price to $90. If unit cost stays $80, profit falls to $10 and margin becomes about 11.11%. The selling price decreased by 10%, but profit per unit decreased by 50%.
At the original price, selling 100 units produces $2,000 of this modeled profit. At the discounted price, 200 units are needed to produce the same $2,000, before considering extra fulfillment, staffing, returns, or advertising costs. This is why a larger sales total doesn’t automatically make a promotion more profitable. Compare the dollars retained per unit and the realistic volume required.
Use the business break-even calculator when the decision involves monthly fixed costs and a variable cost per unit. The margin tool compares a chosen revenue-and-cost set. Break-even analysis asks how much activity is needed to cover a specified cost structure. Keeping those questions separate helps prevent fixed expenses from disappearing from the decision.
Combine products with dollars, not an average of percentages
A business can sell products with very different margins. Averaging their margin percentages gives the wrong overall result when their revenues differ. Suppose product A produces $1,000 of revenue with a 50% margin, while product B produces $9,000 with a 10% margin. Their profits are $500 and $900. Combined revenue is $10,000 and combined profit is $1,400, so the overall margin is 14%, not 30%.
For an overall calculation, add the relevant revenue amounts and their associated costs first, then calculate the ratio. If you want to understand why the result changed, compare price, volume, product mix, and cost separately. A larger share of lower-margin sales can reduce the overall percentage even if each product keeps its previous margin.
Period comparisons also need the same expense boundaries. A month that includes annual insurance or a large repair may look different from a month that excludes those costs. Whether costs should be allocated, accrued, or recorded immediately is an accounting question. The profit margin calculator reports the arithmetic of your chosen inputs; it doesn’t make that accounting policy for you.
Profit and cash available are different measures
A profitable invoice can remain unpaid. Inventory may consume cash before the related revenue is earned. Loan principal payments reduce cash even though they aren’t an ordinary operating expense in an income statement. Consequently, a positive margin isn’t proof that the business has enough money to meet payroll, taxes, supplier invoices, or debt payments this week.
The SEC’s small-business glossary defines net income in relation to revenue, gains, and expenses. A cash-flow review needs a separate record of when money enters and leaves the business. For a delayed invoice, the invoice delay cost calculator can illustrate a financing cost under stated assumptions. For debt repayment capacity, use the DSCR calculator with the income definition and debt-service period appropriate to that analysis.
Interpret zero, negative, and unusually high results
If cost exceeds revenue, profit and margin are negative. That can be a useful signal rather than a calculator failure. Review whether the loss reflects an introductory price, incomplete revenue recognition, a one-time expense, or an unprofitable activity. A negative result by itself doesn’t identify the cause.
When revenue is zero, a revenue-based margin can’t be calculated by ordinary division. When cost is zero, markup can’t be calculated in the usual way. Don’t interpret either undefined ratio as zero profitability. A cost input of zero may also be a reminder to include labor, payment processing, materials, delivery, or other expenses that were omitted.
A very high margin can be arithmetically correct while still describing only a narrow part of the business. If the input includes materials but excludes the owner’s time, rent, software, and customer acquisition, label the result accordingly. A useful comparison uses a transparent cost definition rather than the most attractive percentage.
Profit margin calculator questions
Is this calculator?
This profit margin calculator reports gross profit and gross margin from revenue and associated goods or service costs. It doesn’t automatically include operating expenses, financing costs, or taxes. Use a complete income statement when evaluating net income.
Does a higher margin always mean a better business?
No. A high percentage on a small amount of revenue may produce fewer profit dollars than a lower percentage on more sales. Cash collection, capital needs, workload, customer concentration, and recurring expenses also affect the decision. Compare both percentage and dollars.
Should I include my own labor?
For a pricing decision, ignoring the time required to deliver work can make a price seem more attractive than it is. Decide whether your input represents recorded accounting cost or an economic estimate that values your time, and state that choice. Don’t silently switch definitions between quotes.
Can this calculate the price customers will accept?
No. The target-margin formula identifies a price consistent with a cost assumption. Customer willingness to pay requires separate evidence. Test the economics of realistic prices, and revise the cost or delivery plan if the required price isn’t feasible.
Questions or corrections?
Send a question or report an issue with a published page.