The Batalin-Vilkovisky function is a central component in the modern formulation of the background field method and the physical applications derived from it. In the present work we report on novel lattice results for this particular quantity, obtained by capitalizing on its equality with the Kugo-Ojima function in the Landau gauge. The results of the lattice simulation are in very good agreement with the predictions derived from a continuum analysis based on the corresponding Schwinger-Dyson equations. In addition, we show that an important relation connecting this function with the ghost propagator is fulfilled rather accurately. With the aid of these results, we carry out the first completely lattice-based determination of the process-independent strong running interaction, employed in a variety of phenomenological studies.