Calculating Theoretical Buffer Capacity