We present the results of full new calculation of radiocarbon 14 C production in the Earth atmosphere, using a numerical Monte-Carlo model. We provide, for the first time, a tabulated 14 C yield function for the energy of primary cosmic ray particles ranging from 0.1 to 1000GeV/nucleon. We have calculated the global production rate of 14 C, which is 1.64 and 1.88atoms/cm 2 /s for the modern time and for the pre-industrial epoch, respectively. This is close to the values obtained from the carbon cycle reservoir inventory. We argue that earlier models overestimated the global 14 C production rate because of outdated spectra of cosmic ray heavier nuclei. The mean contribution of solar energetic particles to the global 14 C is calculated as about 0.25% for the modern epoch. Our model provides a new tool to calculate the 14 C production in the Earth's atmosphere, which can be applied, e.g., to reconstructions of solar activity in the past.