Variable Cost per Unit Calculator
Enter units and either build total variable cost from 6 components — materials, labor, commissions, shipping, packaging, other — or enter the total directly. See VC/unit, contribution margin per unit, CM ratio, and a full cost breakdown waterfall.
Quick preset
Input mode
Units
Variable cost components
Pricing (optional)
What to do next
Want to understand variable cost per unit in depth?
Step-by-step
What this calculator does
This variable cost per unit calculator supports two input modes. In components mode, you enter up to 6 cost categories — direct materials, direct labor, commissions, shipping, packaging, and other variable costs — and the calculator sums them into total variable cost, then divides by units. The breakdown waterfall shows each category's dollar amount and its percentage share of total variable cost.
In total mode, you enter the total variable cost directly — useful when you already have a combined figure from your accounting system. If you add a selling price, the calculator also computes contribution margin per unit (Selling Price − VC/unit) and contribution margin ratio (CM ÷ Selling Price × 100), which are the key inputs for break-even analysis and pricing decisions.
Formulas used
Total Variable Cost (components) =
Materials + Labor + Commissions + Shipping + Packaging + Other
Contribution Margin per Unit = Selling Price − VC per Unit
Contribution Margin Ratio = CM per Unit ÷ Selling Price × 100
How to use
- Select a preset or choose your input mode — Build from components or Enter total directly.
- Enter units produced or sold during the period you're analyzing.
- In components mode, fill in each cost category. Leave unused categories at 0.
- Optionally enter a selling price to see contribution margin and CM ratio.
- Click Calculate — the waterfall shows each cost's share; the interp card tells you what the VC/unit means for your margin.
Example calculations
TVC = $21,000 → VC/unit = $21.00
SP $35 → CM = $14.00 (40% ratio)
TVC = $70,000 → VC/unit = $14.00
SP $22 → CM = $8.00 (36.4% ratio)
VC/unit = $60.00
SP $95 → CM = $35.00 (36.8% ratio)
SP $28 → CM = −$2.00 (−7.1%)
Every unit sold loses money — price must increase
FAQ
What is the variable cost per unit formula?
Variable Cost per Unit = Total Variable Cost ÷ Units Produced or Sold. In components mode: Total Variable Cost = Direct Materials + Direct Labor + Commissions + Shipping + Packaging + Other Variable Costs. Contribution Margin per Unit = Selling Price − VC per Unit.
What costs count as variable?
Variable costs are those that change with output volume — they rise when you produce or sell more, and fall when you produce less. Common examples: raw materials, piece-rate labor, sales commissions per sale, outbound shipping, per-unit packaging, and transaction fees. Costs that stay roughly stable regardless of short-term volume — rent, salaried admin, annual insurance, software subscriptions — are typically fixed costs and should not be included here.
Is direct labor always a variable cost?
Not always. It depends on how labor is structured. Piece-rate workers paid per unit produced are clearly variable. Hourly workers whose hours flex with production volume are largely variable. Salaried employees whose pay stays constant regardless of output are better classified as fixed costs. Use the classification that best reflects how your labor costs actually behave.
What is contribution margin and why does it matter?
Contribution margin per unit = Selling Price − Variable Cost per Unit. It shows how much each unit sold contributes toward covering fixed costs and generating profit. A $14 CM on a $35 selling price (40% ratio) means 40 cents of every dollar of revenue is available for fixed costs and profit. Negative CM means each sale increases your loss — a critical pricing red flag.
Can I use units sold instead of units produced?
Yes, as long as the variable costs and the unit count cover the exact same period and activity. If you're analyzing costs related to production, use units produced. If you're analyzing selling costs like commissions and shipping, use units sold. Mixing periods or activity types produces a meaningless result.
How does variable cost per unit relate to break-even analysis?
Break-Even Units = Fixed Costs ÷ Contribution Margin per Unit. Variable cost per unit feeds directly into the denominator: the higher your VC/unit, the lower your CM/unit, and the more units you need to sell to break even. Reducing VC/unit by improving sourcing, labor efficiency, or shipping rates lowers your break-even point and improves margin at every volume level.
Related tools
Disclaimer: This calculator is for educational and planning purposes only. It does not provide accounting, tax, or financial advice. Actual variable cost classification depends on your industry, production model, and internal accounting policies. Mixed costs (semi-variable) may need to be split between their variable and fixed components before entry.