You should also know that if given a weak base, you should be able to find out the pH using the same method. If given Ka instead of Kb, divide Kw by Ka to find Kb and use the same formula to solve for the concentration of the base. Take the log of it to find pOH and subtract it by 14 to find the pH.