Blog · Finance metrics and formulas
Fixed costs stay the same in total as volume changes; variable costs move with every unit. This page sets out the difference in one table, gives business examples of fixed, variable, semi-variable and step costs, and splits six months of a packing operation's costs with the high-low method, checked against Excel's SLOPE and INTERCEPT.
Fixed vs variable costs comes down to one question: does the total change when volume changes? Fixed costs, such as rent, salaried staff and insurance, stay the same in total within a normal range of activity; variable costs, such as materials, packaging and delivery, rise and fall with each unit. Total cost is the fixed cost plus the variable cost per unit times units, and a mixed cost can be split into the two parts from a few months of your own data.
Total cost = Fixed cost + Variable cost per unit × Units
| Fixed costs | Variable costs | |
|---|---|---|
| Total as volume rises | Stays the same | Rises in proportion |
| Per unit as volume rises | Falls | Stays the same |
| Examples | Rent, salaries, insurance, licenses, depreciation | Materials, packaging, delivery, commission, card fees |
| Who controls them | Decided in advance by management, changed by contract | Driven by orders and output, controlled by price and process |
| In the budget | A flat monthly amount | A rate per unit, flexed for actual volume |
The US tax rules use the same test. The IRS full-absorption regulation, 26 CFR 1.471-11, defines fixed indirect production costs as those that "do not vary significantly with changes in the amount of goods produced at any given level of production capacity," and variable ones as those that do.
Fixed vs variable is a different split from opex vs capex, which is about whether a cost is expensed now or capitalized. A cost can be fixed opex (rent) or variable opex (delivery).
Fixed means fixed within a range and a period. Rent is fixed until the business needs a second warehouse; salaries are fixed for the year until a new hire. Over a long enough horizon, every cost can change.
Price minus variable cost per unit is the contribution per unit, the amount each sale adds toward the fixed costs. As a share of price it is the contribution margin ratio.
Semi-variable (mixed) costs have a fixed part and a variable part. A utility bill has a standing charge plus usage; maintenance has a service contract plus repairs that grow with machine hours; a vehicle has a lease plus fuel.
Step costs are fixed over a band of activity and then jump. One supervisor covers one shift; a second shift needs a second supervisor. The cost is flat until capacity runs out, then steps up, which is why capacity is arithmetic before it is a hiring decision.
A packing operation has six monthly cost lines:
| Cost line | Behavior | Amount (USD) |
|---|---|---|
| Rent | Fixed | 40,000 per month |
| Supervisors' salaries | Fixed | 35,000 per month |
| Insurance | Fixed | 12,000 per month |
| Materials | Variable | 9.00 per unit |
| Packaging | Variable | 1.50 per unit |
| Outbound delivery | Variable | 4.50 per unit |
| Total | 87,000 per month + 15.00 per unit |
Classifying the lines one by one gives fixed costs of $87,000 a month and a variable rate of $15.00 per unit. When the ledger does not split cleanly, the same answer can be read from total cost and units alone. Six months:
| Month | Units | Total cost (USD) |
|---|---|---|
| Jan | 8,000 | 206,000 |
| Feb | 9,200 | 224,500 |
| Mar | 10,500 | 245,000 |
| Apr | 12,000 | 267,000 |
| May | 7,400 | 198,000 |
| Jun | 11,300 | 257,000 |
The high-low method takes the months with the highest and lowest activity, here April (12,000 units) and May (7,400 units):
Variable rate = (Cost at highest activity − Cost at lowest activity) / (Highest units − Lowest units)
Fixed cost = Cost at highest activity − Variable rate × Highest units
Variable rate = (267,000 − 198,000) / (12,000 − 7,400) = 69,000 / 4,600 = $15.00 per unit. Fixed cost = 267,000 − 12,000 × 15.00 = $87,000. The two methods agree.
Predict each month's cost as 87,000 + 15.00 × units and compare with the actual:
| Month | Units | Predicted (USD) | Actual (USD) | Actual − predicted (USD) |
|---|---|---|---|---|
| Jan | 8,000 | 207,000 | 206,000 | −1,000 |
| Feb | 9,200 | 225,000 | 224,500 | −500 |
| Mar | 10,500 | 244,500 | 245,000 | 500 |
| Apr | 12,000 | 267,000 | 267,000 | 0 |
| May | 7,400 | 198,000 | 198,000 | 0 |
| Jun | 11,300 | 256,500 | 257,000 | 500 |
Every month sits within $1,000 of the prediction, on costs around $200,000 to $270,000. April and May match exactly because they are the two points the method used.
High-low uses only two months, so cross-check it with a regression on all six. With units in B2:B7 and total cost in C2:C7:
=SLOPE(C2:C7,B2:B7)
=INTERCEPT(C2:C7,B2:B7)
SLOPE returns "the slope of the linear regression line" through the points, which is the variable rate: 15.19 per unit. INTERCEPT returns the fixed part: 85,094. At 10,000 units the regression predicts $236,967 and high-low $237,000, a gap of $33. When the two splits agree this closely, either can be used; when they do not, one of the high or low months is unusual. Excel's regression tool gives the same two figures with R squared alongside.
At a customer level, the variable costs are the ones a customer actually drives, which is the basis of cost to serve per customer.
Once costs are split, a variance can be split too: how much came from volume and how much from rate. Covirage's cost variance tools build that bridge from your ledger, budget and headcount files with deterministic arithmetic; the external AI model explains the result and never does the calculation. See cost variance analysis: split each cost variance into volume, rate, headcount and timing, from the files you already have. For what the split is used for, see break-even analysis; for allocating the fixed pool by activity, activity-based costing.
A fixed cost stays the same in total when output changes, within a normal range and period, so its cost per unit falls as volume rises. A variable cost changes in total in proportion to output, so its cost per unit stays roughly constant.
Salaries of permanent staff are usually treated as fixed, because they do not change with each unit produced. Hourly pay tied to output, overtime, agency labor and sales commission are variable or semi-variable. Many businesses treat staffing as a step cost that rises when capacity is reached.
A semi-variable, or mixed, cost has a fixed element and a variable element: a utility bill with a standing charge plus usage, or a vehicle lease plus fuel. Split it with the high-low method or a regression on several months of cost and activity.
Mostly variable: materials and direct costs rise with units sold. Parts of production overhead within cost of goods sold, such as factory rent and depreciation, are fixed, which is why gross margin can improve as volume rises.