Mutual information between the brain state and the external world state represents the amount of information stored in the brain that is associated with the external world. On the other hand, surprise of sensory input indicates the unpredictability of the current input. In other words, this is a measure of prediction capability, and an upper bound of surprise is known as free energy. According to the free-energy principle (FEP), the brain continues to minimize free energy to perceive the external world. For animals to survive, prediction capability is considered more important than just memorizing information. In this study, the fact that free energy represents a gap between the amount of information stored in the brain and that available for prediction is established, where the latter will be referred to as predictive information as an analogy with Bialek's predictive information. This concept involves the FEP, the infomax principle, and the predictive information theory, and will be a useful measure to quantify the amount of information available for prediction.