Calculating blood alcohol

How do you calculate blood alcohol content, given body weight, percentage of alcohol in what you are drinking and time consumed?

Online Calculator.
R U Pissed?

Thanks, runner pat!