Every business decision — pricing a product, planning a production run, deciding whether to accept a large order — ultimately comes down to one number: the total cost of making and delivering what you sell. This total cost calculator breaks that number into its two building blocks, fixed and variable cost, and shows you exactly how each unit changes the picture.
Enter your fixed costs, the variable cost to make one unit, and the quantity you plan to produce. The tool instantly returns your total cost, the average cost per unit, and — once you add a selling price — your contribution margin, break-even quantity, and estimated profit. Slide the quantity up and watch the average cost fall, which is the core idea behind economies of scale.
How to Use
- Enter your Fixed Costs — the bills you pay regardless of how many units you make. Rent, insurance, equipment leases, full-time salaries, and software subscriptions all live here.
- Enter the Variable Cost per Unit — what it costs to make one more item: raw materials, piece-rate labor, packaging, and the shipping label for a single order.
- Enter the Quantity Produced / Sold — how many units you plan to make in this period.
- Optionally enter the Selling Price per Unit. Without it the calculator still gives total and average cost; with it, you also get contribution margin, break-even volume, and profit.
- Read the result card. Total Cost is highlighted as the headline number, while Average Cost per Unit tells you the real cost baked into each item.
The result card separates the fixed lump sum from the running variable total, so you can see which part of your cost is committed and which part scales with volume.
The Total Cost Formula
Managerial accounting and introductory microeconomics use one standard equation:
TC = TFC + (VC × Q)
Where:
- TC is total cost.
- TFC is total fixed cost — the amount you owe even at zero output.
- VC is the variable cost per single unit.
- Q is the quantity produced.
Worked example: fixed costs of $5,000, a variable cost of $12 per unit, and a run of 1,000 units. The variable subtotal is $12 × 1,000 = $12,000, so total cost is $5,000 + $12,000 = $17,000. Divide that by 1,000 units and the average cost per unit is $17.00.
From there, two derived numbers drive most pricing conversations:
- Average cost per unit = TC ÷ Q. At 1,000 units that is $17.00; at 2,000 units the fixed $5,000 spreads thinner and the average drops to $14.50. Spreading fixed overhead over more units is exactly why high-volume producers can charge less.
- Contribution margin = selling price − variable cost per unit. If you sell the item for $20, each sale contributes $8 toward covering fixed costs. The break-even quantity is then $5,000 ÷ $8 = 625 units — below that volume you lose money, above it you profit.
Fixed vs Variable Costs: Know the Difference
Mixing these two up is the most common pricing mistake small businesses make.
- Fixed costs stay constant in total. Rent is the same whether you make 10 units or 1,000 — but the fixed cost per unit falls as volume rises.
- Variable costs stay constant per unit. Materials cost roughly $12 each time, no matter how many you make — but the total variable cost climbs linearly with volume.
- Semi-variable costs (like a phone plan with a data overage, or utilities with a base fee plus usage) should be split: put the fixed portion in Fixed Costs and the per-unit portion in Variable Cost.
When you are quoting a customer for a custom run, always compare their offered price to the variable cost per unit first — as long as the price covers variable cost and contributes something toward fixed overhead, taking the order can make sense even below full average cost, especially for spare capacity.
Examples
Example 1 — The baseline run. A bakery spends $5,000 per month on rent, a full-time baker, and insurance. Each cake costs $12 in flour, butter, eggs, and a box. Planning to sell 1,000 cakes: total variable cost is $12,000, total cost is $17,000, and the average cost is $17.00 per cake. If cakes sell for $30, contribution margin is $18 and the break-even point is about 278 cakes per month.
Example 2 — The scaling effect. Same bakery, but sales jump to 2,500 cakes. Fixed costs stay $5,000; variable cost rises to $30,000; total cost is $35,000. The average cost per cake drops to $14.00 — a full $3.00 per cake of margin that did not exist at 1,000 units. This is why bakers push wholesale contracts: volume itself lowers unit cost.
Example 3 — The large-order stress test. A manufacturer with $500,000 in annual fixed costs and a $12 per-unit variable cost prices a run of 1,000,000 units at $15 each. Total variable cost is $12,000,000; total cost is $12,500,000; average cost is $12.50 per unit. Contribution margin is $3, break-even volume is about 166,667 units, and at a million units the estimated profit is $2,500,000. Running these numbers before committing to a low-margin, high-volume contract prevents losing money on paper.
FAQ
What is the total cost formula?
Total cost equals total fixed cost plus total variable cost: TC = TFC + (VC × Q). Fixed costs are expenses that do not change with output (rent, insurance, salaries), and variable costs are per-unit expenses such as materials and direct labor that multiply by the quantity produced.
How do I calculate average cost per unit?
Divide total cost by the quantity produced: average cost = total cost ÷ quantity. For example, $17,000 in total cost across 1,000 units gives an average cost of $17.00 per unit. This figure is the minimum price you need to charge to break even across the whole run.
What is the difference between fixed and variable costs?
Fixed costs are paid even when you produce nothing — rent, insurance, equipment, and full-time staff. Variable costs rise with every unit made — raw materials, piece-rate labor, packaging, and shipping. Fixed costs are constant in total but fall per unit as volume grows; variable costs are constant per unit but rise in total.
How do I find my break-even quantity?
Divide your fixed costs by the contribution margin per unit: break-even = fixed costs ÷ (selling price − variable cost per unit). With $5,000 in fixed costs, a $20 selling price, and a $12 variable cost, the margin is $8 per unit and you need to sell $5,000 ÷ $8 = 625 units just to break even.
Should I price above average cost or variable cost?
Long-term, every product must cover its full average cost or the business loses money overall. For one-off orders using spare capacity, pricing above the variable cost but below average cost can still add profit, because the fixed costs are already covered by your regular sales. Use the Contribution Margin line on this page to judge that trade-off.
What counts as a fixed cost?
Typical fixed costs include facility rent or mortgage, property insurance, equipment leases, full-time salaries, subscriptions, software licenses, and annual memberships. These are committed expenses you pay whether you make zero units or thousands. If a bill scales with usage — even partially — split it and put the variable slice in Variable Cost per Unit.
Disclaimer
This total cost calculator is provided for informational purposes only and does not constitute financial, accounting, tax, or legal advice. Figures are estimates based on the inputs you enter; real costs vary by supplier, location, volume discounts, industry, and accounting method. Semi-variable costs should be split between the fixed and variable fields for the most accurate result. Always confirm your cost structure and pricing decisions with a qualified accountant or business advisor before making financial commitments.