A clear presentation of the formulas and parameters in the Judd-Ofelt theory was given. Three intensity parameters was calculuted by the least-squares fitting method. Consequently, the algorithms of calculating the Judd-Ofelt parameters such as the oscillator strength, the spontaneous emission probability, branching ratio and radiative lifetime were discussed. Especially, three tables were given to make the complex algorithms be easily understood.