Cost Accounting and Variance Analysis for the CPA BAR Exam

BAR

Kyle Ashcraft, CPA · 2019 CPA Exam Scores · 95 FAR · 98 BEC · 91 REG · 90 AUD

Cost accounting is one of the most calculation-heavy areas on BAR, and one of the easiest places to lose points that you understood perfectly well. Most of the damage comes from two habits: mixing up standard with actual, and memorizing eight variance formulas as eight separate things when six of them are the same formula wearing different labels.

This guide builds up in order. What counts as a product cost, how those costs move through inventory, how overhead gets allocated, how spoilage is handled, how absorption and variable costing differ, what activity-based costing is for, and then the full variance framework with worked examples.

How does the BAR exam test cost accounting?

Cost and managerial accounting sits inside Area I, Business Analysis. The classification and costing-method material is tested at the application level. Variance analysis is tested a step higher, at the analysis level, which is why questions tend to hand you a scenario and make you decide which variance answers it rather than simply asking you to compute one.

Representative taskSkill level
Calculate fixed, variable and mixed costsApplication
Use absorption, variable, activity-based, process and job order costingApplication
Derive the appropriate variance analysis method from a business scenarioAnalysis
Interpret results through price, volume and mix analysisAnalysis

The distinction between application and analysis is worth taking seriously when you plan your study time. Application means you can be asked to run the calculation. Analysis means you can be asked which calculation to run and what the answer implies about the business. Practising only the arithmetic prepares you for half the question.

What is the difference between a product cost and a period cost?

Product costs are direct materials, direct labor and manufacturing overhead. They sit in inventory on the balance sheet and become expense only when the unit is sold. Period costs are everything else and hit the income statement immediately.

Product cost componentExample, laptop manufacturer
Direct materialsGlass and aluminium, traceable to each unit
Direct laborAssembly wages, traceable to each unit
Manufacturing overheadFactory rent, utilities, floor manager's salary. Indirect, not traceable to one unit

Period costs are the non-manufacturing ones: marketing salaries, the accounting department, legal fees. On the income statement they sit below gross profit.

Revenue
− Cost of goods sold, the product costs of units sold
= Gross profit
− General and administrative expenses, the period costs
= Net income

Worked example: Platinum Tech

Platinum Tech spends $1,000,000 producing 1,000 laptops, so $1,000 per unit, and sells 200 of them at $2,000 each.

Two separate events, and keeping them separate is the whole point. First, production. The $1,000,000 becomes inventory, not expense:

AccountDebitCredit
Finished goods inventory$1,000,000
Cash or accounts payable$1,000,000

Then, and only then, the sale of 200 units:

AccountDebitCredit
Cost of goods sold$200,000
Finished goods inventory$200,000

$800,000 stays in inventory. Add a $50,000 marketing salary as a period cost and the income statement reads: revenue $400,000, less COGS $200,000, gross profit $200,000, less G&A $50,000, net income $150,000.

Prime costs and conversion costs

TermComponentsWhat it captures
Prime costsDirect materials + direct laborThe most direct inputs
Conversion costsDirect labor + manufacturing overheadWhat it takes to turn materials into finished goods

The trap, and the reason the two groups overlap. Direct labor appears in both, because it is both a direct input and part of the conversion effort. Students sometimes try to split it. Do not. And the bigger trap: expensing everything the factory spent this period. Only the cost riding on units that actually sold becomes expense. The rest is sitting on the balance sheet.

How do costs flow through the three inventory accounts?

AccountWhat it holdsCosts leave when
Raw materialsMaterials bought but not yet usedMaterials are issued to production
Work in processDM, DL and MOH on partly finished unitsUnits are completed
Finished goodsCompleted units not yet soldUnits are sold, becoming COGS

Worked example, continued

Platinum Tech buys $200,000 of raw materials, which sit in raw materials inventory. Production starts on 400 laptops, consuming $140,000 of those materials, $16,000 of direct labor and $8,000 of applied overhead. Work in process picks up $164,000.

All 400 are completed, so the whole $164,000 moves to finished goods, or $410 per unit. Sell 100 of them and $41,000 moves from finished goods to COGS. The other $123,000 stays put.

How is manufacturing overhead allocated?

