As JFGambit says, it depends on how accurate you need to be. If you want the distance as the crow flies. This is not too difficult. You would need to integrate your database with a third party PostCode Address File (PAF) product. I haven't done this for many years , but last time I used AFD...