Actual weight = 0.18g
Error = 0.21g - 0.18g
= 0.03g
% error = 0.030.18×100%\frac{0.03}{0.18} \times 100\%0.180.03×100%
= 16.7%