-32.62% is the change from 512 to 345
Calculation steps:
[( 345 - 512 ) ÷ 512] x 100 = -32.62%
Formula
Percentage change = [(345 - 512) / 512] x 100
Subtract the new number by the original number
345 - 512 = -167
-167 ÷ 512 = -0.326171875
-0.326171875 x 100 = -32.62%