Microsoft DynamicsFree calculatorPDF, Excel, Word exportMicrosoft Dynamics 365 Finance and Supply Chain ManagementDiscrete Manufacturing

D365 Standard Cost Rollup Calculator for Manufactured Items

Use this to sanity-check the standard cost D365 produces for a manufactured item, or to see what happens when scrap, lot size or labor rate changes. It separates material, setup, run and overhead so each driver is visible.

Your numbers

$
3 %

Production scrap or BOM line scrap, expressed as a share of gross input.

hours
min
units
$/hour

The cost category rate applied to routing time.

%

Your results

Standard cost per unit
$26
Cost of one standard lot
$2,642
Material with scrap
$19
Gross material needed so that one good unit remains after scrap.
Setup cost per unit
$1
Run cost per unit
$4
Overhead per unit
$2

A simplified single-level model for checking numbers. D365 costing versions, multilevel BOM rollups, cost groups and indirect cost formulas can differ.

Save results:

Standard cost vs lot size

Sweeps Standard lot size from 1 to 300, holding your other inputs fixed.

BOM cost anomaly review

Optional: an expert scans your D365 BOM and routing data for cost outliers and rate mismatches.

Optional. The tool and every export work without this. No spam.

How to use it

Enter the net material cost for one good unit, the scrap rate, the routing setup and run times, the lot size used for costing, the resource rate and an overhead percentage. The result shows per-unit cost by component and a cost for a full lot. Compare the output with the cost shown after a BOM calculation in a costing version, and investigate any gap bigger than rounding.

The formulas

Scrap is applied by dividing by one minus the scrap rate, not by multiplying by one plus the rate, because scrap is a share of gross input. Setup is spread across the lot, so a larger lot lowers cost per unit. Run cost is minutes divided by sixty times the rate. Overhead here is a percentage of routing cost, similar to a percentage-based indirect cost formula.

  • Material = net / (1 - scrap)
  • Setup per unit = setup hours x rate / lot
  • Run per unit = minutes / 60 x rate
  • Overhead = routing cost x overhead %

Reading the lot size chart

The curve drops quickly then flattens: setup cost is a fixed amount spread over more units. This is why costing quantity matters. If your standard lot is far from the lot actually produced, price variances show up as production variances. Pick a costing lot size that reflects typical order quantities, and revisit it when planning rules change.

Common mistakes

Applying scrap twice, once on the BOM line and again in a production-level scrap percentage, is common. So is using machine rates that already include overhead and then adding an overhead percentage on top. Document which cost categories carry which rates before comparing numbers, and make sure unit of measure conversions in the BOM match those in the item master.

Frequently Asked Questions

Does this match D365 exactly?

It matches the arithmetic for a single level with a percentage overhead. D365 can also roll up multiple levels, apply different cost groups and use quantity-based indirect cost formulas, so treat this as a cross-check rather than a replica.

Why divide by one minus scrap?

Because scrap percentage is defined against gross input. To get one good unit when 3 percent of input is lost, you need input divided by 0.97, which is slightly more than input times 1.03.

What lot size should I use?

Use the quantity that best represents a typical production order. If orders vary widely, choose the median, and review the cost chart to see how sensitive the result is to that choice.

Where does overhead come from in D365?

Overhead usually comes from indirect cost formulas on the routing or BOM, or is built into resource rates. Check how your company configured them so you do not apply it twice.

If you maintain thousands of BOMs and want cost anomalies flagged automatically from your D365 data, Netray can set up read-only analysis with your consultant.