MANAGERIAL ACCOUNTING • MANAGERIAL ACCOUNTING FOUNDATIONS

Scatterplots for Cost Estimation — Scatterplots and trendline concepts for cost estimation (intro)

Visualizing cost behavior through scatterplots enables managers to separate fixed and variable components for better decision-making.

Historical Context & Motivation

Understanding how costs change with activity levels has been a central challenge in managerial accounting since the dawn of industrialization. Early factory owners in the nineteenth century recognized that some expenses—such as rent—remained constant regardless of production volume, while others—such as raw materials—climbed proportionally with output. The problem was that many costs exhibited mixed behavior, containing both fixed and variable elements, making it difficult to forecast future expenditures or set competitive prices. Managers needed a reliable technique to tease apart these components, and visualization emerged as one of the earliest and most intuitive solutions.

The scatterplot—also called a scatter diagram or scatter graph—has roots that predate modern cost accounting. Its journey from a statistical curiosity to a standard managerial tool reflects the broader evolution of data-driven decision-making in business. Below is a timeline of the key milestones that brought scatterplots into the managerial accounting toolkit.

1833
Early Data Visualization
John Herschel used a scatter-style graph to relate planetary orbits and brightness, demonstrating that plotting paired observations on two axes could reveal hidden patterns—a principle that would later underpin cost analysis.
1886
Galton's Regression Line
Francis Galton formalized the idea of fitting a straight line through scattered data points, coining the term 'regression.' This statistical foundation made it possible to approximate a linear relationship between any two variables, including cost and activity.
1923
J. M. Clark's Cost Studies
Economist J. M. Clark published 'Studies in the Economics of Overhead Costs,' explicitly separating fixed from variable costs for managerial decisions and encouraging graphical analysis of production data to estimate cost functions.
1960s
Mainstream Cost Accounting Adoption
Cost accounting textbooks began including scatterplot exercises as an introductory cost estimation method, placing them alongside the high-low method and regression analysis. The visual approach became standard pedagogy for business students worldwide.
2000s–Present
Spreadsheet & Analytics Era
With tools like Excel and Google Sheets, scatterplots with trendlines can be generated in seconds. Yet the conceptual understanding of what the graph means remains essential: software automates computation, but the manager must still interpret whether the linear model is reasonable.

The central question that scatterplots address in managerial accounting is deceptively simple: If my activity level changes, what will my total cost be? Before any formula can answer that question, someone must look at the data, judge its linearity, spot outliers, and decide whether a straight-line model even makes sense. The scatterplot is the starting point for that entire analytical process.

Core Principles & Definitions

Before constructing a scatterplot, it is important to understand the foundational concepts that make the technique work. These principles bridge the gap between raw accounting data and actionable cost estimates. The following grid highlights the four core ideas you need to internalize.

1

Cost Behavior Classification

Costs are classified as fixed (unchanged with activity), variable (change proportionally), or mixed (contain both elements). Scatterplots help managers visually assess which category a cost belongs to before applying quantitative methods.
2

Activity Driver (Independent Variable)

The activity driver is the factor believed to cause cost changes—machine hours, units produced, labor hours, etc. It is plotted on the horizontal (x) axis of the scatterplot and serves as the independent variable in subsequent estimation.
3

Dependent Variable (Total Cost)

The total cost associated with each observation is plotted on the vertical (y) axis. By convention in cost estimation, this is the variable the manager wants to predict for a future period.
4

Trendline (Line of Best Fit)

A trendline is a straight line drawn through the scattered data points to approximate the linear relationship. Its slope represents the variable cost per unit of activity, and its y-intercept approximates total fixed costs.

A fifth but equally important concept is the relevant range, which is the span of activity over which the assumed cost behavior holds true. A linear trendline fitted to data between 1,000 and 5,000 machine hours should not be blindly extrapolated to 15,000 machine hours, because cost structures can shift at extreme volumes—for example, a company may need to lease additional equipment or hire a second shift, fundamentally altering the fixed-cost base.

