**The two methods for calculating ending inventory include the gross profit method and the retail inventory method.** The ending inventory is the number of units of inventory that the company on hand at the end of an accounting period. This figure is need for various accounting calculations, including cost of goods sold.

Using the gross profit method, add together the cost of the beginning inventory and the total cost of additional items that were purchased during the period to get the cost of goods available. Subtract the estimated cost of goods sold by the cost of goods available.

With the retail inventory method use the proportion of the retail price to costs in prior periods for a more exact amount.