It might be made by reacting potassium hydroxide or potassium carbonate with nitric acid .
Potassium nitrate can also be produced by neutralizing nitric acid with potassium hydroxide .