# Checking distance between lat/long pairs

**URL:** <https://community.thunkable.com/t/checking-distance-between-lat-long-pairs/2687556>\
**Category:** Questions about Thunkable X\
**Tags:** beginner\
**Created:** [November 7, 2023, 4:49pm UTC](https://community.thunkable.com/t/checking-distance-between-lat-long-pairs/2687556 "2023-11-07T16:49:53Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [November 7, 2023, 5:38pm UTC](https://community.thunkable.com/t/checking-distance-between-lat-long-pairs/2687556/2 "2023-11-07T17:38:41Z")

</div>

You need to calculate the distance. Most people use the Haversine formula for that. It’s a pain to set up but it works great.

See this: [Calculate distance travelled](https://community.thunkable.com/t/calculate-distance-travelled/565278)

Note that that will calculate the distance between two points “as the crow flies.” If you want actual road distance, you’d probably need to use an API call with the Google Maps API.

---

_[View the full topic](https://community.thunkable.com/t/checking-distance-between-lat-long-pairs/2687556)._
