Ratio determination by titration