GO:0055062:   phosphate ion homeostasis
Any process involved in the maintenance of an internal steady state of phosphate ions within an organism or cell.