Abstract: A phone case capable of measuring a distance to an object contains: an accommodating cover, a protective cover, and a cell. The accommodating cover includes a first orifice defined on a front end thereof and includes two locking tabs extending outwardly from two peripheral sides thereof and connecting with a smartphone. The protective cover connects with the accommodating cover and includes an aperture defined on a rear end thereof. A front end of the cell connects with a first printed circuit board (PCB) for measuring a distance to an object, and a rear end of the cell couples with a second printed circuit board (PCB) for controlling a power supply. The first PCB has an infrared ray (IR) receiver, and the second PCB has a charging connector electrically connected with the smartphone and has a button mounted on a bottom thereof.