Calculate Your CTC Hike Percentage

 


Did you receive a Salary Hike? Congratulations! 

Using this CTC Hike Percentage calculator, you can calculate:

  • Percentage Hike Received
  • New Expected Salary
  • Old Salary (yes, you already know it! But if you want to compare, we've included that feature as well!)
The Simple to use Calculator is written in Pure HTML and JavaScript. You need to enter 2 out of the 3 variables i.e. If you have your Old Salary and the New Salary, you can calculate the Percentage Hike. Of if you have your Old Salary and the Hike Percentage, you can Calculate the New Salary expected. 

CTC Salary Hike Percentage Calculator

Type a Number value in any 2 of the below 3 fields, and click Calculate button.

Old Salary
Percentage Hike
New Salary


Note:
If you enter value in incorrect number of fields, the Calculator will display an error to you for correction. Calculated value will be displayed in the empty field and highlighted with the green color. 
If you want to reuse the calculator, you can press Reset button, or clear out the fields and calculate again.

In case you're interested in the base working code for this calculation, here it is:

switch(emptyField)
{
	case 1:
		calcValue = (newSalary / (1+(percentage/100)));
		break;
		
	case 2:
		calcValue = (((newSalary - oldSalary)/oldSalary) * 100);
		break;
		
	case 3:
		calcValue = (oldSalary * (1+(percentage/100)));
		break;	
}

Thanks for Reading the Article. If you have reached this far, we hope that the article was useful to you! Please Like/Share/Follow us on FacebookTwitterTumblr.


Comments

Popular posts from this blog

Java Program to Find a List of Prime Numbers (Step by Step)

Java Program to check Palindrome

What is my IP Address - How to find your IP address on Local Network using Command Prompt, and External Network using JavaScript Code

Reduce Server Load from Dynamic Page Search - Create a Dynamic JavaScript based Table filter