The algorithm with the highest accuracy should be the Solar Position Algorithm (SPA) by the National Renewable Energy Laboratory (NREL) of the US….An online calculator is avaible here:
Source: How can we compute solar position at a given place on a given…