How To Calculate Ending Inventory Under Variable Costing

How to Calculate Ending Inventory Under Variable Costing

Use this interactive calculator to estimate ending inventory value under variable costing using either weighted average or FIFO assumptions. Then review the expert guide below to understand the formula, common mistakes, and why variable costing excludes fixed manufacturing overhead from inventory valuation.

Variable Costing Inventory Calculator

Variable costing includes only variable manufacturing costs in inventory. Fixed manufacturing overhead is treated as a period expense, not inventoried.

Expert Guide: How to Calculate Ending Inventory Under Variable Costing

Ending inventory under variable costing is one of the most important concepts in managerial accounting, especially for companies that manufacture products and want a clean view of contribution margin and operating performance. The central idea is simple: when you use variable costing, only variable manufacturing costs are assigned to units produced and to ending inventory. Fixed manufacturing overhead is not attached to unsold units. Instead, it is expensed in full during the period in which it is incurred.

That single rule changes the balance sheet value of inventory, the income statement timing of cost recognition, and often the reported profit compared with absorption costing. If you are asking how to calculate ending inventory under variable costing, the practical answer is that you first determine the number of units remaining at period end, then multiply those units by the variable manufacturing cost per unit. If beginning inventory exists and costs differ by period, you also need a cost flow assumption such as weighted average or FIFO.

Short answer: Under variable costing, ending inventory equals ending inventory units multiplied by variable manufacturing cost per unit. Include direct materials, direct labor, and variable manufacturing overhead. Exclude fixed manufacturing overhead.

What variable costing includes and excludes

To calculate ending inventory correctly, you need to know which costs belong in product cost under this method. Variable costing is sometimes called direct costing or marginal costing because it focuses on the costs that vary with production volume.

  • Included in inventory: direct materials, direct labor, and variable manufacturing overhead.
  • Excluded from inventory: fixed manufacturing overhead.
  • Also excluded from inventory: variable selling expenses, fixed selling expenses, and administrative expenses.

This means that if your product costs $8 in materials, $5 in direct labor, and $2 in variable factory overhead, the variable cost per unit is $15. That is the amount used to value units in ending inventory under variable costing. Even if fixed factory rent, salaried production supervision, and depreciation total another $6 per unit on an absorption basis, those fixed manufacturing costs are not assigned to ending inventory under variable costing.

The fundamental formula

At the most basic level, the ending inventory calculation under variable costing has two parts:

  1. Determine ending inventory units.
  2. Assign variable manufacturing cost per unit to those units.

Step 1: Ending inventory units

Use this formula:

Ending inventory units = Beginning inventory units + Units produced – Units sold

Step 2: Ending inventory value

If all units have the same variable manufacturing cost per unit, then:

Ending inventory value = Ending inventory units × Variable manufacturing cost per unit

If beginning inventory and current production have different per-unit variable costs, you must apply a cost flow assumption. Two common choices are:

  • Weighted average: combine the total variable costs of all goods available and divide by total units available.
  • FIFO: assume earliest units are sold first, so ending inventory consists of the most recent production costs.

Step-by-step example using weighted average

Suppose a manufacturer starts the month with 200 units in beginning inventory at a variable cost of $18.50 per unit. During the month, the company produces 1,200 more units at a current variable manufacturing cost of $20.75 per unit. It sells 1,100 units during the month. Here is how to calculate ending inventory under variable costing using weighted average.

  1. Beginning inventory units: 200
  2. Units produced: 1,200
  3. Total units available: 1,400
  4. Units sold: 1,100
  5. Ending inventory units: 300

Now calculate total variable cost of goods available:

  • Beginning inventory cost = 200 × $18.50 = $3,700
  • Current production cost = 1,200 × $20.75 = $24,900
  • Total variable cost available = $28,600

Weighted average variable cost per unit:

$28,600 ÷ 1,400 = $20.4286 per unit

Ending inventory value:

300 × $20.4286 = $6,128.58

That is the ending inventory amount under variable costing using a weighted average assumption.

Step-by-step example using FIFO

Now use the same data under FIFO. FIFO assumes the first units available are the first units sold. Since beginning inventory is sold before current production under FIFO, the ending inventory will usually reflect the newest costs.

Data:

  • Beginning inventory: 200 units at $18.50
  • Produced: 1,200 units at $20.75
  • Sold: 1,100 units
  • Ending inventory units: 300

Under FIFO, the company sells:

  • First 200 units from beginning inventory
  • Next 900 units from current production

That leaves 300 units from current production in ending inventory. Therefore:

Ending inventory value = 300 × $20.75 = $6,225.00

The difference between weighted average and FIFO arises because the cost per unit increased from beginning inventory to current production. Weighted average smooths those costs, while FIFO leaves the latest costs in ending inventory.

Why variable costing ending inventory is lower than absorption costing

In most manufacturing environments, ending inventory under variable costing is lower than ending inventory under absorption costing because variable costing excludes fixed manufacturing overhead from inventory. Under absorption costing, a portion of fixed manufacturing overhead is attached to each unit produced, and unsold units carry that fixed cost into ending inventory.

This matters because when production exceeds sales, absorption costing can defer some fixed factory costs into inventory, often making current-period income higher than under variable costing. Variable costing avoids that deferral and can give managers a clearer picture of the economic effect of producing more units than were sold.

