In accordance with another embodiment, a controller in a fluid delivery system initiates drawing fluid into a chamber of a diaphragm pump. During a delivery phase of pumping the fluid in the chamber to a target recipient, the controller applies pressure to the chamber. At multiple different times during the delivery phase, the controller temporarily discontinues application of the pressure to the chamber to calculate how much of the fluid in the chamber has been pumped to the target recipient.