Overhead is awkward for three reasons at once. It is indirect, so it cannot be traced to a unit. It is not fully known until the period ends. And the production volume it will be spread across is itself an estimate. So companies set a rate in advance and apply it as they go.

Overhead allocation rate = Total estimated overhead / Total estimated cost driver

Worked example

Expected overhead is $10,000. Expected production is 500 units at 2 direct labor hours each, so 1,000 estimated hours. The rate is $10 per direct labor hour.

At period end, only 760 hours were actually worked, so applied overhead is $7,600. Actual overhead turned out to be $11,000.

Under-applied overhead = $11,000 actual − $7,600 applied = $3,400
SituationMeaningAdjustment
Under-appliedActual overhead exceeded appliedDebit COGS, so COGS goes up
Over-appliedApplied overhead exceeded actualCredit COGS, so COGS goes down

Why it works that way. You applied $7,600 of overhead to units, but the factory really consumed $11,000. The units were undercosted by $3,400, so that amount has to be added back somewhere, and COGS is where it goes. Reason it out from the direction of the error and you will not need to memorize which way the entry runs.

One nuance worth knowing: closing the whole balance to COGS is the standard treatment when the amount is immaterial. A material balance is prorated across work in process, finished goods and COGS.

How is spoilage treated?

Normal spoilage is a cost of doing business, so it stays with the product. Abnormal spoilage is not, so it goes straight to expense.

TypeDefinitionTreatmentExample
NormalArises in the ordinary course of productionProduct cost, stays in inventoryThe occasional dropped pizza
AbnormalOutside normal operationsPeriod cost, expensed immediatelyFire, storm damage

Worked example: New York Pizza Company

The company makes 1,000 pizzas. Dropped pizzas account for $150 of normal spoilage. A lightning storm ruins ingredients, creating $700 of abnormal spoilage.

CostAmountClassification
Direct materials$2,000Product
Direct labor$1,000Product
Manufacturing overhead$500Product
Normal spoilage$150Product
G&A expenses$400Period
Abnormal spoilage$700Period
Inventory cost per pizza$3.65$3,650 / 1,000

Total period costs are $400 plus $700, or $1,100.

The trap. Treating all spoilage alike. Ask whether a well-run version of this business would still have produced this loss. Dropped pizzas, yes, so it belongs to the cost of making pizzas. A lightning strike, no, so it is a loss of the period rather than a cost of the product.

How do absorption costing and variable costing differ?

One line item, and only one, is treated differently: fixed overhead. Absorption costing makes it a product cost. Variable costing makes it a period cost. Everything else about the two methods is the same.

 AbsorptionVariable
Also calledFull costing, traditional methodContribution method
Fixed overheadProduct costPeriod cost
Income statementSales less COGS gives gross profit, less G&A gives operating incomeSales less variable costs gives contribution margin, less fixed costs gives operating income
Used forExternal reporting under GAAPInternal decision making
ScenarioHigher income underWhy
Produced more than soldAbsorptionSome fixed overhead stays parked in ending inventory
Produced less than soldVariableAbsorption pulls prior-period fixed overhead out of inventory into COGS
Produced equals soldIdenticalNo inventory build-up or draw-down

The reasoning that makes this automatic. Under absorption costing, fixed overhead rides along with units. If units are still sitting in inventory at year end, so is their share of fixed overhead, which means it has not hit the income statement yet, which means income is higher. Build inventory and absorption wins. Draw inventory down and it loses. You never need to memorize the table.

What is activity-based costing?

ABC is an internal method that uses several activity-based cost pools and drivers instead of one company-wide allocation base. It exists because a single driver can lie to you.

Two ways it lies. First, allocating everything on machine hours ignores costs like setup, testing and calibration that have nothing to do with how long a machine ran. Second, traditional costing buries support costs in period expense, so a product generating constant complaint calls and complicated shipping looks exactly as profitable as one that never causes trouble.

  1. Group costs into pools by activity. Production, packaging, shipping, customer support, and so on, with an estimated total cost for each.
  2. Pick a driver for each pool. Machine hours for one, number of shipments for another, complaint calls or setups for a third. The point is that each pool gets the driver that actually causes its cost.
  3. Compute a rate per pool and apply it. Pool cost divided by driver volume gives the rate, then assign cost to products by their actual driver usage.

