The ClearTax Salary Calculator asks you to enter the bonus as a percentage of the cost to the company or a fixed amount to calculate the performance bonus. It subtracts the performance bonus from the cost to the company to give you the gross pay.