The wedge filter is located below the ionization chamber in the head of the medical linear accelerator gantry. It can provide a wide range of synthetic wedge angles from 0 to 60 degrees through controlling the ratio of doses from the open and wedged fields. When a wedged field treatment is used, the wedge filter moves into and out of the radiation beam area under software control while radiation is off to ensure it is fully in or out of the beam. The required synthesized wedge angle is calculated based on the ratio of the doses delivered to the open and wedged fields.