Using the density functional theory, we systematically calculated the stability, electronic, and optical properties of monolayer and multilayer blue phosphorus. The results show the structures are all dynamically stable, and the gaps decrease with an increase of the number of layers. An unexpected transformation from indirect to direct band gaps is also observed as the tensile strain increases. In addition, the optical properties indicate the optical absorption peak of the material is in the ultraviolet region.