The DJIA is a price-weighted index, meaning that its value is based on the prices of the stocks within it. To calculate the DJIA, the sum of the prices of all 30 stocks is divided by a divisor, which is adjusted for stock splits, dividends, and other factors. This allows the index to maintain a consistent value over time, despite changes in the composition of the stocks.