KEY TAKEAWAY
Think of a scatterplot as a map and the trendline as a hiking trail drawn through that map. The data points are landmarks (actual observations), and the trail (trendline) represents the best approximation of the path you would walk if you moved smoothly from low activity to high activity. Just as you would not follow a mountain trail onto a flat plain without checking a new map, you should not extend a trendline beyond the relevant range of observed data.

Visual Explanation — Anatomy of a Cost Scatterplot

The diagram below illustrates a typical cost scatterplot with a visually fitted trendline. Ten months of maintenance cost data are plotted against machine hours. Each dot represents one month's observed total cost at a given activity level. The dashed trendline has been drawn to minimize the overall distance from the line to the data points, following the analyst's best visual judgment.

Each cyan dot represents one month of observed data (machine hours on the x-axis, total maintenance cost on the y-axis). The violet dashed trendline approximates a linear cost function: y-intercept ≈ fixed costs and slope ≈ variable cost per unit of activity.

Notice how the data points do not fall perfectly on the trendline—real-world cost data never does. Variations can result from seasonal effects, unexpected repairs, or changes in crew efficiency. The value of the scatterplot lies in its ability to reveal the general direction and shape of the cost–activity relationship before formal statistical methods are applied. If the data points form a roughly linear pattern, a simple linear model is appropriate. If the points curve or cluster in unexpected ways, the analyst should investigate further before fitting a straight line.

Mathematical Framework — The Linear Cost Function

The trendline on a cost scatterplot is fundamentally a linear equation. Managerial accountants express this relationship using the mixed-cost equation, which mirrors the slope-intercept form familiar from algebra. Understanding the equation's components is essential for translating a visual pattern into a predictive formula.

MIXED-COST EQUATION
Y = a + bX
Where Y = total estimated cost, a = total fixed cost (y-intercept), b = variable cost per unit of activity (slope), and X = level of activity (the driver).

When drawing a trendline visually on a scatterplot, the analyst estimates a and b by eye. To calculate the slope more precisely from a visually drawn line, you can pick any two points that lie on the trendline (not necessarily actual data points) and apply the slope formula.

SLOPE (VARIABLE COST PER UNIT)
b = (Y₂ − Y₁) / (X₂ − X₁)
Choose two points on the trendline that are far apart to minimize rounding error. The result represents the average change in total cost for each additional unit of the activity driver.

Once the slope b is calculated, the fixed-cost component a is found by substituting any known point on the trendline back into the equation and solving for a.

FIXED COST ISOLATION
a = Y − bX
Substituting the slope and any point (X, Y) on the trendline yields the estimated fixed-cost intercept. This value represents the cost that would be incurred even if the activity driver were zero—within the relevant range.
⚠️ Important Nuance
A visually fitted trendline is inherently subjective—two analysts looking at the same scatterplot may draw slightly different lines, producing different estimates. This is one reason the scatterplot method is considered an introductory technique. More rigorous approaches, such as least-squares regression, use mathematical optimization to determine the single line that minimizes the sum of the squared deviations from all data points.

Detailed Breakdown — Reading and Interpreting the Scatterplot

Constructing a scatterplot is only half the task; interpreting it correctly is where managerial value is created. The visual pattern formed by the data points tells a story about cost behavior, and the analyst must learn to read that story before reaching for a calculator. The diagram below classifies four common scatterplot patterns that managers encounter.

Panel A shows the ideal mixed-cost pattern where a straight trendline fits well. Panel B illustrates a purely fixed cost (horizontal cluster). Panel C shows a purely variable cost where the line passes through the origin. Panel D warns that outliers and non-linearity require investigation before fitting any line.

When examining your scatterplot, ask three questions in sequence. First, is the relationship approximately linear? If the points follow a curve, a straight-line model will produce biased estimates. Second, are there outliers? A single abnormal month—perhaps a one-time equipment breakdown—can distort the trendline significantly. If an outlier is identified, the analyst should investigate whether it resulted from an unusual, non-recurring event and consider excluding it. Third, does the intercept make economic sense? A negative y-intercept, for instance, is mathematically possible but economically implausible for most cost items and suggests the linear model may not be appropriate across the plotted range.

  • Check linearity — do the data points form a band that could be enclosed by a narrow ellipse?
  • Identify outliers — are any points far from the general cluster? Investigate their cause before removing them.
  • Evaluate the intercept — does the y-intercept represent a reasonable fixed-cost amount for this cost category?

