What Is a Variable Cost? Definition and Calculation
By Markets & Investing DeskUpdated Nov 10, 2026

Definition
A variable cost is a business expense whose total rises and falls with output or sales, while the cost per unit stays roughly constant. Materials, hourly labor and commissions are common examples.
Key takeaways
- A variable cost changes in total with activity, while the cost per unit stays roughly constant within a normal operating range.
- Fixed costs, such as rent and insurance, stay the same in total regardless of output over a given period.
- Selling price minus variable cost per unit gives the contribution margin, which drives break-even and profit-target calculations.
- Many real expenses are mixed, with a fixed base and a variable portion, and must be split before the formulas give useful answers.
A variable cost is a business expense whose total rises and falls in proportion to the volume of output or sales. Make or sell more units and the total goes up. Make or sell fewer and it goes down. At zero activity, a purely variable cost falls to zero. Raw materials, hourly production labor, sales commissions, packaging and per-shipment freight are typical examples. The defining feature is behavior, not category: a cost is variable because of how it responds to activity, not because of what it is called on a ledger.
What Is a Variable Cost?
The key relationship is between the total and the per-unit amount. A variable cost is constant per unit and changes in total. If a bottle of shampoo needs $0.80 of ingredients, the ingredient cost per bottle is $0.80 whether the plant fills 1,000 bottles or 100,000. Total ingredient spending, however, is $800 in the first case and $80,000 in the second. A fixed cost behaves the opposite way. A $10,000 monthly lease is constant in total, but spread over 1,000 bottles it is $10 per bottle, and over 100,000 bottles it is $0.10.
The “activity” that drives a variable cost depends on the expense:
- Units produced drive raw materials and production labor paid by the hour or by the piece.
- Units sold or revenue drive sales commissions and payment processing fees.
- Orders or shipments drive pick-and-pack labor, packaging and freight.
- Machine hours drive power consumed by production equipment.
In cost accounting, the measure that causes a cost to change is called the cost driver. A cost can be variable with respect to one driver and fixed with respect to another, so the classification always assumes a particular driver and time period.
How a Variable Cost Works
Calculating Variable Cost
The basic variable cost formula is:
Total variable cost = Total quantity of output × Variable cost per unit
Variable cost per unit is usually built up from its components. A manufacturer adds direct materials, direct labor paid per unit or per hour, and variable manufacturing overhead (such as power used by machines) to get a per-unit production cost. Variable selling costs, such as commissions and shipping, can be added to reach a full variable cost per unit sold.
Variable cost per unit = Direct materials + Direct labor + Variable overhead + Variable selling costs (all per unit)
Some inputs are bought in batches rather than unit by unit, so the cost has to be allocated. If a company buys 500 pounds of resin for $2,000 and that resin yields 10,000 finished parts, the resin cost per part is $2,000 ÷ 10,000 = $0.20.
When you have total spending and total output but no per-unit figure, divide one by the other:
Variable cost per unit = Total variable cost ÷ Units of output
This works only if the total you start with is purely variable. If the figure includes rent, salaried staff or other fixed items, the result is an average total cost per unit, not a variable cost.
Separating Variable Cost From a Mixed Cost
Real cost data often arrives as one lump: a monthly electricity bill, a maintenance account or total factory spending. To find the variable portion, accountants commonly use the high-low method, which compares the periods with the highest and lowest activity.
Hypothetical example: A workshop’s total production costs were $26,000 in a month when it made 4,000 units and $50,000 in a month when it made 10,000 units.
- Change in cost: $50,000 − $26,000 = $24,000
- Change in units: 10,000 − 4,000 = 6,000
- Variable cost per unit: $24,000 ÷ 6,000 = $4
- Fixed cost: $50,000 − (10,000 × $4) = $10,000 (checking the low month: $26,000 − (4,000 × $4) = $10,000)
The method assumes that the cost structure did not change between the two months and that both months fall within normal operating levels. Because it uses only two data points, an unusual month can distort the result. Regression analysis across many periods gives a more reliable split when enough data exists.
To split a cost you know only in total, you need at least two observations at different activity levels. One total-cost figure on its own cannot be divided into fixed and variable parts.
Interpreting a Variable Cost
A variable cost per unit tells you the minimum incremental cash outlay each additional unit requires, before any contribution to fixed costs or profit. Two readings follow from it:
- Price floor. In the short run, a price below variable cost per unit means each sale deepens a loss. A price above it at least contributes something toward fixed costs.
- Scaling cost. Multiplying the per-unit figure by a planned volume shows how much spending a growth plan adds.
Common Types of Variable Costs
The categories below are commonly variable, but each can include fixed elements depending on contracts and how the business is set up.
Raw Materials and Components
Raw materials are the inputs physically consumed in making a product: flour for a bakery, steel for an appliance maker, fabric for a clothing brand. If every unit uses about the same quantity, materials scale almost perfectly with output. A company that buys finished components instead of making them swaps raw material costs for purchased-part costs, which are still variable.
Direct Labor
Direct labor is variable when pay tracks output: hourly wages for production staff whose hours rise and fall with volume, piece rates, or temporary workers added for peak periods. It is fixed when workers are salaried or guaranteed a set number of hours regardless of production, and under many employment arrangements it behaves as a mixed or step cost. The classification depends on the employment terms, not the job title.
Sales Commissions
A commission is a percentage of the sale or a set amount per sale paid to the salesperson. Because it is tied to revenue rather than production, it is a variable selling cost rather than a production cost.
Utilities
Electricity, gas and water used by production equipment increase as lines run longer or faster. Most utility bills also carry a fixed portion, such as a monthly connection charge or the lighting and heating needed to keep a building open. That makes utilities a classic mixed cost.
Shipping, Freight and Fulfillment
Freight, postage, pick-and-pack labor and packaging scale with the number of orders or units shipped. For an online seller, fulfillment variable cost per order is usually calculated as:
Fulfillment cost per order = Picking and packing + Packaging materials + Shipping charge + Any per-order platform or warehouse fees
A warehouse lease or a fulfillment contract with a monthly minimum adds a fixed element on top.
Payment Processing and Transaction Fees
Card networks, payment platforms and marketplaces typically charge per transaction, a percentage of the sale, or both. These fees rise with sales volume and are variable selling costs.
Does Marketing Count as a Variable Cost?
It depends on how the spending behaves. Affiliate payouts, cost-per-sale programs and marketplace referral fees scale with sales and are variable. A fixed monthly agency retainer, a set-budget brand campaign or salaried marketing staff are fixed for the period. Pay-per-click advertising varies with clicks rather than units sold, so many analysts treat it as discretionary spending instead of a true variable cost.
Variable Costs in Service and Retail Businesses
The same logic applies outside manufacturing. In a pharmacy, the acquisition cost of medicines dispensed, dispensing supplies such as vials and labels, and card processing fees on each sale rise with prescriptions filled. Pharmacist salaries and rent do not. In a consulting firm, hourly contractor fees and project travel are variable, while partner salaries are fixed.
Variable Costs vs. Fixed Costs
| Feature | Variable cost | Fixed cost |
|---|---|---|
| Total cost as activity rises | Increases | Stays the same within the relevant range |
| Cost per unit as activity rises | Stays about the same | Decreases |
| At zero output | Falls to zero (if purely variable) | Still incurred |
| Typical examples | Materials, piece-rate or hourly labor, commissions, freight | Rent, insurance, salaries, depreciation, software subscriptions |
| Speed of adjustment | Usually quick, by changing output | Slow, often requires renegotiating or ending a contract |
| Effect on profit volatility | Dampens swings | Amplifies swings |
Fixed costs are not permanent: rent rises at lease renewal and insurance premiums change each year. But those changes come from contracts and markets, not from production volume. Variable costs, by contrast, can be adjusted quickly. A company with a cash shortfall can cut a production run tomorrow and reduce material purchases right away, while breaking a lease takes longer.
Semi-Variable (Mixed) Costs
Between the two sit semi-variable costs, also called mixed or semi-fixed costs, which have a fixed base plus a variable component. Examples include a phone plan with a monthly fee and per-minute charges above an allowance, or a delivery van with a fixed lease and fuel that varies with miles driven. Some costs step up in chunks, such as adding a supervisor for every additional shift. These step costs are fixed within each band and jump between bands.
Variable Cost vs. Average Variable Cost
Variable cost per unit is the cost to produce one unit under current conditions. Average variable cost (AVC) is total variable cost divided by total output over a period:
Average variable cost = Total variable cost ÷ Total output
The two can differ when input prices change during the period. Suppose a supplier raised material prices halfway through the year. The current variable cost per unit reflects the new price, while the year’s average sits between the old and new figures. Volume discounts, wage increases and overtime premiums create similar gaps.
In microeconomics, AVC is typically drawn as a U-shaped curve. At low output, adding workers to fixed equipment improves efficiency and AVC falls. Past a point, crowding and diminishing marginal returns push it back up. The minimum point matters for the short-run shutdown rule: a firm that cannot sell at a price at least equal to its minimum AVC loses less by temporarily stopping production, since it owes its fixed costs either way.
Variable Cost vs. Marginal Cost
Marginal cost is the change in total cost from producing one more unit. In the short run, fixed costs do not change when one more unit is made, so marginal cost equals the change in variable cost. It would equal variable cost per unit if that figure were perfectly constant. The two diverge when an additional unit triggers overtime pay, a rush shipment, a new pricing tier or a step cost such as a new shift supervisor.
So the terms overlap but are not interchangeable. Variable cost describes a category of expense. Marginal cost describes the cost of an incremental decision.
Variable Costs on the Income Statement
Standard financial statements under US GAAP do not show a line called “variable costs.” Expenses are presented by function: cost of goods sold (COGS), then selling, general and administrative expenses.
COGS is not the same as variable cost. For a manufacturer, COGS includes direct materials and direct labor, which are largely variable. It also includes fixed manufacturing overhead, such as factory depreciation and plant supervisors’ salaries, because absorption costing, which external reporting requires, assigns that overhead to inventory. Meanwhile, some variable costs never appear in COGS at all. Sales commissions, outbound shipping and payment processing fees are usually reported as selling expenses. COGS per unit and variable cost per unit can therefore differ in both directions.
For internal decisions, many companies prepare a contribution format income statement using variable costing (also called direct costing):
- Sales
- minus all variable costs (production and selling)
- = Contribution margin
- minus all fixed costs (including fixed manufacturing overhead)
- = Operating income
Under variable costing, fixed manufacturing overhead is expensed in the period it is incurred rather than held in inventory, so the variable manufacturing cost per unit is direct materials + direct labor + variable manufacturing overhead. When inventory levels change, operating income differs from absorption costing, which is why variable costing serves management reporting rather than GAAP statements.
Variable Costs vs. Direct Costs
“Direct” and “variable” answer different questions. Direct describes traceability: a direct cost can be traced to a specific product or job. Variable describes behavior: the cost moves with volume. Most direct materials are both. But a machine leased solely for one product line is direct to that line and fixed. Factory power is variable, yet it is usually an indirect cost spread across products. Likewise, a product cost (one included in inventory) can be variable, like materials, or fixed, like factory depreciation.
Why Is a Variable Cost Important?
Variable cost analysis feeds most short-term financial decisions:
- Pricing. Per-unit variable cost shows how much room a price cut or discount really has.
- Budgeting and planning. A plan to double output roughly doubles variable spending, while fixed costs may stay flat or step up.
- Break-even and profit targets. These calculations require separating variable from fixed costs.
- Cost structure choices. Choosing between a fixed fee and a per-unit charge for the same resource changes the company’s risk profile.
Contribution Margin
Contribution margin is what remains from sales after variable costs are covered:
Contribution margin per unit = Selling price per unit − Variable cost per unit
Contribution margin ratio = (Sales − Variable costs) ÷ Sales
Each dollar of contribution margin first goes toward fixed costs. Once fixed costs are covered, each additional dollar becomes operating profit. That leads directly to the formulas that connect selling price, variable cost and fixed cost:
Break-even units = Fixed costs ÷ Contribution margin per unit
Units for a target profit = (Fixed costs + Target profit) ÷ Contribution margin per unit
Profit = (Price − Variable cost per unit) × Units sold − Fixed costs
These formulas assume that price and variable cost per unit stay constant over the volume being analyzed.
Operating Leverage
The mix of fixed and variable costs determines operating leverage: how sharply profit responds to a change in sales. A business with mostly fixed costs has high operating leverage. Once sales cover its fixed base, most of each extra dollar of revenue falls to profit, but a sales drop hits profit just as hard. A business with mostly variable costs has lower leverage, since its costs shrink with sales, which cushions downturns but limits the profit from each extra sale.
Hypothetical example: A company can lease a packaging machine for a flat $2,000 per month, or pay $0.10 for every unit the machine packs.
- At 5,000 units a month, the per-unit option costs $500, which is $1,500 cheaper than the flat fee.
- At 20,000 units, both options cost $2,000. This is the indifference point ($2,000 ÷ $0.10).
- At 50,000 units, the per-unit option costs $5,000, so the flat fee saves $3,000.
The flat fee is the better choice if volume reliably exceeds 20,000 units and the riskier one if volume is uncertain.
Example of a Variable Cost
Hypothetical example: A small candle maker sells each candle for $25. Its variable cost per candle is:
| Component | Cost per candle |
|---|---|
| Wax, fragrance and wick | $3 |
| Glass jar | $2 |
| Label and gift box | $1 |
| Hourly production labor | $4 |
| Total variable cost per candle | $10 |
Monthly fixed costs (studio rent, insurance, website subscription and the owner’s salary) total $3,000. The assumptions are that these figures hold across the volumes shown and that every candle made is sold.
| Candles sold | Total variable cost | Fixed cost | Total cost | Sales | Profit (loss) |
|---|---|---|---|---|---|
| 0 | $0 | $3,000 | $3,000 | $0 | ($3,000) |
| 100 | $1,000 | $3,000 | $4,000 | $2,500 | ($1,500) |
| 200 | $2,000 | $3,000 | $5,000 | $5,000 | $0 |
| 300 | $3,000 | $3,000 | $6,000 | $7,500 | $1,500 |
| 500 | $5,000 | $3,000 | $8,000 | $12,500 | $4,500 |
Contribution margin: $25 − $10 = $15 per candle, a ratio of $15 ÷ $25 = 60%.
Break-even: $3,000 ÷ $15 = 200 candles. At 100 candles, the business generates $1,500 of contribution margin against $3,000 of fixed costs, so it loses $1,500.
Target profit: To earn $6,000 a month, it needs ($3,000 + $6,000) ÷ $15 = 600 candles.
Effect of cutting variable cost: If a cheaper jar supplier lowers the variable cost to $8, the contribution margin rises to $17 per candle (68%). Break-even falls to $3,000 ÷ $17 ≈ 176.5, so 177 candles, and profit at 500 candles rises from $4,500 to $5,500. A cheaper jar that chips or looks worse can lower sales, though, and erase the gain.
Relevant Range and Other Limitations
Relevant Range
Cost behavior holds only within a relevant range, the band of activity a business normally operates in. Outside it, the assumptions break down:
- Volume pricing. A supplier might charge $0.50 per pound up to 1,000 pounds and $0.48 per pound above that. The cost is still variable, but the per-unit rate changes at the tier.
- Overtime and capacity. Pushing a plant beyond normal hours brings overtime premiums, more scrap and extra maintenance, so variable cost per unit rises.
- Fixed costs that step up. Beyond capacity, a second warehouse or another shift becomes necessary. A cost that was fixed jumps to a new level.
Other Limitations
- Linearity is an approximation. Break-even and contribution formulas treat variable cost per unit as constant. Learning effects, waste rates and bulk discounts make real costs curve.
- Classification depends on the time frame. Over a single week, most labor is fixed. Over a year, staffing levels can change, so labor behaves more like a variable cost. Over a long enough period, almost every cost is variable.
- Allocation involves judgment. Splitting mixed costs and allocating batch purchases relies on estimates. Two analysts can reach different per-unit figures from the same ledger.
- Input prices move. Commodity prices, wages and freight rates change over time, and general price levels shift with inflation. A variable cost per unit calculated last year may not hold this year.
FAQs
Can a company have no variable costs?
Almost none. Even software and digital businesses incur per-user hosting, payment processing and customer support costs that scale with usage. These are small next to fixed development costs, which gives such businesses high operating leverage.
The Bottom Line
Business owners, managers and analysts who set prices, build budgets or calculate break-even need variable costs separated from fixed and mixed costs first. Variable cost per unit marks the short-run price floor and drives contribution margin, but the figure holds only within the relevant range. Recheck it when volume, contracts or input prices change, since a per-unit cost from last year may not hold this year.















