For learning purposes only.Haroon and Sons, its people and its figures come from The Karachi Partition, a teaching novel by Omair Haroon (Suleman Dawood School of Business, LUMS).
Self-paced lesson 02 · The novel, chapter 6
How costs behave: fixed, variable and mixed
Late on a Thursday night, two days before the first mediation session, Zara types twelve months of figures for the bed-sheet shed into a spreadsheet. A consultant’s report has treated the shed’s electricity and maintenance as fixed costs. The monthly numbers say otherwise. Work through nine short lessons on mixed costs, the high-low method and its traps, and the line of best fit. It builds on lesson 01, Costs, contribution and break-even.
Learning outcomesBy the end, you will be able to tell fixed, variable and mixed costs apart, split a mixed cost with the high-low method, spot the two classic high-low traps (picking months by cost, and outlier months), read a scattergraph and a least-squares line of best fit with its R², and explain what correcting the split does to contribution and break-even.
Electricity, high-low
Rs. 18.65
per unit + Rs. 72,000 a month
Maintenance, best fit
Rs. 21
per unit + Rs. 58,000 a month
Busiest month
11,000
units in December
Quietest month
6,200
units in July
Lessons
0 of 9 lessons completed
Lesson 1 of 9
Fixed, variable and mixed costs
In the story
Zara has a habit she calls reading the texture of numbers: real costs wobble from month to month, so a cost line that is perfectly flat for a year makes her suspicious. Either the cost truly does not change, or someone has put it in a box that makes it look that way. On her fourth reading of the report she feels something is off, and she finally opens the appendices with their monthly figures.
The idea
How a cost behaves means how its total changes when activity (here, the number of bed sheets made) changes. There are three basic patterns:
Three ways a cost can behave
Behaviour
What happens to the monthly total as output rises
Example at the bed-sheet shed
Fixed
Stays the same (within normal capacity)
Rent, the supervisors’ salaries
Variable
Rises in step with output, from zero
Cotton yarn, consumables
Mixed (semi-variable)
Has a fixed base that is paid anyway, plus a part that rises with output
Electricity: a minimum charge plus power for the running looms; maintenance: scheduled servicing plus wear and breakdowns
A mixed cost can be written as a straight line: Total cost = fixed part + variable rate × units, or y = a + b × x where a is the fixed cost a month and b the variable cost per unit. The rest of the page is about finding a and b from past months.
Lesson 2 of 9
Why the box a cost goes in matters
In the story
The bed-sheet shed has its own electricity sub-meter and its own maintenance log. In the report both are classified as fixed, so they sit with the rent and salaries. Zara lines column F (electricity) up against column B (production): low bills in low-output months, high bills in high-output months. Not a straight line from zero, but a clear pattern.
The idea
Calling a mixed cost fixed assumes the same bill every month, whatever the output. Here is what that assumption does to electricity, using the report’s implied fixed charge (the twelve-month average):
Electricity: treated as fixed versus what was actually paid, Rs.
Month
Units made
Treated as fixed
Actual bill
Difference
Treating it as fixed hides part of the cost of each extra sheet. That has three knock-on effects for the bed-sheet line:
the variable cost per sheet looks too low, so the contribution margin looks too high;
the fixed costs look too high;
so the break-even point and the special-order minimum price from lesson 01 are both built on the wrong split.
Lesson 3 of 9
The high-low method
In the story
Zara starts with the method she half remembers from her studies. She takes the month with the highest output, December, and the month with the lowest, July, and compares their electricity bills.
The idea
Between the busiest and the quietest month, the fixed part of the bill is the same, so any difference in the bill must come from the difference in output. That gives the variable rate; the fixed part is what is left.
High-low on electricity
Month
Units made
Electricity, Rs.
December (highest output)
11,000
277,150
July (lowest output)
6,200
187,630
Difference
4,800
89,520
Variable cost per unit = difference in cost ÷ difference in units = 89,520 ÷ 4,800 = Rs. 18.65 Fixed cost a month = December’s bill − 11,000 × 18.65 = 277,150 − 205,150 = Rs. 72,000 (July gives the same: 187,630 − 6,200 × 18.65 = 72,000) So electricity ≈ Rs. 72,000 a month + Rs. 18.65 per unit
Lesson 4 of 9
The first trap: picking months by cost
In the story
Maintenance, in column H, looks almost random: quiet months followed by sharp spikes that do not line up with busy months. Working quickly, Zara picks the months with the highest and lowest maintenance bills, April and February, rather than the highest and lowest output, the mistake her old textbook warned about.
High-low on maintenance, using the wrong months
Month
Units made
Maintenance, Rs.
April (highest bill)
9,800
310,000
February (lowest bill)
8,100
94,000
Difference
1,700
216,000
Variable cost per unit = 216,000 ÷ 1,700 = Rs. 127.06 Fixed cost a month = 310,000 − 9,800 × 127.06 ≈ −Rs. 935,000
Why it is wrong
The method needs the extremes of activity, not of cost. Its logic is that output explains the difference in cost. Months chosen for their bills may differ for reasons that have nothing to do with output.
The foundation is too narrow. April and February differ by only 1,700 units, so a large gap in the bills becomes a huge rate per unit.
The months are not typical. April had a major overhaul of two old looms, new drive belts and bearings and an emergency repair to a dyeing vat heater; February had no servicing and no breakdowns.
A negative fixed cost is impossible. The shed cannot be paid Rs. 935,000 a month for doing nothing; a result like that is a red flag.
Lesson 5 of 9
The second trap: outliers
In the story
Zara redoes maintenance properly, with December and July, the busiest and quietest months. Now the rate is far too low. July turns out to be the month a drive motor on one of the old looms burned out and had to be rewound: an expensive repair in the quietest month of the year.
High-low on maintenance, using the right months
Month
Units made
Maintenance, Rs.
December (highest output)
11,000
282,300
July (lowest output, motor rewound)
6,200
240,000
Difference
4,800
42,300
The novel gives the result (Rs. 8.81 a unit) but not December’s and July’s maintenance bills; these are from the twelve-month figures filled in for this lesson.
Variable cost per unit = 42,300 ÷ 4,800 = Rs. 8.81, and the fixed part ≈ 282,300 − 11,000 × 8.81 ≈ Rs. 185,000 a month
The method is not wrong: these are the right months. Its weakness is that it uses only two months out of twelve, and a single breakdown in either one distorts the answer. An outlier is a month that does not fit the usual pattern, for reasons that have nothing to do with activity. Zara deletes both calculations.
Lesson 6 of 9
Seeing all twelve months: the scattergraph
In the story
Zara decides she needs to see the whole picture at once. She plots all twelve months on a quick chart: units made along the bottom, maintenance cost up the side. The dots are scattered, but there is a direction to them: busier months tend to cost more.
The idea
A scattergraph plots each month as one dot: activity on the horizontal axis, cost on the vertical. It uses every month, shows the general direction, and makes outliers easy to spot.
Monthly figures filled in for this lesson so they match the novel’s stated results. The novel gives only some of the figures (December and July output and electricity; April and February output and maintenance) and the results Zara works out. The other figures are made up so that every stated result comes out exactly. See “Notes on the figures” in the Key terms tab.
The bed-sheet shed’s twelve months
Month
Units made
Electricity, Rs.
Maintenance, Rs.
Two dots stand out: February, far below the others (no servicing, no breakdowns), and April well above (the overhaul). July sits high for such a quiet month (the rewound motor). The rest follow a rough upward path: a base of scheduled maintenance paid every month, plus wear and breakdowns that rise with machine use, though not smoothly, because machines do not break down smoothly.
Lesson 7 of 9
The line of best fit (least squares)
In the story
Zara adds a trendline. The spreadsheet draws the straight line that keeps the sum of the squared vertical distances to all twelve dots as small as possible. She reads off about Rs. 58,000 a month where it crosses the vertical axis, and about Rs. 21 a unit from its slope. Several dots sit well above the line and several well below, but because all twelve months are used, their noise partly cancels out instead of being blown up.
The idea
The least-squares line of best fit (also called regression) chooses a and b so that the line is as close as possible to all the dots at once, measured by the squared vertical gaps. You rarely work it out by hand, but the formula shows what it does: the slope measures how cost and output move together, relative to how much output moves.
Slope b = Σ(x − x̄)(y − ȳ) ÷ Σ(x − x̄)² = ÷ = per unit Intercept a = ȳ − b × x̄ = − × = a month (x̄ and ȳ are the twelve-month averages of units made and maintenance cost.)
Three ways to split maintenance, and the cost they predict for a 10,000-unit month
Method
Fixed a month, Rs.
Variable per unit, Rs.
Prediction at 10,000 units, Rs.
R² (R-squared) says how much of the month-to-month variation in cost the line explains, from 0 (none) to 1 (all). For maintenance it is : output explains only about a quarter of the ups and downs; the rest is breakdowns and the timing of servicing. For electricity it is , a very close fit, which is why the high-low method worked well there (the line gives ).
Still an estimateThe line describes the past twelve months. It is more trustworthy than two chosen months, but a low R² is a warning that any single month can be far from it, and predictions well outside the range of past output (6,200 to 11,000 units) are guesses.
Lesson 8 of 9
What the corrected split does
In the story
Past ten o’clock, Zara rebuilds the bed-sheet line’s numbers with both corrections: electricity split by high-low, maintenance by the line of best fit. The report’s conclusions do not reverse, but its specific numbers are wrong, not dishonestly, just simplified. She phones Imran, her lawyer, who says any adjustment will be minor. She suspects Bilal’s side has already noticed.
From lesson 01: the report has a variable cost of Rs. 504.40 a sheet, a contribution of Rs. 315.60 and fixed costs of Rs. 2,870,000 a month. Now Rs. 18.65 (electricity) + Rs. 21 (maintenance) = Rs. 39.65 a sheet moves into variable cost, and only Rs. 72,000 + Rs. 58,000 = Rs. 130,000 a month of the two bills stays fixed.
From the report’s fixed costs to the corrected fixed costs, Rs. a month
The bed-sheet line before and after Zara’s correction
Item
Report (all fixed)
Corrected (mixed costs split)
The line is less sensitive to volume than the report said. Profit at 9,200 sheets is unchanged, because the corrected figures are built from the same months. But each extra sheet adds less (Rs. 275.95, not Rs. 315.60), and each lost sheet costs less: the loss at 6,000 sheets is smaller and the profit at full capacity is lower. Not dramatic, as Zara says, but these are the numbers that will be challenged on Saturday.
AssumptionThe novel does not say how much electricity and maintenance the report put in the Rs. 2,870,000. This page assumes it used their twelve-month averages (Rs. 243,580 and Rs. 251,200). The novel later uses the same corrected variable rates (Rs. 18.65 and Rs. 21) and fixed parts (about Rs. 130,000 a month).
Lesson 9 of 9
Check your understanding
Eight questions on the whole page. You get feedback straight away, and you can try again as often as you like.
Try it yourself in the workbench
The holds all twelve months. Predict each answer before you look:
Pick April and February for maintenance. Where does the high-low line cross the vertical axis?
Pretend July’s motor never burned out. How far does the December–July rate move?
Switch to electricity. Why do the two methods nearly agree there?
Predict a 12,000-unit month. Why should you trust that less than a 9,000-unit month?
Key terms and formulas
Every term used in the lessons, in plain English, with the bed-sheet shed’s figures. The lesson link takes you to where it is explained.
Cost behaviour terms, meanings and formulas
Term
Plain meaning
Formula or example
Lesson
Common mistakes to avoid
Calling a mixed cost fixed because it is simpler. It understates the variable cost and overstates contribution.
Choosing the high-low months by cost. Use the highest and lowest activity.
Trusting two months. One breakdown in either month distorts the high-low result; check against a scattergraph.
Ignoring impossible results. A negative fixed cost or a huge rate per unit means the months chosen are not representative.
Reading too much into a line with a low R². It is the best straight line through scattered data, not a precise measurement.
Predicting far outside past activity. The line only describes the range of output it was fitted on.
Notes on the figures
Monthly figures filled in for this lesson so they match the novel’s stated results. The novel prints only December (11,000 units, electricity Rs. 277,150), July (6,200 units, electricity Rs. 187,630), April (9,800 units, maintenance Rs. 310,000) and February (8,100 units, maintenance Rs. 94,000). Every other figure in the twelve-month table was made up for this page, chosen so that each result the novel states comes out: Rs. 18.65 and Rs. 72,000 for electricity by high-low; Rs. 127.06 from April and February; Rs. 8.81 from December and July; and a line of best fit for maintenance of Rs. 58,000 + Rs. 21 a unit (the novel says “approximately”; these figures give it exactly). Average output is 9,200 sheets a month, the volume in lesson 01.
December and July maintenance. The novel gives only the resulting rate, Rs. 8.81. The page uses Rs. 282,300 and Rs. 240,000, a gap of Rs. 42,300 over 4,800 units = Rs. 8.8125, which rounds to Rs. 8.81.
Electricity by regression. On these figures the line of best fit for electricity is about Rs. + Rs. a unit, close to Zara’s high-low split. Like Zara (and the later chapters), the page uses the high-low split for electricity.
The corrected fixed costs (lesson 8). The novel does not say how much electricity and maintenance the report included in the Rs. 2,870,000. The page assumes their twelve-month averages (Rs. 243,580 + Rs. 251,200), which gives corrected fixed costs of Rs. 2,505,220 and a break-even of 9,079 sheets. The novel only says the break-even and contribution were “different”, not by how much. The corrected variable rates and the roughly Rs. 130,000 a month of fixed electricity and maintenance match what the novel uses later (Chapter 10).
Rounding. High-low fixed costs are shown rounded where the rate per unit is rounded (Rs. 127.06 gives about −Rs. 935,000; Rs. 8.81 about Rs. 185,000). R² is shown to two decimals.
Every figure on this page was checked independently. The novel’s own arithmetic in this chapter is consistent.
Cost behaviour workbench
Cost behaviour workbenchStarts from the twelve months in the lessons (monthly figures filled in for this lesson so they match the novel’s stated results). Edit any figure to explore; the lessons always use the original figures.
What is this?
A tool for splitting a mixed cost into a fixed part a month and a variable part per unit, from twelve months of figures. It compares the high-low method (two months you choose) with the least-squares line of best fit (all twelve months), and predicts the cost for any output.
It assumes a straight-line relationship between output and cost, and that output is what drives the cost.
How to read it
Each dot is a month. The solid blue line is the line of best fit; the dashed amber line joins the two high-low months (amber dots).
Where a line crosses the left axis (zero units) is its fixed cost; how steeply it rises is the variable cost per unit.
R² shows how well the line fits: near 1 is close, near 0 is loose.
A monthHigh-low monthsLine of best fitHigh-low linePrediction
The twelve months (editable)
Monthly figures filled in for this lesson so they match the novel’s stated results. Only December, July, April and February come partly from the novel.
Twelve months of output, electricity and maintenance