The document describes the development of an autonomous in-situ total phosphorus analyzer for use in aquatic environments. The analyzer uses the colorimetric stannous chloride-molybdenum blue method to measure orthophosphate, organic phosphate, and assimilated phosphate in algal biomass. A fluorinated ethylene propylene tubing digester catalyzed by UV light and heated by a nickel chromium wire is developed to digest organic phosphorus into a measurable form. Water samples and reagents are delivered using microfluidics and syringes controlled by linear actuators. Absorbance measurements are taken using a photodiode and LED in a flow cell. Validation tests achieved a correlation of r2=0