Gastric acid
The highest concentration that gastric acid reaches in the stomach is 160 mM in the canaliculi. This is about 3 million times that of arterial blood, but almost exactly isotonic with other bodily fluids. The lowest pH of the secreted acid is 0.8, but the acid is diluted in the stomach lumen to a pH between 1 and 3.
Bile acid
Prior to secreting any of the bile acids (primary or secondary, see below), liver cells conjugate them with one of two amino acids, glycine or taurine, to form a total of 8 possible conjugated bile acids. These conjugated bile acids are often referred to as bile salts because of their physiologically-important acid-base properties. The pKa of the unconjugated bile acids are between 5 and 6.5, and the pH of the duodenum ranges between 3 and 5, so when unconjugated bile acids are in the duodenum, they are almost always protonated (HA form), which makes them relatively insoluble in water. Conjugating bile acids with amino acids lowers the pKa of the bile-acid/amino-acid conjugate to between 1 and 4. Thus conjugated bile acids are almost always in their deprotonated (A-) form in the duodenum, which makes them much more water-soluble and much more able to fulfil their physiologic function of emulsifying fats.