5.86% is the change from 512 to 542
Calculation steps:
[( 542 - 512 ) ÷ 512] x 100 = 5.86%
Formula
Percentage change = [(542 - 512) / 512] x 100
Subtract the new number by the original number
542 - 512 = 30
30 ÷ 512 = 0.05859375
0.05859375 x 100 = 5.86%