Manufacturing Accounting Guide

How to Calculate the Cost of Direct Materials Used

Calculate direct materials used instantly with the free tool below, then follow the complete step-by-step guide to understand the formula, avoid common errors, and use the number correctly in your Cost of Goods Manufactured schedule.

Direct Materials Used Calculator

Enter amounts for the accounting period. Use negative values only if your process explicitly requires them.

Value at start of period
Total raw materials bought during period
Inbound shipping and handling costs
Subtract from purchases
Subtract from purchases
Value at end of period
Direct Materials Used = Beginning RM + (Purchases + Freight-In - Returns - Discounts) - Ending RM
Direct Materials Used
$0.00
  1. Net Purchases: $0.00
  2. Direct Materials Available: $0.00
  3. Direct Materials Used: $0.00
The result is negative. Check your inputs, inventory counts, and purchase adjustments.

What Is the Cost of Direct Materials Used?

The cost of direct materials used is the total dollar amount of raw materials that actually moved from raw material inventory into production during an accounting period. In manufacturing accounting, this number is fundamental because it helps determine the true cost of producing goods, supports accurate gross margin analysis, and feeds directly into the Cost of Goods Manufactured (COGM) schedule.

Direct materials are items that become a physical part of the finished product and can be traced to that product in an economically practical way. For example, wood in furniture production, fabric in clothing manufacturing, or steel in machinery assembly are direct materials. Indirect materials such as lubricants, glue used in tiny amounts, or cleaning supplies are usually classified under manufacturing overhead rather than direct materials.

Understanding direct materials used is not only an accounting exercise. It affects pricing decisions, purchasing strategy, waste control, inventory management, and production efficiency metrics. If this number is wrong, your costs per unit, margin percentages, and management decisions can all be distorted.

Direct Materials Used Formula

The standard formula is:

Direct Materials Used = Beginning Raw Materials Inventory + Net Purchases of Raw Materials − Ending Raw Materials Inventory

Where:

Many companies shorten this to Beginning + Purchases − Ending. That simplified approach is common, but including adjustments for freight, returns, and discounts usually gives a more precise result.

How to Calculate Direct Materials Used Step by Step

  1. Start with beginning raw materials inventory. Pull this from the prior period’s closing raw materials balance.
  2. Add raw materials purchases for the period. Include all purchases intended for production use.
  3. Add freight-in and related inbound costs. If your policy capitalizes these costs into inventory, include them in material cost.
  4. Subtract purchase returns, allowances, and discounts. This converts gross purchases into net purchases.
  5. Compute direct materials available for use. Beginning inventory + net purchases.
  6. Subtract ending raw materials inventory. The remainder is the direct materials used in production.

This process aligns with the core inventory flow logic: what you had plus what came in, minus what remains, equals what was consumed.

Detailed Example: Monthly Direct Materials Used Calculation

Assume a manufacturer reports the following for June:

Calculation:

  1. Net purchases = 60,000 + 2,500 − 1,500 − 1,000 = $60,000
  2. Direct materials available = 25,000 + 60,000 = $85,000
  3. Direct materials used = 85,000 − 22,000 = $63,000

The company used $63,000 of direct materials in production for June.

Line Item Amount Effect on Calculation
Beginning Raw Materials Inventory $25,000 Add
Raw Materials Purchases $60,000 Add
Freight-In $2,500 Add
Purchase Returns and Allowances ($1,500) Subtract
Purchase Discounts ($1,000) Subtract
Ending Raw Materials Inventory ($22,000) Subtract
Direct Materials Used $63,000 Final Result

Direct materials used is one of the three primary manufacturing cost components in COGM:

These components combine to produce total manufacturing costs. Then, after adjusting for work-in-process inventory, you get Cost of Goods Manufactured. If direct materials used is misstated, COGM is misstated, which can flow into Cost of Goods Sold and ultimately impact net income.

This is why accurate inventory counts and consistent purchase classification are critical at every close. Even small errors can compound across reporting periods.

Direct vs. Indirect Materials: Why the Difference Matters

Accountants and operations teams must clearly separate direct and indirect materials:

Misclassifying materials can inflate or understate direct material consumption, skew product costing, and lead to inaccurate pricing. For job order costing or custom production, this distinction is especially important because material costs may vary significantly by job.

Common Mistakes in Calculating Direct Materials Used

A good monthly close checklist can prevent most of these issues and improve confidence in manufacturing cost data.

Best Practices for More Accurate Direct Materials Reporting

  1. Create a standardized close template. Use the same input sequence every period.
  2. Reconcile purchasing, receiving, and inventory subsystems. This catches timing mismatches early.
  3. Set clear material classification rules. Train purchasing and accounting teams to code consistently.
  4. Perform cycle counts and periodic physical counts. Strong count discipline improves ending inventory accuracy.
  5. Review unusual period-over-period changes. Compare usage to production volume and scrap trends.
  6. Document assumptions and adjustments. This makes audits and management review faster and cleaner.

How Managers Use Direct Materials Used in Decision-Making

Management teams use direct materials used figures beyond financial reporting. Common use cases include:

When this metric is measured reliably, finance and operations can collaborate more effectively and make faster decisions with less rework.

Quick Monthly Checklist

  1. Confirm beginning raw materials inventory ties to prior close.
  2. Export and verify period purchases.
  3. Add freight-in and remove non-capitalizable shipping charges.
  4. Subtract returns, allowances, and purchase discounts.
  5. Validate ending raw materials inventory from count sheets.
  6. Run the formula and compare to prior periods.
  7. Investigate any major variance before finalizing COGM.

Frequently Asked Questions

No. Purchases are what you bought; direct materials used is what was actually consumed in production. The difference is primarily the change in raw materials inventory plus purchase adjustments.
Include freight-in if your accounting policy capitalizes inbound transportation as part of inventory cost. Many manufacturing firms do, but policy and standards application can vary by jurisdiction and company practice.
It typically appears in internal manufacturing schedules, especially the Cost of Goods Manufactured statement. Its effect ultimately flows into Cost of Goods Sold and gross profit on the income statement.
A negative result usually indicates data issues, such as incorrect ending inventory, timing errors, or over-applied returns and discounts. Recheck inventory counts and purchase adjustments immediately.

Final Takeaway

The cost of direct materials used is one of the most important numbers in manufacturing accounting. The formula is straightforward, but the quality of the result depends on clean data, accurate inventory balances, and consistent classification. Use the calculator at the top of this page during each close, follow a repeatable checklist, and review unusual variances before final reporting. Doing so helps you improve costing accuracy, strengthen margin analysis, and support smarter operational decisions.