Stereotactic radiotherapy to treat neoplastic lesions or artero-venus malformations in the brain may be accomplished with a linear accelerator by performing several non-coplanar arcs of irradiation with a highly collimated beam focused on a fixed point. This paper introduces a system to perform treatment planning. It is based on a Personal Computer and allows the acquisition, reconstruction and visualization of the target volume, within the brain, from CT (Computerized Tomography) or MR (Magnetic Resonance) images, and then it permits calculation and visualization of a 3-D (three-dimensional) dose distribution due to small photon beams. The performances of the system and its use in a practical case are described.