The main difference between perpetual and periodic inventory systems is the timing of the allocation of costs between inventory and cost of goods sold.