For manufactured goods, direct costs also include raw materials, labor, and production expenses. Other costs, such as transportation and advertising, are not included in COGS. To calculate COGS, beginning inventory is added to current period purchases, and ending inventory is then deducted.