ABC is for internal decisions only. Absorption costing is still what GAAP requires for external reporting, so a question asking what goes in the published financial statements is never answered with ABC.

How does variance analysis actually work?

Variance analysis compares what something should have cost against what it did cost, and splits the difference into two questions: did we pay more per unit of input than planned, and did we use more inputs than planned.

There are eight variances. Six of them are the same two formulas applied three times.

Cost componentFirst varianceSecond variance
Direct materialsPriceEfficiency
Direct laborPrice, also called rateEfficiency
Variable overheadPriceEfficiency
Fixed overheadSpendingProduction volume

The one rule that holds the first six together. Price variances multiply by actual quantity. Efficiency variances multiply by standard price or rate. That is it. If you can remember which side is actual and which is standard, you can rebuild all six formulas without memorizing any of them.

Four things that are true of every variance:

  • Standard means estimated, budgeted, what should have happened.
  • For the first three categories, expected units produced is irrelevant. You multiply by actual output.
  • Favorable means actual came out better than standard. Unfavorable means worse.
  • Price and rate mean the same thing, and so do efficiency and usage. Textbooks differ, exams use both.

How do you calculate the direct materials variances?

Price variance = (Actual price − Standard price) × Actual quantity per unit × Units produced

Efficiency variance = (Actual quantity per unit − Standard quantity per unit) × Standard price × Units produced

Worked example: home manufacturer

 StandardActual
Homes produced5035
Board feet per home6,0006,500
Cost per board foot$2.00$1.75

The 50 budgeted homes are a distraction. Every calculation runs off the 35 actually built.

Price: ($1.75 − $2.00) × 6,500 × 35 = $56,875 favorable
Efficiency: (6,500 − 6,000) × $2.00 × 35 = $35,000 unfavorable

Read the two together and there is a story: the company bought cheaper wood and then used more of it. That pairing turns up constantly in exam scenarios, and the analysis-level question is usually asking you to notice the connection rather than just report both numbers.

One variation to watch for. Some questions compute the materials price variance on the quantity purchased rather than the quantity used, which isolates the purchasing decision at the moment it happens. Read carefully which quantity you are given.

How do you calculate the direct labor variances?

Price variance = (Actual rate − Standard rate) × Actual hours per unit × Units produced

Efficiency variance = (Actual hours per unit − Standard hours per unit) × Standard rate × Units produced

Worked example: same manufacturer

 StandardActual
Homes produced5035
Labor hours per home400375
Cost per labor hour$20.00$21.00
Price: ($21 − $20) × 375 × 35 = $13,125 unfavorable
Efficiency: (375 − 400) × $20 × 35 = $17,500 favorable

Again the two variances point at each other. The company paid a higher hourly rate and got the work done in fewer hours, and the favorable efficiency variance is larger than the unfavorable rate variance. More experienced labor at a higher wage is the usual reading, and it was worth it here.

How do you calculate the variable overhead variances?

Identical structure to materials and labor. The only change is that the quantity is a cost driver rather than a physical input.

Price variance = (Actual OH per driver − Standard OH per driver) × Actual drivers per unit × Units produced

Efficiency variance = (Actual drivers per unit − Standard drivers per unit) × Standard rate × Units produced

With a standard of $1.50 per driver and 4 drivers per unit, an actual of $2.00 and 5 drivers, across 100 units:

Price: ($2.00 − $1.50) × 5 × 100 = $250 unfavorable
Efficiency: (5 − 4) × $1.50 × 100 = $150 unfavorable

Why are the fixed overhead variances different?

Because fixed overhead does not move with volume. There is no meaningful "we used more of it per unit" question, so the efficiency variance has nothing to measure. Instead you ask whether total spend came in on budget, and whether you produced as many units as you assumed when you set the rate.

Allocation rate = Total estimated fixed overhead / Total estimated units

Spending variance = Standard total fixed OH − Actual total fixed OH

Production volume variance = (Standard units − Actual units) × Allocation rate

Worked example: frame manufacturer

 BudgetedActual
Frames produced20,00019,000
Fixed overhead$20,000$22,000
Allocation rate$1.00—
Spending: $20,000 − $22,000 = $2,000 unfavorable
Production volume: (20,000 − 19,000) × $1.00 = $1,000 unfavorable

