All tools are well commented and documented so they can be reused easily, even by some with limited exposure to analytical chemistry. buffer_capacity.R contains code that calculates buffer capacity.