Dearness allowance is calculated based on the Consumer Price Index for Industrial Workers (CPI-IW), which measures inflation. As CPI increases, DA is revised to compensate for the rising cost of living and protect employees' real income from erosion.