# How to calculate straight line distance from spherical distance

I have longtitude and lattitude coordinates of one point and spherical distance between this and another point on Earth in kilometers (the shortest distance over the earth’s surface). I need to calculate what is the distance between these points in straight line. Can anybody help?

• Do you have those two points or just the distance-value? – Matte Oct 20 '16 at 14:45
• I have one of them and the distance. – BartholomeusR Oct 20 '16 at 15:25

$e = 2 \times 6371 \times sin(0.5 \times d/6371)$
where $d$ is your spherical distance, $6371$ is the earth radius in km, and $e$ stands for "euclidian".