In order to explore the biological function of the purple acid phosphatase gene in tobacco, this study used bioinformatics software to find that the amino acid homology of NbPAP2 of tobacco and AtPAP2 of arabidopsis reached 64.2%, which is characteristic Signal peptide and C-terminal hydrophobic motif targeting chloroplast and binuclear metal ion center. The results of qRT-PCR showed that NbPAP2 was constitutively expressed in plants, with the highest expression in petals. The leaf stomatal conductance was increased by an average of 30.5%, and the net photosynthetic rate was increased by an average of 23%. However, the sucrose content decreased by 21%. Therefore, NbPAP2 promotes early flowering stage, biomass increasing, and increasing of tobacco seed volume by mediating carbon metabolism.