Revenue Calculator with Fixed and Variable Cost
Calculate revenue, total cost, profit, contribution margin, break-even units, and break-even revenue using your fixed costs, variable cost per unit, selling price, and units sold.
Results
Enter your numbers and click Calculate to see revenue, total cost, break-even metrics, and profit.
How to Calculate Revenue with Fixed and Variable Cost
If you want to understand whether a product, service, or whole business is making money, you need more than a simple sales total. Revenue tells you how much money comes in, but fixed and variable costs tell you how much of that money actually remains after operating the business. When you combine these three elements, you can estimate profit, find your break-even point, set sales targets, and make smarter pricing decisions.
The basic idea is straightforward. Revenue is the money earned from selling units. Fixed costs are expenses that stay relatively constant regardless of short-term sales volume, such as rent, salaries for permanent administrative staff, insurance, and software subscriptions. Variable costs change with output, such as materials, packaging, shipping per order, sales commissions tied to each sale, or hourly production labor. Once you know these inputs, you can evaluate whether your business model has enough contribution margin to cover overhead and generate profit.
Revenue = Selling Price per Unit × Units Sold
Total Variable Cost = Variable Cost per Unit × Units Sold
Total Cost = Fixed Cost + Total Variable Cost
Profit = Revenue – Total Cost
Break-Even Units = Fixed Cost ÷ (Selling Price per Unit – Variable Cost per Unit)
Break-Even Revenue = Fixed Cost ÷ Contribution Margin Ratio
Step 1: Identify Your Revenue Formula
Revenue is usually the easiest part to calculate:
Revenue = Price per Unit × Number of Units Sold
For example, if you sell 1,500 units at $45 each, your revenue is:
$45 × 1,500 = $67,500
This tells you your top-line sales, but it does not tell you if the business is profitable. Many businesses confuse rising revenue with strong performance. In reality, revenue can increase while profits stay flat or even decline if costs rise too quickly.
Step 2: Separate Fixed Cost from Variable Cost
The next step is proper cost classification. This matters because break-even analysis depends on distinguishing costs that stay constant from costs that move with volume.
- Fixed costs: rent, insurance, salaried back-office staff, software tools, depreciation, loan payments.
- Variable costs: raw materials, direct labor by unit, transaction fees, packaging, shipping, per-unit royalties, sales commissions tied to volume.
Suppose your business has fixed costs of $25,000 per month and a variable cost of $18 per unit. If you sell 1,500 units, then:
Total Variable Cost = $18 × 1,500 = $27,000
Total Cost = $25,000 + $27,000 = $52,000
Step 3: Calculate Profit from Revenue and Costs
Profit is what remains after subtracting total cost from revenue:
Profit = Revenue – Total Cost
Using the same example:
- Revenue = $67,500
- Total Cost = $52,000
- Profit = $67,500 – $52,000 = $15,500
This is the number most decision-makers care about. If it is positive, you are operating above break-even. If it is negative, the current price, volume, or cost structure is not enough to support the business.
Step 4: Understand Contribution Margin
Contribution margin is one of the most important concepts in managerial accounting. It measures how much each unit contributes toward covering fixed costs and profit after variable costs are paid.
Contribution Margin per Unit = Selling Price per Unit – Variable Cost per Unit
If your price is $45 and variable cost is $18:
Contribution Margin per Unit = $45 – $18 = $27
That means every unit sold contributes $27 to fixed costs first, then to profit after fixed costs are covered.
You can also calculate the contribution margin ratio:
Contribution Margin Ratio = (Selling Price – Variable Cost) ÷ Selling Price
In this example:
($45 – $18) ÷ $45 = 0.60, or 60%
A 60% contribution margin ratio means 60 cents of every sales dollar goes toward fixed costs and profit.
Step 5: Calculate Break-Even Units
Break-even tells you the exact point where profit equals zero. At break-even, revenue covers all fixed and variable costs, but no profit has been earned yet.
Break-Even Units = Fixed Costs ÷ Contribution Margin per Unit
With fixed costs of $25,000 and contribution margin per unit of $27:
Break-Even Units = $25,000 ÷ $27 = 925.93
Since you cannot sell a fraction of a unit in most cases, you would round up and say you need 926 units to break even.
Step 6: Calculate Break-Even Revenue
Sometimes managers care more about dollars of sales than units sold. In that case, break-even revenue is more useful.
Break-Even Revenue = Fixed Costs ÷ Contribution Margin Ratio
Using the 60% contribution margin ratio:
$25,000 ÷ 0.60 = $41,666.67
This means the business needs about $41,667 in sales revenue to cover both fixed and variable costs.
Step 7: Calculate Required Revenue for a Target Profit
If your goal is not just to break even but to earn a certain profit, the formula expands slightly:
Required Revenue = (Fixed Costs + Target Profit) ÷ Contribution Margin Ratio
If you want $10,000 in profit:
($25,000 + $10,000) ÷ 0.60 = $58,333.33
That gives you a practical sales target based on your current cost structure and pricing.
Worked Example
Let us summarize the full process with one clean example:
- Fixed costs: $25,000
- Variable cost per unit: $18
- Selling price per unit: $45
- Units sold: 1,500
- Revenue = 1,500 × $45 = $67,500
- Total Variable Cost = 1,500 × $18 = $27,000
- Total Cost = $25,000 + $27,000 = $52,000
- Profit = $67,500 – $52,000 = $15,500
- Contribution Margin per Unit = $45 – $18 = $27
- Break-Even Units = $25,000 ÷ $27 = 925.93, rounded to 926
- Break-Even Revenue = $25,000 ÷ 0.60 = $41,666.67
This shows a profitable scenario because actual revenue is well above break-even revenue and actual units sold are above break-even units.
Why This Matters for Pricing and Planning
Revenue without cost context can be misleading. A product with high sales volume but weak contribution margin may consume resources and produce little profit. On the other hand, a product with moderate revenue but strong contribution margin can be highly valuable. That is why experienced operators track not only revenue growth but also margin quality.
This analysis is especially useful when you are:
- Launching a new product
- Testing a price increase
- Evaluating a discount campaign
- Comparing sales channels
- Planning production levels
- Setting monthly sales targets
- Preparing a lender or investor forecast
Comparison Table: How Cost Structure Changes Results
| Scenario | Price per Unit | Variable Cost per Unit | Fixed Cost | Contribution Margin per Unit | Break-Even Units |
|---|---|---|---|---|---|
| Lean operation | $45 | $18 | $25,000 | $27 | 926 |
| Higher overhead | $45 | $18 | $40,000 | $27 | 1,482 |
| Higher variable cost | $45 | $24 | $25,000 | $21 | 1,191 |
| Price increase | $50 | $18 | $25,000 | $32 | 782 |
This table demonstrates a central truth of revenue analysis: break-even can improve either by lowering fixed costs, lowering variable costs, or raising price. Each lever changes the business in a different way. Price increases often produce the fastest margin improvement, but only if demand remains healthy. Cost reductions can also help, but cutting too deeply may hurt service quality or output.
Real Benchmark Data to Add Context
Benchmarks help you judge whether your margins are realistic. Publicly available industry data shows that gross and operating margins vary significantly by sector, so the same revenue number can imply very different profit outcomes.
| Industry Example | Approximate Gross Margin | What It Suggests | Source Type |
|---|---|---|---|
| Software and programming | About 70%+ | Low direct variable cost often creates high contribution potential after each sale | University industry margin datasets |
| Grocery and food retail | Often under 30% | Thin margins mean high volume and strong cost control are critical | University industry margin datasets |
| Restaurants | Often around 30% | Variable inputs and labor can compress profitability even with strong demand | University industry margin datasets |
| Airlines | Often near the mid 20% range | Large fixed cost bases make break-even management especially important | University industry margin datasets |
These broad ranges illustrate why cost structure matters so much. A company with high fixed costs and thin margins needs very careful revenue forecasting. A company with a high contribution margin can often scale more efficiently once fixed costs are covered.
Common Mistakes When Calculating Revenue with Costs
- Mixing fixed and variable costs. For example, treating salaried labor as variable when it is fixed for the month can distort break-even calculations.
- Ignoring payment processing or shipping fees. These often scale with each transaction and belong in variable cost.
- Using average revenue instead of actual selling price. If pricing varies by customer or channel, use a weighted average.
- Forgetting returns and discounts. Net revenue is often lower than gross sales.
- Assuming demand stays constant after a price change. A higher price improves margin only if customers still buy.
How to Use This Calculator in Real Business Decisions
Start by entering your monthly or quarterly fixed costs. Then estimate a realistic variable cost per unit based on your current supplier, labor, packaging, and delivery assumptions. Add your current selling price and expected units sold. The tool will show your revenue, total cost, profit, break-even units, break-even revenue, and target revenue.
Once you have a baseline, test different scenarios:
- Increase price by 3% to 10% and see how break-even changes.
- Reduce variable cost by negotiating with suppliers.
- Model lower volume to understand downside risk.
- Add a target profit to determine the sales level needed for expansion or hiring.
This scenario planning is far more valuable than looking at revenue in isolation because it shows the economics behind each sales dollar.
Authoritative Resources
For deeper study, review these authoritative sources:
- IRS.gov: Deducting Business Expenses
- SBA.gov: Calculate Your Startup Costs
- NYU.edu: Industry Margin and Valuation Data
Final Takeaway
To calculate revenue with fixed and variable cost, begin with price times units sold. Then calculate total variable cost, add fixed cost, and subtract total cost from revenue to get profit. From there, use contribution margin to compute break-even units and break-even revenue. This framework gives you a practical view of business performance, helps you set realistic targets, and makes pricing and cost decisions more informed.
In short, the formula is simple, but the insight is powerful. Revenue shows scale. Costs show structure. Contribution margin shows efficiency. Profit shows outcomes. When you use all four together, you gain a much clearer picture of what your business must sell to survive and what it must sell to thrive.