Worked Example — Estimating Utility Costs

Riverside Manufacturing wants to estimate its monthly utility cost as a function of direct labor hours (DLH). The controller has gathered six months of data and plotted a scatterplot, from which she has visually fitted a trendline. Two points on her trendline are (400 DLH, $3,800) and (1,000 DLH, $6,200). Using these points, we can derive the cost equation and predict the utility cost for next month's planned 750 direct labor hours.

Estimating Monthly Utility Cost via Scatterplot
1
Step 1 — Identify Two Points on the TrendlineFrom the visually fitted trendline, select two points that are reasonably far apart to improve accuracy. Here we use Point 1 = (X₁, Y₁) = (400, $3,800) and Point 2 = (X₂, Y₂) = (1,000, $6,200).
2
Step 2 — Calculate the Slope (Variable Cost per DLH)Apply the slope formula: b = (Y₂ − Y₁) / (X₂ − X₁) = ($6,200 − $3,800) / (1,000 − 400) = $2,400 / 600 = $4.00 per DLH. This means that for every additional direct labor hour worked, utility costs are expected to increase by $4.00 on average.
b = $4.00 per DLH
3
Step 3 — Solve for Fixed Costs (y-intercept)Substitute the slope and one known point into Y = a + bX. Using Point 1: $3,800 = a + $4.00 × 400. Therefore, $3,800 = a + $1,600, which gives a = $3,800 − $1,600 = $2,200. This is the estimated fixed utility cost per month—the baseline charge regardless of how many labor hours are worked.
a = $2,200 (fixed cost)
4
Step 4 — Write the Cost EquationThe complete linear cost equation is: Y = $2,200 + $4.00X, where Y is total estimated monthly utility cost and X is the number of direct labor hours.
Y = $2,200 + $4.00X
5
Step 5 — Predict Cost for 750 DLHFor the planned 750 direct labor hours next month: Y = $2,200 + $4.00 × 750 = $2,200 + $3,000 = $5,200. The controller can now budget approximately $5,200 for utilities next month, assuming the relationship remains stable and the activity level falls within the relevant range.
Estimated utility cost = $5,200

Strengths and Limitations of the Scatterplot Method

Every cost estimation technique involves trade-offs between simplicity, accuracy, and the assumptions it requires. The scatterplot (visual-fit) method occupies a specific niche in the managerial accountant's toolkit: it serves as a quick, intuitive first look at cost behavior, but it lacks the mathematical rigor of regression analysis. The table below summarizes the method's key advantages and disadvantages.

Comparison of strengths and limitations of the scatterplot (visual-fit) method.
CriterionStrengthLimitation
Ease of UseRequires no specialized software—can be drawn by hand or in any spreadsheet application.Results depend on the analyst's judgment; two people may draw different lines.
Outlier DetectionVisual inspection immediately reveals data points that deviate sharply from the pattern.No formal statistical test for outliers; identification is subjective.
Linearity CheckA quick glance shows whether a straight-line model is reasonable before investing time in regression.Cannot quantify how well the line fits (no R² statistic).
Data RequirementsWorks with as few as 5–6 observations, which is helpful for small firms with limited records.With few data points, the estimated equation can be highly imprecise.
Predictive AccuracyProvides a reasonable first estimate that can guide budgeting discussions.Less accurate than least-squares regression, which optimally minimizes total error.
KEY TAKEAWAY
The scatterplot method is like using a magnifying glass before switching to a microscope. It gives you a broad, immediate sense of the data—enough to decide if a linear model makes sense, to spot unusual observations, and to generate a rough estimate. But just as a magnifying glass cannot replace a microscope for detailed work, the scatterplot cannot replace least-squares regression when precise cost estimates or confidence intervals are required.

Connection to Advanced Cost Estimation Techniques

The scatterplot method sits at the introductory end of a spectrum of cost estimation techniques taught in managerial accounting. As you progress through your coursework, you will encounter methods that build directly on the visual intuition developed here but add mathematical precision. Understanding where the scatterplot fits in this hierarchy will help you appreciate both its value and its boundaries.

