Please have a look at this CTC breakup format. You only need to enter the Total CTC including Variable in the Yellow cell. The rest of the calculations will be automatic. In case you do not have a variable pay plan, please make the Fixed % as 100, and Variable % as 0.
I have also made a provision for Flexi Package with indicative headers under which these can be claimed. Hope you find it useful