A quantity called the pH is a scale that is used to compare the relative strength of acids and bases.