What mass of substance would be needed to prepare these solutions:

1) 400ml (cm3) at 5% weight/volume
2) 50ml (cm3) of NAOH at 10% weight/volume

thanks

1) .05*400 g

2) .10 * 50 g of NaOH

I never did like w/v usage.