31.05% is the change from 512 to 671
Calculation steps:
[( 671 - 512 ) ÷ 512] x 100 = 31.05%
Formula
Percentage change = [(671 - 512) / 512] x 100
Subtract the new number by the original number
671 - 512 = 159
159 ÷ 512 = 0.310546875
0.310546875 x 100 = 31.05%