Stereotactic body radiotherapy (SBRT) applies high doses and requires advanced techniques to spare surrounding tissue in the presence of organ motion. In this work patient individual phase gating is investigated. We studied peripheral and central primary lung tumors. The internal target volume (ITV) was defined including different numbers of phases picked from a 4D Computed tomography (CT) defining the gating window (gw). Planning target volume (PTV) reductions depending on the gw were analyzed. A treatment plan was calculated on a reference phase CT (rCT) and the dose for each breathing phase was calculated and accumulated on the rCT. We compared the dosimetric results with the dose calculated when all breathing phases were included for ITV definition. GWs including 1 to 10 breathing phases were analyzed. We found PTV reductions up to 38.4%. The mean reduction of the lung volume receiving 20 Gy due to gating was found to be 25.7% for peripheral tumors and 16.7% for central tumors. Gating considerably reduced esophageal doses. However, we found that simple reduction of the gw does not necessarily influence the dose in a clinically relevant range. Thus, we suggest a patient individual definition of the breathing phases included within the gw.