Tumors in the brain are masses or clusters of abnormal cells that may spread to other tissues nearby and pose a danger to the patient. The main imaging technique used to determine the extent of brain tumors is magnetic resonance imaging, which ensures an accurate diagnosis. A sizable amount of data for model training and advances in model designs that provide better approximations in a supervised environment likely account for most of the growth in Deep Learning techniques for computer vision applications. Deep learning approaches have shown promising results for increasing the precision of brain tumor identification and classification precision using magnetic resonance imaging (MRI). This study’s purpose is to describe a robust deep-learning model that categorizes brain tumors using MRI images into four classes based on a convolutional neural network (CNN). By removing artefacts, reducing noise, and enhancing the image, unwanted areas of brain tumors are deleted, quality is improved, and the tumor is highlighted. Several CNN architectures, including VGG16, VGG19, MobileNet, MobileNetV2, and InceptionV3, are investigated to compare or get the best model. After getting the best model, a hyper parameter ablation study was performed on that model. Proposed BrainNet-7 achieved the best results with 99.01% test accuracy and 99.21% test and validation accuracy.