-38.09% is the change from 512 to 317
Calculation steps:
[( 317 - 512 ) ÷ 512] x 100 = -38.09%
Formula
Percentage change = [(317 - 512) / 512] x 100
Subtract the new number by the original number
317 - 512 = -195
-195 ÷ 512 = -0.380859375
-0.380859375 x 100 = -38.09%