Apple introduced iBeacon to the world in 2013. iBeacon allows you to do indoor geolocation and has essential features to application development. Since 2007, Wi-Fi localization has become the most popular indoor geolocation technology after used with iPhone. The purpose of this project was to develop an iBeacon application and use iBeaconโs signals to improve the accuracy of Wi-Fiโs localization. For the application, we developed an algorithm that allows us to count the number of people that are in a room and broadcast this information based on proximity. While the iBeacons are set up in place for this application, we also integrated it with Wi-Fi to improve the accuracy of Wi-Fi geolocation. We achieved this by developing a new algorithm called path-loss based nearest neighbor