We present a new variational method which generalizes the well-known Gaussian method for single-mode fibers. This method uses only simple elementary functions to approximate the fundamental mode fields. By applying it to several practical examples, we show that the present method is quite simple and very accurate, and thus that it can be very useful in the analysis of fibers and various practical devices.