(remember we do not put liquids into these expressions)
(see the similarity between Kw and Ks!)
A recap on logs and antilogs can be found by scanning the QR code to the side or navigating to the acids and bases post under L2 Chemistry
You can think of the relationship between Ka and pKa as being the same as the relationship between [Hydronium] and pH. The equations for calculating each from each other are the same.
The pH of salt solutions are worked out in the same way as for weak acids and bases