Purpose: To develop a knowledge-based planning (KBP) model that predicts dosimetric indices and facilitates planning in CyberKnife intracranial stereotactic radiosurgery/radiotherapy (SRS/SRT). Methods: Forty CyberKnife SRS/SRT plans were retrospectively used to build a linear KBP model which correlated the equivalent radius of the PTV (r eq_PTV) and the equivalent radius of volume that receives a set of prescription dose (r eq_Vi , where V i = V 10% , V 20%. .. V 120%). To evaluate the model's predictability, a fourfold crossvalidation was performed for dosimetric indices such as gradient measure (GM) and brain V 50%. The accuracy of the prediction was quantified by the mean and the standard deviation of the difference between planned and predicted values, (i.e., GM = GM pred − GM clin and fractional V 50% = (V 50%pred − V 50%clin)/V 50%clin) and a coefficient of determination, R 2. Then, the KBP model was incorporated into the planning for another 22 clinical cases. The training plans and the KBP test plans were compared in terms of the new conformity index (nCI) as well as the planning efficiency. Results: Our KBP model showed desirable predictability. For the 40 training plans, the average prediction error from cross-validation was only 0.36 AE 0.06 mm for GM, and 0.12 AE 0.08 for V 50%. The R 2 for the linear fit between r eq_PTV and r eq_vi was 0.985 AE 0.019 for isodose volumes ranging from V 10% to V 120% ; particularly, R 2 = 0.995 for V 50% and R 2 = 0.997 for V 100%. Compared to the training plans, our KBP test plan nCI was improved from 1.31 AE 0.15 to 1.15 AE 0.08 (P < 0.0001). The efficient automatic generation of the optimization constraints by using our model requested no or little planner's intervention. Conclusion: We demonstrated a linear KBP based on PTV volumes that accurately predicts CyberKnife SRS/SRT planning dosimetric indices and greatly helps achieve superior plan quality and planning efficiency.