Currently, many people have difficulty finding the nearest hospital that can accept the health insurance of the Health Social Security Organizing Agency (BPJS) and the ignorance of the community whether a hospital can accept BPJS Health or not. This can cause critical problems, especially if the patient's condition requires immediate health action. This problem can be solved with an application that can find the closest distance to BPJS recipient hospitals. One method to find the closest distance that currently has the highest level of accuracy is the Haversine Formula method. Applications made using the Haversine Formula method and based on Location Based Service can find the location of the nearest hospital based on the coordinates of the user's location. In this study, the application built using the Haversine Formula method and Location Based Service was able to find the closest distance from 38 hospitals in the Bekasi Regency area using Google Firebase as a database and Mapbox as a Maps API application. Tests were carried out by comparing the distance of 15 hospitals in 3 different locations, showing that the distance between the application and Google Maps was no more than 0.5 km, in location 1 the distance equation was 99%, location 2 was 97% and location 3 was 96% with an average success rate of 97%.