Ok, I searched the earlier topics on this question, found some answers, but still couldn't understand it fully.
Here's the problem:
25 ml of 0,2 M HCl solution is mixed with 25 ml of 0,1 M NaOH solution. Calculate the pH of the new solution.
I've found this formula (Henderson-Hasselbach equation), but I don't get it.
pH = pKa + log (base/acid)
Can you help me solve this problem and also explain the formula? What does pKa mean? Why do we need to divide the base by the acid?