Why producing less is unfavorable. The $1.00 rate was built on an assumption of 20,000 frames. Build only 19,000 and there are a thousand fewer units to carry the fixed cost, but the fixed cost does not shrink to match. It still has to go somewhere. Nothing was wasted and nobody did anything wrong, which is exactly why this variance confuses people. It is measuring capacity you paid for and did not use.

All eight variances in one place

VarianceFormulaMultiply by
Direct materials
Price(Actual price − standard price) × actual qty/unit × units producedActual quantity
Efficiency(Actual qty/unit − standard qty/unit) × standard price × units producedStandard price
Direct labor
Price(Actual rate − standard rate) × actual hours/unit × units producedActual hours
Efficiency(Actual hours/unit − standard hours/unit) × standard rate × units producedStandard rate
Variable overhead
Price(Actual OH/driver − standard OH/driver) × actual drivers/unit × units producedActual drivers
Efficiency(Actual drivers/unit − standard drivers/unit) × standard rate × units producedStandard rate
Fixed overhead
SpendingStandard total fixed OH − actual total fixed OHTotal dollars
Production volume(Standard units − actual units) × allocation rateUnit difference

Start free with CPA 101

Cost accounting is one area of one section. CPA 101 is free and includes all 25 of the 2026 AICPA released MCQs plus a study outline, so you can see how the rest of the material gets taught. No credit card required.

Start CPA 101 free

Glossary

TermDefinition
Product costsDM, DL and MOH. Stay in inventory until the unit sells
Period costsNon-manufacturing costs, expensed as incurred
Prime costsDirect materials plus direct labor
Conversion costsDirect labor plus manufacturing overhead
Raw materialsMaterials bought but not yet issued to production
Work in processPartly finished units carrying DM, DL and MOH
Finished goodsCompleted units not yet sold
Under-applied overheadActual exceeded applied. Debit COGS
Over-applied overheadApplied exceeded actual. Credit COGS
Normal spoilageExpected in ordinary production. Product cost
Abnormal spoilageOutside normal operations. Period cost
Absorption costingGAAP method. Fixed overhead is a product cost
Variable costingInternal method. Fixed overhead is a period cost
Contribution marginSales less variable costs
Activity-based costingInternal method using multiple pools and drivers
StandardThe estimated figure that actual results are measured against
FavorableActual came out better than standard
UnfavorableActual came out worse than standard
Price or rate varianceInput cost against standard. Uses actual quantity
Efficiency or usage varianceInput usage against standard. Uses standard price

Frequently asked questions

What is the difference between product costs and period costs?

Product costs are direct materials, direct labor and manufacturing overhead. They sit in inventory and become expense only when the unit is sold. Period costs are non-manufacturing costs and are expensed as incurred.

What is the one variance rule worth memorizing?

Price and rate variances multiply by actual quantity. Efficiency and usage variances multiply by standard price or rate. That single rule reconstructs six of the eight variance formulas.

How do absorption and variable costing differ?

Only in the treatment of fixed overhead. Absorption costing treats it as a product cost that rides along with inventory. Variable costing treats it as a period cost. When production exceeds sales, absorption reports higher income, because some fixed overhead is still sitting in ending inventory.

How is normal spoilage treated?

As a product cost, so it stays in inventory with the good units. Abnormal spoilage is expensed immediately as a period cost.

Is activity-based costing allowed under GAAP?

No. ABC is for internal decision making. Absorption costing is required for external financial statements.

Why is an unfavorable production volume variance not necessarily bad news?

Because nothing was wasted. It measures the fixed cost of capacity that was paid for and not used. Producing fewer units than assumed when the allocation rate was set leaves fewer units to absorb a fixed cost that does not shrink.

See how the rest of BAR gets taught

CPA 101 is free and covers the 2026 AICPA released questions plus a study outline. No credit card, and you will know within an evening whether the explanations work for you.

Start CPA 101 free

Kyle Ashcraft, CPA scored 90 or above on every section of the CPA exam in 2019, including a 95 on FAR. He is the founder and sole instructor of Maxwell CPA Review, a complete CPA review course covering all six sections, where he creates every lecture, textbook and study outline himself.

Previous
Previous

The CPA Exam Guide to Ratio Analysis: All 25 Formulas, Worked Through

Next
Next

Capital Budgeting and NPV for the CPA BAR Exam