Hi,
My brew books always say to prime with 50g of sugar for a 6 gallon batch ready for bottling. However, I seem to remember I did this, and most of the bottles from a batch blew up with foam when I opened them. So I've backed off to 20-30 of sugar, and my beer is usually a little more flat...