This tool enables you to track changes in your blood alcohol content over the course of an evening, but you can also run the calculations beforehand, based on how much you expect to drink.

Needless to say, the data generated have no legal value.