LOL at all the replies, theParty has the correct answer though. e.g. 12000 shares, 1000@0.1, 2000@0.05, 9000@0.025 (1000*0.1 + 2000*0.05 + 9000*0.025)/12000 = 0.035