If tests are worth 40% of my grade in class and one test is 14% of the 40 how much would my grade go up if I make a 100 on said test

If the test is worth 14% of the 40% of your grade, then the test itself is worth 5.6% of your overall grade (14% of 40% = 5.6%).

If you make a perfect score of 100 on this test, your overall grade would increase by 5.6%. So if your current grade is, for example, 80%, then making a 100 on this test would increase your overall grade to 85.6%.