Profit Margin Calculator
Profit margin from revenue and total costs
Calculate profit margin from revenue and total costs, with markup-to-margin conversion — the two ratios most people mix up.
What this tool does
Profit margin percentage is profit (revenue minus total costs) divided by revenue. This calculator takes your revenue and total costs as inputs and returns four metrics: the profit margin percentage, the absolute profit amount, the cost ratio (costs as a percentage of revenue), and the equivalent markup percentage that would be applied to your costs to reach that revenue level. The result models how efficiently costs convert to profit at your current revenue level. Profit margin is most sensitive to changes in revenue and total costs—small shifts in either will noticeably affect the percentage. A typical scenario involves analysing a product line or service offering where you know both sales figures and operating expenses. Note that this calculation does not account for taxes, financing costs, or non-cash items, and results are for educational illustration only.
Enter Values
People also use
Business & Startup
Gross Profit Margin Calculator
Calculate gross profit margin percentage from revenue and cost of goods sold — the headline ratio behind whether a business has pricing power.
Business & Startup
Net Profit Margin Calculator
Calculate net profit margin percentage from total revenue and total business expenses — the bottom-line profitability ratio after everything's paid.
Utilities
Markup Calculator
Calculate selling price from cost plus markup percentage, with the corresponding gross margin shown alongside for context.
Formula Used
Spotted something off?
Calculations or display — let us know.
Disclaimer
Results are estimates for educational purposes only. They do not constitute financial advice. Consult a qualified professional before making financial decisions.
What Profit Margin Tells You
Profit margin is the percentage of revenue remaining as profit after costs. A 25% profit margin means 25 cents of every revenue dollar is profit; 75 cents goes to costs. The metric works for any business level — gross margin (revenue minus cost of goods sold), operating margin (revenue minus operating expenses), net margin (revenue minus all expenses including tax). The calculator works as generic margin calculator — interpret the cost input as whichever cost base matches the analysis.
Realistic Profit Margin Ranges
Software and SaaS at scale: 70-90% gross margin, 15-30% net margin. Consulting and professional services: 50-70% gross, 10-25% net. Ecommerce: 30-50% gross, 2-8% net. Restaurants: 60-70% food gross margin, 3-8% net after labour. Grocery retail: 20-30% gross, 1-3% net. Manufacturing: 25-50% gross, 5-12% net. Margins vary enormously by industry — no universal target exists. Compare to industry benchmarks rather than generic targets.
Margin vs Markup Math
Margin: profit divided by revenue. Markup: profit divided by costs. A 50% markup produces 33.3% margin. A 100% markup produces 50% margin. Confusion between these is the most common pricing error. The calculator returns both for the same scenario, making the relationship visible. Retail typically uses markup (cost-plus pricing); finance and accounting use margin (profitability ratio). Same business, different framing depending on context.
Worked Example for a Small Business
Revenue 500,000. Total costs 350,000. Profit: 150,000. Profit margin: 30%. Cost ratio: 70%. Equivalent markup: 42.9%. The business keeps 30% of every revenue dollar as profit. Comparable to industry benchmark indicates whether 30% margin is healthy for the specific business type. Tracking margin over quarters reveals trend — improving margins indicate efficiency gains; declining margins signal cost pressure or competitive pricing erosion.
What Drives Profit Margin Higher
Price increases accepted by market without volume loss. Cost reduction through operational efficiency. Scale benefits on fixed costs as revenue grows. Product mix shift toward higher-margin offerings. Improved supplier negotiations. Reduced returns and refunds. Marketing efficiency improvements. Each lever requires deliberate management attention — margins rarely expand by accident.
What Drags Profit Margin Down
Cost inflation not passed to customers through prices. Competitive pricing pressure. Discounting that erodes realised margin below list. Inefficient operations or excess overhead. Product mix shift toward lower-margin items. Customer concentration that gives buyers pricing power. Currency moves on imported costs. Each factor requires specific intervention; declining margin without diagnosis becomes structural problem.
Why Margin Trend Matters More Than Level
Two businesses with 15% net margin can be in opposite trajectories. One trending from 20% down to 15% has eroding margins suggesting future trouble. Other trending from 10% up to 15% has improving margins suggesting strengthening position. Snapshot margins reveal current state; trend direction reveals future direction. Quarterly margin tracking matters more than absolute level for evaluating business health and management effectiveness.
Comparing Across Time Periods
Year-over-year margin comparison reveals operational trends. Quarter-over-quarter shows shorter-term variation. Compare to same period prior year to control for seasonality. Compare to industry benchmark to control for industry-wide effects. Compare to specific competitors where data available. The calculator produces single-period margin; comparison requires running multiple scenarios across time periods or against benchmarks.
Using Margin for Pricing Decisions
Required margin to hit profit target informs minimum acceptable price. Working backward: target profit divided by acceptable cost ratio yields minimum required revenue. Different from cost-plus pricing which works forward from cost. Margin-based pricing aligns to profitability targets; cost-plus pricing aligns to industry conventions. The calculator works either direction — use to test scenarios for required pricing to hit margin targets.
What the Calculator Does Not Model
Different cost categories that should be analysed separately. Time-based margin variation across periods. Customer-level margin differences (some customers profitable, others losses). Product-level margin differences within product mix. Geographic margin variation across markets. Tax effects on after-tax margin. Specific cost allocation methods that affect margin attribution.
Patterns Commonly Observed in Profit Margin
Confusing margin with markup. Comparing margins across industries without adjusting for structural differences. Tracking aggregate margin while ignoring product or customer-level variation. Using one period as representative when seasonal patterns matter. Not benchmarking against industry comparables. Focusing on margin level rather than trajectory direction. The calculator produces the basic ratio; meaningful margin analysis requires segmentation, comparison, and trend tracking beyond single-snapshot calculation.
Revenue $500,000 minus $350,000 costs produces 30.00% profit margin.
Inputs
This example uses typical values for illustration. Adjust the inputs above to match a specific situation and see how the result changes.
Sources & Methodology
Methodology
This calculator computes profit margin by subtracting total costs from revenue to obtain profit, then dividing that profit by revenue and multiplying by 100 to express the result as a percentage. The model assumes all revenue and cost figures are accurate and complete, that costs remain constant over the analysis period, and that the relationship between revenue and costs is linear. The calculator does not account for taxes, variable versus fixed cost structures, economies of scale, seasonal fluctuations, or changes in pricing or cost behaviour over time. Results represent a snapshot based on the inputs provided and should be treated as estimates for illustration only.
References
Frequently Asked Questions
What margin is good for my business?
How does margin differ from markup?
Track margin trends?
Can I use this for personal finance?
Related Calculators
More Business & Startup Calculators
Business & Startup
Accounts Payable Turnover Calculator
Calculate accounts payable turnover and days payable outstanding from supplier purchases and average AP. Free educational tool.
Business & Startup
Accounts Receivable Turnover Calculator
Calculate accounts receivable turnover and days sales outstanding from credit sales and average AR — how fast your invoices actually convert.
Business & Startup
Adjusted EBITDA Calculator
Calculate adjusted EBITDA with add-backs for owner compensation, one-off costs, and non-recurring items — the version a buyer or lender will actually use.
Business & Startup
Airbnb Host Profit Calculator
Calculate Airbnb host profit by entering your nightly rate, occupancy, fees, cleaning costs, mortgage, and expenses to see monthly and annual net profit.
Business & Startup
Asset Turnover Calculator
Calculate asset turnover ratio from revenue and total assets — a measure of how efficiently a business generates sales from its asset base.
Business & Startup
Break-Even Calculator
Calculate break-even point. Enter fixed costs, selling price, and variable cost to see units needed to cover costs. Free and educational.
Explore Other Financial Tools
Budget
Loyalty Card Break-Even Calculator
Calculate the annual spend needed at a retailer to break even on a paid loyalty card's annual fee, at the discount or cashback rate offered.
Marketing & Growth
CRM ROI Calculator
Calculate CRM ROI from annual platform cost, revenue lift percentage, current revenue, and efficiency savings from the workflow improvements.
Productivity & Time-Value
Commute Time Wealth Loss
Estimate lifetime wealth loss from commuting time converted to monetary value based on hourly income potential and career earnings.