# Math gurus needed :)

**URL:** <https://forum.kirupa.com/t/math-gurus-needed/222139>\
**Category:** random\
**Created:** [April 11, 2007, 5:39am UTC](https://forum.kirupa.com/t/math-gurus-needed/222139 "2007-04-11T05:39:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lorren\_biffin](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/lorren_biffin/32/2726_2.png) [@lorren\_biffin](https://forum.kirupa.com/u/lorren_biffin)\
**Post date:** [April 11, 2007, 5:39am UTC](https://forum.kirupa.com/t/math-gurus-needed/222139/1 "2007-04-11T05:39:07Z")

</div>

I need to figure out the mathematical formula to calculate the distance between two points given the longitude and latitude. (Then I need to convert that formula into a PHP function.

Anybody? 🙂

Thanks for your help(in advance).

(PS: I’m not really a Math guy, so if you could put it in simple english, i’d appreciate it :))
