Question: how to calculate ending inventory budget?
Answer: Direct materials. The cost of materials per unit (as listed in the direct materials budget), multiplied by the number of ending units in inventory (as listed in the production budget).
Direct labor. ... 
Overhead allocation.