Complete Guide: How to Calculate Cost of Direct Materials Used
What Is Cost of Direct Materials Used?
Cost of direct materials used is the portion of raw materials inventory actually consumed in production during a period. In manufacturing accounting, this number is a key input to the cost of goods manufactured (COGM) schedule. It helps you measure how much material value moved from raw materials storage into work in process.
Direct materials are materials that become an identifiable part of the finished product. For example, lumber in furniture, steel in machinery, flour in bakery production, fabric in apparel, and semiconductor wafers in electronics are typical direct materials.
Direct Materials Used Formula
The standard formula for calculating cost of direct materials used is:
Direct Materials Used = Beginning Raw Materials Inventory + Net Raw Materials Purchases − Ending Raw Materials Inventory
Where:
- Beginning Raw Materials Inventory is the balance at the start of the accounting period.
- Net Raw Materials Purchases equals purchases plus freight-in minus returns, allowances, and purchase discounts.
- Ending Raw Materials Inventory is the balance remaining at period-end.
Expanded formula:
Direct Materials Used = Beginning RM + Purchases + Freight-In − Returns & Allowances − Discounts − Ending RM
Step-by-Step Calculation Process
Step 1: Confirm beginning raw materials inventory. Use the prior period ending balance as your beginning figure.
Step 2: Add gross raw materials purchases. Include all purchases intended for production use.
Step 3: Add freight-in. Include inbound transportation, handling, and similar acquisition costs as part of materials cost.
Step 4: Subtract returns, allowances, and discounts. These reduce your net purchase cost and should not be overstated.
Step 5: Compute direct materials available for use. This is beginning inventory plus net purchases.
Step 6: Subtract ending raw materials inventory. The remainder is direct materials used in production.
Worked Example
A manufacturer reports the following monthly data:
- Beginning raw materials inventory: $48,000
- Raw materials purchases: $165,000
- Freight-in: $7,500
- Purchase returns and allowances: $4,000
- Purchase discounts: $2,500
- Ending raw materials inventory: $55,000
Net purchases = 165,000 + 7,500 − 4,000 − 2,500 = $166,000
Direct materials available = 48,000 + 166,000 = $214,000
Direct materials used = 214,000 − 55,000 = $159,000
So, the cost of direct materials used for the month is $159,000.
Where Direct Materials Used Fits in Financial Statements
Direct materials used appears in the cost of goods manufactured schedule, not directly as a standalone line in external financial statements. It contributes to total manufacturing costs:
Total Manufacturing Costs = Direct Materials Used + Direct Labor + Manufacturing Overhead
Then total manufacturing costs flow into work in process accounting and eventually cost of goods sold (COGS) when finished units are sold. Accurate direct materials used improves gross margin quality and inventory valuation accuracy.
Common Mistakes and How to Avoid Them
1) Using purchases instead of usage. Many teams mistakenly plug purchases directly into COGM. Always adjust for beginning and ending raw materials inventory.
2) Ignoring freight-in. Inbound freight belongs in material acquisition cost under most standard practices.
3) Not netting returns and discounts. Overstated purchases produce inflated direct materials used and distorted product costs.
4) Weak inventory count controls. If ending inventory is inaccurate, direct materials used will be wrong by the same amount.
5) Incorrect material classification. Some items should be indirect materials and included in overhead, not direct materials.
Periodic vs. Perpetual Inventory Systems
Under a periodic system, direct materials used is commonly calculated at period-end using the inventory formula. Under a perpetual system, material issues to production are recorded continuously, but period-end adjustments are still often required for scrap, shrinkage, cut-off, and count differences.
Even with strong ERP systems, physical counts and reconciliation controls remain essential. A system entry is not a substitute for inventory reality.
KPIs and Operational Insights from Direct Materials Used
Tracking direct materials used over time helps finance and operations teams understand cost behavior, waste, and purchasing efficiency. Useful metrics include:
- Material usage variance: Actual usage vs. standard usage for actual output.
- Material price variance: Actual price paid vs. standard price.
- Material cost per unit: Direct materials used divided by units produced.
- Scrap and yield metrics: Loss rates by line, machine, or product family.
- Inventory turnover (raw materials): Consumption relative to average raw material balance.
When these KPIs move unexpectedly, they can reveal supplier issues, process drift, planning inaccuracies, or production quality problems.
Monthly Close Checklist for Accurate Direct Materials Used
- Reconcile beginning balance to prior closing records.
- Validate purchase cut-off at period-end.
- Confirm freight-in capitalization treatment.
- Post returns, rebates, and discounts in the correct period.
- Perform or validate cycle counts/physical counts.
- Investigate large inventory variances promptly.
- Review abnormal scrap and reclassify when needed.
- Lock and document assumptions for audit trail quality.
Frequently Asked Questions
No. Purchased materials must be adjusted for inventory changes to determine what was actually used in production.
Yes, freight-in related to acquiring raw materials is generally part of material cost and should be included in net purchases.
That usually means some purchases were not consumed yet. Direct materials used can still be lower than purchases in that period.
Indirect materials are usually recorded in manufacturing overhead, not direct materials used.
Yes. The same formula works for any period as long as beginning and ending inventory are measured consistently.
Final Takeaway
To calculate cost of direct materials used accurately, focus on three essentials: inventory discipline, correct net purchase calculation, and consistent period cut-off. The formula is simple, but precision depends on clean data and strong close controls. Use the calculator at the top of this page to produce a reliable figure quickly, then tie it into your cost of goods manufactured analysis for better pricing, margin management, and production decisions.