A theoretical formalism is introduced in this article to calculate the total cross sections for positron scattering. This method incorporates positron-target interaction in the spherical complex optical potential formalism. The study of positron collision has been quite subtle until now. However, recently, it has emerged as an interesting area due to its role in atomic and molecular structure physics, astrophysics, and medicine. With the present method, the total cross sections for simple atoms C, N, and O and their diatomic molecules C2, N2, and O2 are obtained and compared with existing data. The total cross section obtained in the present work gives a more consistent shape and magnitude than existing theories. The characteristic dip below 10 eV is identified due to the positronium formation. The deviation of the present cross section with measurements at energies below 10 eV is attributed to the neglect of forward angle-discrimination effects in experiments, the inefficiency of additivity rule for molecules, empirical treatment of positronium formation, and the neglect of annihilation reactions. In spite of these deficiencies, the present results show consistent behavior and reasonable agreement with previous data, wherever available. Besides, this is the first computational model to report positron scattering cross sections over the energy range from 1 to 5000 eV.