if you raise a ball 1m and it has a mass of 50g, how much work was done?

W = M g H = (0.05 kg)*(9.8 m/s^2)*(1.0 m) = 0.49 joules

To get the work (W) in joules, the mass (M) must be in kilograms, and the acceleration of gravity (g) must be in m/s^2. H is the height lifted, in meters.