The volume of a bubble in a piezoinkjet printhead is measured acoustically. The method is based on a numerical model of the investigated system. The piezo not only drives the system but it is also used as a sensor by measuring the current it generates. The numerical model is used to predict this current for a given bubble volume. The inverse problem is to infer the bubble volume from an experimentally obtained piezocurrent. By solving this inverse problem, the size and position of the bubble can thus be measured acoustically. The method is experimentally validated with an inkjet printhead that is augmented with a glass connection channel, through which the bubble was observed optically, while at the same time the piezocurrent was measured. The results from the acoustical measurement method correspond closely to the results from the optical measurement.