This calculator computes distance between two points on Earth. It uses Vincenty formula.
You can read more here: http://en.wikipedia.org/wiki/Great_circle_distance
Since Earth is not an ideal sphere, calculator uses average radius value which can give 0.5% error, according to wikipedia.
By default calculator coordinates are of New York and San Francisco