BUS 110 · Business Math and Statistics for Accountants

Linear Equations and Cost Lines

Read slope and intercept as variable and fixed cost, build a cost line from two months of data, and find where revenue crosses cost.

Key takeaways

  • A linear equation y = a + bx describes a straight line with a starting value a and a steady change b for each extra unit of x.
  • In a cost line, the intercept is fixed cost and the slope is variable cost per unit.
  • Two observations are enough to draw a line, and the high-low method picks the busiest and quietest periods to do it.
  • Where a revenue line crosses a cost line, the business breaks even, and to the right of that point it makes a profit.
  • A cost line is trustworthy only inside the range of activity where the cost behavior stays the same.

Rosa runs a taco truck. In March she served 800 meals and her costs came to $5,200. In July she served 1,500 meals and spent $7,300. Her cousin does a quick division: "March was $6.50 a meal, July was $4.87 a meal. Did you suddenly get thrifty?"

Rosa did not change her recipes or haggle with anyone. The truck simply has some bills that arrive whether she serves one taco or two thousand. Spread over more meals, those bills look smaller per plate.

To see what is really going on, Rosa needs to split her costs into two parts: the part that sits still and the part that grows with each meal. A straight line does that job beautifully. The line's starting height is one part and its tilt is the other. By the end of this lesson you will be able to build such a line from two data points, read it like a sentence, and see where it crosses another line.

The anatomy of a straight line

A linear equation with two variables can be written as

y = a + bx

Here x is the input, the thing that varies, and y is the output that depends on it. In Rosa's world, x is meals served and y is total cost in dollars.

The number a is the intercept, the value of y when x is zero. It is where the line hits the vertical axis. The number b is the slope, the amount y changes when x goes up by one. Slope is a unit rate, the "per one" idea from percentages, ratios and rates.

You can also find a slope from any two points on the line:

slope = change in y ÷ change in x

A straight line has the same slope everywhere. Each extra meal adds the same number of dollars, whether it is meal number 10 or meal number 1,000. That sameness is what "linear" means. A positive slope climbs, a negative slope falls, and a slope of zero is perfectly flat.

A cost line read as a sentence
Total cost = Fixed cost + Rate × Meals Total cost = y All costs for the month Fixed cost = a, the intercept Paid even with zero meals Rate = b, the slope Variable cost for each meal Meals = x How busy the month was Total cost = Fixed cost + Rate × Meals Total cost = y All costs for the month Fixed cost = a, the intercept Paid even with zero meals Rate = b, the slope Variable cost for each meal Meals = x How busy the month was

Fixed, variable and mixed costs

A fixed cost stays the same in total when activity changes: the truck payment, the permit, the insurance. A variable cost rises in total in direct proportion to activity: tortillas, fillings, napkins. A mixed cost has some of each. Rosa's phone plan charges a flat monthly fee plus an amount per card transaction, so it is mixed.

Notice an odd twist. Variable cost is steady per unit but changes in total. Fixed cost is steady in total but changes per unit. If fixed costs are $2,800, that is $3.50 per meal at 800 meals and about $1.87 per meal at 1,500 meals. This is why the cousin's division misled him.

On a graph, a pure fixed cost is a flat line. A pure variable cost starts at zero and rises. A mixed cost starts above zero and rises. The total cost of a whole business is almost always mixed.

Building the line with the high-low method

Rosa has two months of numbers. The high-low method takes the periods with the highest and lowest activity and draws a line through them.

Step 1: find the slope.

change in cost  = 7,300 - 5,200 = 2,100
change in meals = 1,500 - 800   = 700
variable cost per meal = 2,100 ÷ 700 = $3.00

Step 2: find the intercept. Pick either month and subtract the variable part.

using July:  fixed = 7,300 - (3 × 1,500) = 7,300 - 4,500 = 2,800
using March: fixed = 5,200 - (3 × 800)   = 5,200 - 2,400 = 2,800

Both give $2,800, which is a nice check on the arithmetic. The cost line is

total cost = 2,800 + 3x

Step 3: use it. If Rosa expects 1,100 meals next month, predicted cost is 2,800 + 3 × 1,100 = $6,100.

