The present invention provides for nutrient extraction and recovery devices that use the Donnan Membrane Principle (DMP) to cause spontaneous separation of dissolved ions along electrochemical potential gradients, wherein anions and cations such as H2PO4−, HPO42−, PO43−, Mg2+, Ca2+, NH4+, and K+ are moved from manure containing waste streams through cation and anion exchange membranes into a recovery stream thereby precipitating target compounds including but not limited to struvite, potassium struvite and hydroxyapatite.