Three optical invariants of graded-index optical fibers,the ray equation in a fiber cross section have been derived. Examples are given for several special cases. The results obtained here are in good agreement with previous theoretical calculations. The method,results are useful in designing refractive index profiles of fibers.