It takes about one hour for each unit of alcohol. To find out the number of units in a drink multiply the % alcohol content by the volume of the drink in litres (not counting mixers, obviously).
For example, a small (125 ml) glass of 12% wine in a pub contains 12 x 0.125 = 1.5 units.