Show distance in page results

Hello,

I’m trying to build a search by Distance Module in Magento 2 and calculate delivery cost base on distance of seller and buyer (Ex 3 Milles x $1)
I want to show the calculation on Instaseacrh Page results
I this possible using algolia? Can you guys guide me a little with the approach