COGS = Beginning Inventory + Purchases During the Period – Ending Inventory.
Examples of what can be listed as COGS include the cost of materials, labor, the wholesale price of goods that are resold, such as in grocery stores, overhead, and storage.
20,000 + 5,000 = 25000