Double checking of the monitor units (MU) is an important step in the quality assurance (QA) process in radiosurgery. In this paper we propose the use of an independent algorithm constructed using the ellipsoid which best fits the measurements taken with the bubble head frame. The monitor units calculated by this independent algorithm and the commercial planning system were compared in 40 patients treated with radiosurgery (57 isocenters, 320 arcs). The average relative difference was . These results are better for the variance, , when all the depths of the bubble head frame are measured and no arcs are calculated by extrapolation or when only one of these factors appear. If there are missing values in the bubble head frame measurements and the model is extrapolated, the variance of the results is greater, . The algorithm is reliable as a QA tool for linac radiosurgery.