Feature Variable Costing Absorption Costing
Direct materials Included in inventory Included in inventory
Direct labor Included in inventory Included in inventory
Variable manufacturing overhead Included in inventory Included in inventory
Fixed manufacturing overhead Expensed in the current period Included in inventory and cost of goods sold
Common use Internal planning, contribution analysis, CVP External reporting under GAAP for inventory valuation

Comparison table with real business statistics

Inventory valuation methods are not just accounting theory. They influence how managers interpret operating efficiency, storage exposure, and working capital. Two practical statistics help explain why ending inventory valuation matters: inventory carrying cost benchmarks and inventory-to-sales relationships in the U.S. economy.

Statistic Typical Value Why It Matters for Ending Inventory Source
Annual inventory carrying cost benchmark Approximately 20% to 30% of average inventory value Higher ending inventory can create meaningful financing, storage, insurance, and obsolescence costs. Council of Supply Chain Management Professionals benchmarks widely cited in operations literature
U.S. business inventories to sales ratio Often near 1.3 to 1.5 in recent broad U.S. monthly ranges, depending on period and sector Shows how sensitive profitability and liquidity can be to unsold goods levels. U.S. Census Bureau monthly business inventory and sales releases
Share of private inventories held outside retail alone Substantial balances concentrated in manufacturing and wholesale sectors Manufacturers especially need accurate cost assignment for internal control and performance measurement. U.S. Census Bureau and Bureau of Economic Analysis inventory reporting

These statistics reinforce an important point: ending inventory is not merely a balance sheet line. It affects cash flow, warehousing decisions, pricing pressure, production scheduling, and management incentives. Variable costing can be especially useful when managers need to evaluate whether production decisions are truly improving performance or simply increasing inventory balances.

When weighted average is appropriate

Weighted average is often used when units are relatively homogeneous and management wants a blended cost per unit. It is simple, intuitive, and useful when it is difficult to identify which specific units remain in stock. Weighted average under variable costing works particularly well in process manufacturing or high-volume environments where products are similar and costs fluctuate gradually rather than sharply.

Use weighted average when:

  • Units are interchangeable.
  • You want a smoother cost per unit from one period to another.
  • Beginning inventory and current production are physically mixed.
  • Your internal reporting emphasizes operational simplicity.

When FIFO is appropriate

FIFO is often preferred when costs are changing rapidly or when inventory tends to move in chronological order. Under variable costing, FIFO often gives a more current valuation of ending inventory because the remaining units typically come from the most recent production run. In inflationary periods, FIFO ending inventory can be higher than weighted average because newer, more expensive units remain in stock.

Use FIFO when:

  • You want ending inventory to reflect more recent variable manufacturing costs.
  • Physical flow is close to first-in, first-out.
  • You need clearer visibility into period-to-period production cost changes.
  • You are analyzing margin sensitivity to current production economics.

Common mistakes to avoid

  1. Including fixed manufacturing overhead in inventory. This is the most frequent error. Under variable costing, fixed factory costs are period costs.
  2. Using sales units instead of ending inventory units. Always compute the units left on hand first.
  3. Mixing selling and manufacturing costs. Variable selling expenses are not inventoriable under variable costing.
  4. Ignoring beginning inventory cost differences. If beginning inventory has a different variable cost per unit than current production, apply a cost flow assumption.
  5. Allowing negative ending inventory. If units sold exceed units available, either the inputs are wrong or additional production or purchases occurred and were omitted.

How the calculator on this page works

The calculator above asks for beginning inventory units and cost per unit, current period production units and variable cost per unit, and units sold. It then computes goods available for sale in both units and dollars. If you choose weighted average, it divides total variable cost available by total units available and applies that average cost to the ending units. If you choose FIFO, it assumes beginning inventory is sold first and values ending inventory using the newest available production costs whenever possible.

The chart visualizes units available, sold, and remaining in ending inventory. This makes it easier to explain the result to colleagues, students, or managers who want a clear operational picture rather than just a final dollar amount.

Managerial uses of ending inventory under variable costing

Variable costing is especially valuable for internal reporting because it aligns inventory valuation with contribution margin analysis. Since fixed manufacturing overhead is expensed immediately, income is less likely to be distorted by overproduction. That can improve decisions involving:

  • Short-term pricing and special orders
  • Break-even and cost-volume-profit analysis
  • Production scheduling
  • Make-or-buy decisions
  • Performance evaluation of plant managers

For example, a manager evaluated only on absorption costing profit may be tempted to produce more units than needed, because some fixed overhead gets parked in inventory. Variable costing reduces that incentive and highlights whether sales actually covered variable costs and contributed toward fixed costs and profit.

Authoritative references for further reading

If you want to go deeper into inventory valuation, cost accounting, and the economic role of inventories, these authoritative sources are useful:

Final takeaway

To calculate ending inventory under variable costing, first determine the number of units left at the end of the period. Then multiply those units by the variable manufacturing cost per unit, using weighted average or FIFO when necessary. The defining rule is that fixed manufacturing overhead is never included in ending inventory under variable costing. Once you understand that principle, the rest of the calculation becomes straightforward.

In practical terms, the process is:

  1. Compute units available for sale.
  2. Subtract units sold to get ending inventory units.
  3. Determine variable manufacturing cost per unit.
  4. Apply weighted average or FIFO if beginning inventory and current production differ in cost.
  5. Multiply ending units by the relevant variable cost per unit.

Use the calculator above whenever you need a quick, accurate estimate, and use the guide as a reference when teaching, studying, or implementing variable costing in managerial analysis.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top