This project addresses the global health challenge posed by the prevalence of diabetic retinopathy (DR) by developing an efficient automated diagnostic system. The dataset, consisting of diverse high-resolution retinal images, underwent preprocessing to categorize images into No DR (0) and DR (1-4) classes. The First initial binary classification model using a Convolutional Neural Network (CNN) discriminated between healthy and diseased retinas. Subsequently, The second multi-class CNN model was designed to predict the severity of diabetic retinopathy (DR) across a spectrum from mild (1) to proliferative DR (4), enabling a fine-grained analysis for early identification of cases requiring urgent intervention. To address real-world complexities, potential noise in the dataset, including artifacts and exposure variations, was acknowledged. The CNN models were designed to exhibit resilience to these challenges, ensuring robust performance in clinical settings. Preprocessing is considered the common occurrence of image inversion in retinal imaging by incorporating anatomical features, such as macula position and notches, to correctly identify image orientation and enhance result interpretability. The proposed automated analysis system demonstrated promising results in accurately categorizing retinal images into No DR and DR, as well as assigning severity scores for diabetic retinopathy. This project contributes significantly to computer-aided diagnostics, Supplying a dependable instrument for promptly identifying and addressing cases of diabetic retinopathy.