Analytical and real‐time technology in pharmaceutical manufacturing process is an important need to ensure that manufactured drugs are safe and effective. Raman spectroscopy is an emerging technique that is able to perform quantitative analysis nondestructively due to the molecular structure of many drugs. Monitoring the content uniformity and quantification of active pharmaceutical ingredient (API) in the tablet preparation process, without the assistance of solvent, is one of the key concerns in the formulation design in order to provide stable, pure, and homogenous finished products. In this study, we investigated the possibility of using Raman data as an analytical method to quantify API, the intra‐ and inter‐sample uniformity of content in the tableting process of Metformin hydrochloride tablets (C4H11N5.HCl). Analysis of all standard samples for prediction of API uniformity represents an acceptable accuracy and precision with a relative standard deviation of 2.55%. Further investigation of tablets regarding to relative Raman intensity of some characteristic peaks demonstrates the amount of API content with an accuracy of ≥96%. These values have a good adaption with pharmacopeia monograph. Findings reveal that the Raman method can be routinely utilized for quantifying API, controlling the content uniformity and the stability of drugs in different stages of manufacturing.