DA in salary is calculated as a percentage of the basic salary of a public sector employee. HRA is not calculated as a percentage of the basic salary.