A general design rule of deep-etched subwavelength sinusoidal-groove fused-silica grating as a highly efficient polarization-independent or polarization-selective device is studied based on the simplified modal method, which shows that the device structure depends little on the incident wavelength, but mainly on the ratio of groove depth to incident wavelength and the ratio of wavelength to grating period. These two ratios could be used as the design guidelines for wavelength-independent structure from deep ultraviolet to far infrared. The optimized grating profile with a different function as a polarizing beam splitter, a polarization-independent two-port beam splitter, or a polarization-independent grating with high efficiency of -1st order is obtained at a wavelength of 1064 nm, and verified by using the rigorous coupledwave analysis. The performance of the sinusoidal grating is better than a conventional rectangular one, which could be useful for practical applications.