In this letter, we describe the propagation of longitudinal waves in one-dimensional nonlinear elastic thin rods with material nonlinearity and geometric nonlinearity. Mathematical analysis is used to derive the analytical dispersion relationship of longitudinal waves; subsequently, the numerical Fourier spectrum method is used to solve the nonlinear wave equation directly and the results are used to verify the correctness of the derived nonlinear dispersion relation.