The method is quick, but it listens to only two months. If one of them was weird, say a broken fryer or a festival weekend, the line will be wrong. Suppose three other months showed 900 meals at $5,500, 1,000 meals at $5,850 and 1,200 meals at $6,350. The line predicts $5,500, $5,800 and $6,400. Those are close, with misses of only $0, $50 and $50. A method that uses every point at once appears in correlation and regression.

Adding a revenue line

Rosa sells each meal for an average of $7. Revenue starts at zero, since no meals means no sales, and climbs $7 per meal:

revenue = 7x

The two lines cross where revenue equals cost. Set them equal:

7x = 2,800 + 3x
4x = 2,800
x  = 700

At 700 meals, revenue and cost are both $4,900. Below that point the cost line is on top, and the gap is a loss. Above it the revenue line is on top, and the gap is profit.

Rosa's cost and revenue lines
Dollars (thousands) 700 $4,900 Revenue = 7x Total cost = 2,800 + 3x Fixed cost Break-even loss profit Meals per month (hundreds) Dollars (thousands) 700 $4,900 Revenue = 7x Total cost = 2,800 + 3x Fixed cost Break-even loss profit Meals per month (hundreds)

The $4 left from each meal after its variable cost is the contribution per unit. It first pays off the $2,800 and then becomes profit. The idea returns in contribution margin.

Lines that fall: value that wears down

Not every business line climbs. Rosa bought a grill for $6,000 and expects it to serve 5 years, ending with a resale value of $1,000. If she spreads the loss of value evenly, its book value follows a straight line that slopes downward.

The drop each year is (6,000 − 1,000) ÷ 5 = $1,000. So after t years:

book value = 6,000 - 1,000t

The intercept, $6,000, is the value on day one. The slope, −1,000, says the value falls $1,000 for each year. At t = 3 the book value is $3,000. At t = 5 it reaches the $1,000 floor, and the line stops there, because the formula is only meant for the grill's useful life. This is straight-line depreciation, which appears in adjusting entries and long-lived assets. Book value is an accounting measure; the price a buyer would actually pay could be higher or lower.

The same idea fits a prepaid insurance policy that is used up month by month, or a gift card balance that a customer spends at a steady pace. Whenever an amount changes by the same number of dollars each period, a line describes it.

Reading a line from a table

Sometimes you get a table and must decide whether a line fits at all. Check the changes. If equal steps in x always bring equal steps in y, the relationship is linear.

Meals Total cost Change per 100 meals
800 $5,200
900 $5,500 $300
1,000 $5,800 $300
1,100 $6,100 $300

Every step of 100 meals adds $300, so the slope is $3 per meal. Working back from 800 meals, 5,200 − 800 × 3 = 2,800, the fixed cost again. Real data rarely lines up this perfectly. If the steps were $300, $280, $330, a line could still be a useful approximation. If they were $300, $500, $900, the cost is speeding up, and a straight line would mislead you.

Worked example: choosing a card processor

Rosa is offered two payment processors, with made-up prices.

  • Processor A: no monthly fee, 3% of card sales.
  • Processor B: $50 a month, 2% of card sales.

Let s be monthly card sales in dollars. The fee lines are A = 0.03s and B = 50 + 0.02s.

Step 1: find where they are equal.

0.03s = 50 + 0.02s
0.01s = 50
s     = 5,000

Step 2: test each side. At $3,000 of card sales, A costs $90 and B costs $110. A wins. At $8,000, A costs $240 and B costs $210. B wins.

Step 3: state the rule. Below $5,000 choose A; above $5,000 choose B; at $5,000 both cost $150.

Two fee plans cross at $5,000 of card sales
Monthly fee ($ hundreds) $5,000 $150 Plan A: 3% Plan B: $50 + 2% Same fee Monthly card sales ($ thousands) Monthly fee ($ hundreds) $5,000 $150 Plan A: 3% Plan B: $50 + 2% Same fee Monthly card sales ($ thousands)

The plan with the higher intercept has the lower slope. That is the usual trade: pay more up front to pay less per unit. The same logic compares renting with buying, or a salary with a commission.

Where the straight line stops being true

A cost line is a simplification. It holds only in the relevant range, the span of activity where fixed costs stay fixed and the cost per unit stays steady.

