How do I hide an element based on user's geolocation

Our company has 2 phones, one local (for the US) and another one for outside the US (toll-free). We have the local phone # on the header, however we need for the toll free # to show for website visitors outside the US, Is there any way to accomplish this without having to pay for an external geolocation service?