If with gms you mean g (grammes, US English: grams), with my bodyweight of 62 kg (kilogrammes), 5 g of alcohol per kg bodyweight would be 310 g alcohol.
With a typical alcohol density of 0.789 g/mL (gramme per millilitre), this is 392 mL.
The red wine of which I drank 250 mL with dinner last night contains 14.5% alcohol, ie I consumed 36.25 mL alcohol. If I got the calculation right, that's 9.25% of the potentially lethal dose of 5 g per kg bodyweight you mentioned.