A finite element model based on sinusoidal shear deformation theory is developed to study vibration and buckling analysis of composite beams with arbitrary lay-ups. This theory satisfies the zero traction boundary conditions on the top and bottom surfaces of beam without using shear correction factors.Besides, it has strong similarity with Euler-Bernoulli beam theory in some aspects such as governing equations, boundary conditions, and stress resultant expressions. By using Hamilton's principle, governing equations of motion are derived. A displacement-based one-dimensional finite element model is developed to solve the problem. Numerical results for cross-ply and angle-ply composite beams are obtained as special cases and are compared with other solutions available in the literature. A variety of parametric studies are conducted to demonstrate the effect of fiber orientation and modulus ratio on the natural frequencies, critical buckling loads and corresponding mode shapes of composite beams.