Objective:The present research work is focused on brain tumor classification, prediction and to increase the performance to locate the tumor region. Methods: A two-dimensional Convolutional Neural Network (CNN) model is proposed to classify the Magnetic Resonance Images (MRI) into tumor and nontumor categories. The method is applied on a collected dataset consisting of 2056 MRI images. The model is implemented in Python with hyperparameter tuning and activation functions.Findings: In this paper, ReLU and LeakyReLU activation functions are applied with several optimizers. The analysis of the implemented results has been used to gauge performance accuracy. The computed results achieve 99.51% accuracy for predicting the brain tumor using LeakyReLU with Adam optimizer. Novelty: The proposed model provides quick, and accurate approach to classify patients by setting hyperparameter tuning parameters which helps to the doctor to detect patients suffering with tumor and the entire process reduces the computation time.