General description of an on-line procedure of calibration for IGRT (image guided radiotherapy) is given. The algorithm allows to improve targeting cancer by estimating its position in space and suggesting appropriate correction of the position of the patient. The description is given in the Geometric Algebra language which significantly simplifies calculations and clarifies presentation.