-22.27% is the change from 512 to 398
Calculation steps:
[( 398 - 512 ) ÷ 512] x 100 = -22.27%
Formula
Percentage change = [(398 - 512) / 512] x 100
Subtract the new number by the original number
398 - 512 = -114
-114 ÷ 512 = -0.22265625
-0.22265625 x 100 = -22.27%