Abstract Accurate dosimetry in computed tomography (CT) is essential for patient safety and effective radiation management. This study presents the development of an automated algorithm designed to enhance patient dosimetry by facilitating size-specific dose estimates (SSDE) and organ dose estimations. Utilizing a Python-based script, the proposed method integrates advanced image preprocessing, contour detection, and mathematical calculations to quantify key metrics from CT images. This automated approach addresses the limitations of manual measurement techniques. A retrospective analysis was conducted on CT axial images from examinations acquired with an 80-detector scanner. The algorithm processes DICOM images, converts pixel values to Hounsfield Units, applies Gaussian smoothing, windowing, and thresholding, followed by morphological operations to refine segmentation. It measures the water equivalent diameter (Dw) and estimates both region SSDE and organ doses, incorporating tissue attenuation. Validation was performed using an adult anthropomorphic ATOM phantom, with organ doses measured by optically stimulated luminescence dosimeters. The results demonstrated the algorithm's potential in estimating SSDE and organ doses. Validation of the automated method revealed strong correlations for Dw and SSDE between the proposed method and manual measurements of five expert reviewers ranging from 0.86 to 0.99 for determination coefficient. Comparative analysis of organ doses showed close agreement between results from experimental setup against the proposed algorithm. The automated algorithm estimated brain dose with a mean of 21.8 mGy, while measurements from the ATOM phantom and CT Expo indicated 19.74 mGy and 23.05 mGy, respectively. For lung doses, the automated algorithm estimated 12.5 mGy compared to 11.0 mGy from the ATOM phantom and 13.1 mGy from CT Expo. Liver doses were measured at 12.7 mGy by the automated method, versus 12.1 mGy from the ATOM phantom and 11.1 mGy from CT Expo. This study shows the potential of automated image analysis techniques in enhancing dosimetry accuracy in CT examinations.