Although it's good advice, it's not against the law to drink a drive. Legally, you cannot drive if you are intoxicated. By using a chart that is based on your weight, sex and number of drinks, you can quickly determine if you are legally intoxicated.
Remember, this is only and Estimate. If you are close, find another way home.