Suppose Rosa's truck can serve at most 1,800 meals a month. Past that she needs a second truck, and fixed costs leap upward. A cost that jumps at certain levels is called a step cost. Very large orders might also earn volume discounts on ingredients, which would bend the slope. Overtime pay would bend it the other way.

The intercept is also easy to over-read. The line says that at zero meals, costs are $2,800. But Rosa never observed a zero month. If she parked the truck for a season, she might cancel some insurance or let a helper go. The intercept is the estimate of fixed cost for normal operations, not a promise about a shutdown.

Here is the short rule: use the line for predictions near the data you have, and treat anything far outside it with suspicion.

The common mistake: dividing total cost by units

Rosa's cousin took March's $5,200 and divided by 800 to get $6.50 a meal. Then he said, "So 1,500 meals will cost 1,500 × 6.50 = $9,750."

The true July figure was $7,300. His estimate overshot by $2,450, because he treated fixed cost as if it grew with every meal. The average cost per meal includes a slice of fixed cost, and that slice shrinks as volume rises.

The correct method keeps the two parts separate: first multiply the variable rate by the units, then add the fixed cost once.

Forecasting July's cost two ways
Average-cost shortcut $9,750 Cost line $7,300 What July actually cost $7,300 Average-cost shortcut $9,750 Cost line $7,300 What July actually cost $7,300

Hypothetical example: the numbers are made up to show the method, not a quote or an average.

Similar confusion arises in pricing. A manager who turns down an order paying $5 a meal because "our cost is $6.50" may be throwing away $2 of contribution per meal, if the truck has idle capacity and the order would not disturb other sales. Real decisions also weigh capacity, customers and fairness, but the starting point is knowing which costs actually change.

Now that you can describe how cost grows steadily, the next unit looks at money that grows by compounding, beginning with simple and compound interest. Interest introduces curves, where each step is a percentage of the one before.

Words to know

Linear equation an equation whose graph is a straight line, such as y = a + bx.

Intercept the value of the output when the input is zero.

Slope the change in the output for each one-unit increase in the input.

Fixed cost a cost whose total stays the same when activity changes.

Variable cost a cost whose total rises in proportion to activity.

High-low method estimating a cost line from the periods with the most and least activity.

Relevant range the span of activity within which the cost behavior assumptions hold.

Check yourself

  1. In the equation y = 1,200 + 5x, what do the 1,200 and the 5 mean if x is units made?
  2. Costs were $9,000 at 1,000 units and $12,600 at 1,600 units; find the variable cost per unit and the fixed cost.
  3. Using your answer to question 2, predict the cost of 1,300 units.
  4. Revenue is 15x and cost is 4,000 + 7x; what is the break-even number of units?
  5. Plan C costs $200 a month plus $1 per order, and Plan D costs $3 per order; at how many orders are they equal?
  6. Why is dividing last month's total cost by last month's units a risky way to forecast?
Show the answers
  1. Fixed cost is $1,200 for the period, and variable cost is $5 for each unit.
  2. (12,600 − 9,000) ÷ (1,600 − 1,000) = 3,600 ÷ 600 = $6 per unit, and fixed cost is 9,000 − 6 × 1,000 = $3,000.
  3. 3,000 + 6 × 1,300 = $10,800.
  4. 15x = 4,000 + 7x gives 8x = 4,000, so x = 500 units.
  5. 200 + x = 3x gives x = 100 orders.
  6. The average includes a share of fixed cost that does not grow with volume, so forecasts at other volumes come out too high or too low.

A free self-study program written for 4Accounting with AI writing tools and not reviewed line by line by a person. It is not an accredited degree and awards no credit. Check anything you rely on against a textbook or primary source. Report an error.

In this unit: Business arithmetic

  1. Percentages, Ratios and Rates in BusinessLearn to find percents, percent changes, percentage points, ratios and unit rates, and to use them to read business numbers correctly.11 min
  2. Markups, Markdowns and DiscountsSet prices from costs, tell markup apart from margin, stack discounts correctly and measure what markdowns do to profit.11 min
  3. Algebra for Business ProblemsTurn business questions into equations, solve for the unknown, rearrange formulas and handle two unknowns at once with confidence.12 min
  4. Linear Equations and Cost LinesRead slope and intercept as variable and fixed cost, build a cost line from two months of data, and find where revenue crosses cost.11 min

In the news