Inventory aging is calculated by analyzing the age of individual inventory items based on their time in stock, typically measured in days, weeks, or months. This information is used to categorize inventory items into different age brackets, such as current, aged, or obsolete, based on predetermined thresholds. By tracking inventory aging, businesses can identify slow-moving or obsolete inventory that may require special attention or liquidation strategies to prevent obsolescence.