Bockovac is located in the municipality Viljevo, in Osijek-Baranja County at an elevation of 95 meters above sea level and it covers the area of 9.88 km² (3.81 sq. miles). According to the 2011 census report, there were 52 inhabitants. It is mostly populated by Croats (57%), but also Serbs (32%) and Roms (11%). Nearby places: Blanje, Ivanovo, Kapelna, Cret Viljevski, Krunoslavje, Viljevo, Golinci, Donji Miholjac, Kućanci and Rakitovica.