When calculating CTC, several factors are taken into account, including basic pay, benefits, insurance, and EPF.