The Economic Order Quantity (EOQ) model aims to determine the optimal order quantity that minimizes the total inventory costs, which are the sum of ordering costs and holding costs. The formula is derived by finding the point where these two costs are equal.