Dipotassium phosphate (K2HPO4) (also dipotassium hydrogen orthophosphate; potassium phosphate dibasic) is the inorganic compound with the formula K2HPO4.(H2O)x (x = 0, 3, 6). Together with monopotassium phosphate (KH2PO4.(H2O)x) it is often used as a fertilizer, food additive, and buffering agent.