How Much Is Too Much Coffee To Drink In One Sitting?

Is there a scientific method to calculate optimal caffeine intake?

Can one drink too much coffee without getting addicted?