Comparison of three common cost estimation methods in managerial accounting.
FeatureScatterplot (Visual Fit)High-Low MethodLeast-Squares Regression
BasisAnalyst draws a trendline by visual judgmentUses only the highest and lowest activity data pointsMinimizes the sum of squared residuals across all data points
ObjectivitySubjectiveObjective but limitedFully objective and statistically optimal
Data Points UsedAll (visually)Only 2 (extreme values)All (mathematically)
Goodness-of-Fit MeasureNoneNoneR² (coefficient of determination)
Best Use CaseInitial exploration, pattern recognition, outlier detectionQuick estimate when data is limited or a calculator is unavailableFormal budgeting, variance analysis, performance evaluation

In practice, many accountants begin with a scatterplot even when they plan to run a regression, because the visual check helps validate the assumptions underlying regression—linearity, consistent variance, and the absence of extreme outliers. The scatterplot is therefore not just a standalone technique but a diagnostic step in a broader analytical workflow. As you advance into topics like multiple regression (where multiple activity drivers are used simultaneously) and activity-based costing (ABC), the intuition you build from reading scatterplots will remain an essential managerial competency.

Practice Problems

PROBLEM 1CONCEPTUAL
A manager examines a scatterplot of shipping costs versus units shipped and notices that the data points form a roughly horizontal band with no upward or downward slope. What does this pattern suggest about the cost behavior of shipping expenses, and how should the manager classify this cost?
PROBLEM 2BASIC CALCULATION
A visually fitted trendline on a scatterplot passes through the points (200 machine hours, $5,000) and (800 machine hours, $8,600). Calculate the variable cost per machine hour and the total estimated fixed cost.
PROBLEM 3INTERMEDIATE
Hartwell Corp. collected the following data over five months: (100 units, $4,200), (250 units, $5,500), (300 units, $5,900), (450 units, $7,100), (500 units, $7,600). After plotting a scatterplot, the analyst draws a trendline through points (100, $4,200) and (500, $7,600). Derive the cost equation, then estimate the cost for a month when 350 units are produced.
PROBLEM 4APPLIED
GreenLeaf Landscaping collects monthly data on total fuel costs and the number of service calls. A scatterplot reveals a generally linear pattern, but one month shows an unusually high fuel cost ($4,800) at a mid-range activity level (120 service calls), while other months at similar activity levels show costs around $2,500. The operations manager recalls a truck engine replacement during that month. Should this data point be included in the trendline estimation? Explain your reasoning and the impact on the cost equation if the outlier is retained versus excluded.
PROBLEM 5CRITICAL THINKING
Two analysts independently construct scatterplots from the same 12-month dataset of overhead costs versus direct labor hours. Analyst A draws a trendline with a y-intercept of $10,000 and a slope of $3.20 per DLH. Analyst B draws a trendline with a y-intercept of $12,500 and a slope of $2.60 per DLH. Both claim their line 'fits the data well.' Discuss why this discrepancy arises, evaluate the managerial implications of using one equation versus the other for a budget at 2,000 DLH, and recommend how the company should resolve the disagreement.

Lesson Summary

The scatterplot method is a foundational cost estimation technique in managerial accounting that plots historical observations of a cost driver (x-axis) against total cost (y-axis) to reveal the underlying cost behavior—whether fixed, variable, or mixed. A visually fitted trendline approximates the linear cost equation Y = a + bX, where the y-intercept (a) represents estimated fixed costs and the slope (b) represents the variable cost per unit of activity.

The method's primary strengths are its simplicity, its ability to detect outliers visually, and its usefulness in verifying whether a linear model is appropriate before applying more rigorous techniques. Its key limitation is subjectivity—different analysts may draw different trendlines from the same data. For formal budgeting and performance evaluation, managers should graduate to least-squares regression, which produces an objective, statistically optimal line and provides goodness-of-fit metrics. Always confine predictions to the relevant range of observed data.

Varsity Tutors • Managerial Accounting • Scatterplots for Cost Estimation