---
title: My GPS Location. Find Your Current Coordinates. Where am I?
description: Find your current GPS location coordinates from your browser. Get latitude,
  longitude, address details and view your location on a map.
source_url:
  html: https://testingbot.com/free-online-tools/my-gps-location
  md: https://testingbot.com/free-online-tools/my-gps-location.md
---

[Tools](https://testingbot.com/free-online-tools)Network Tools

# My GPS Location

Get your coordinates from browser

Find your current GPS coordinates from your browser. Get your latitude, longitude and address details instantly.

## What are my coordinates?

Click the button below to detect your current GPS location

 Detect My Location 

Detecting your location...

 Try Again 

### My location coordinates are:

Latitude

Longitude

 Copy Coordinates Refresh 

### What is my location?

Looking up address...

My location address is:

City: -

State: -

Country: -

Postal Code: -

Timezone: -

What3Words: -

 Could not retrieve address information 

### GPS Details

Accuracy: -

Altitude: -

Heading: -

Speed: -

Geohash: -

Timestamp: -

### Where am I? My Location Map

## What is GPS location?

GPS (Global Positioning System) location refers to the coordinates that pinpoint your exact position on Earth. It uses a constellation of satellites orbiting Earth to determine your location with high precision.

Your GPS location consists of two main components:

- **Latitude:** Your north-south position, measured in degrees from -90 (South Pole) to +90 (North Pole), with 0 at the equator
- **Longitude:** Your east-west position, measured in degrees from -180 to +180, with 0 at the Prime Meridian (Greenwich, London)

Modern smartphones and browsers can access GPS data to provide location-based services, navigation, weather information and more.

## GPS coordinates: how do they work? How accurate are they?

GPS works by receiving signals from multiple satellites (at least 4) and calculating your position based on the time it takes for each signal to reach your device. This process is called **trilateration**.

**Accuracy levels:**

- **Standard GPS:** 3-5 meters accuracy under open sky conditions
- **Assisted GPS (A-GPS):** Uses cell towers and Wi-Fi to improve accuracy and speed of location fix
- **DGPS (Differential GPS):** Can achieve sub-meter accuracy using ground-based reference stations
- **RTK GPS:** Real-Time Kinematic GPS can achieve centimeter-level accuracy

**Factors affecting accuracy:**

- Number of visible satellites
- Atmospheric conditions (ionosphere interference)
- Urban canyons (tall buildings blocking signals)
- Indoor vs outdoor positioning
- Device hardware quality

## How can I get GPS coordinates in Java, C#, Ruby, Python and NodeJS?

Here's how to get GPS coordinates programmatically in different languages:

**JavaScript (Browser):**

```javascript
navigator.geolocation.getCurrentPosition(
  (position) => {
    const lat = position.coords.latitude;
    const lng = position.coords.longitude;
    console.log(`Latitude: ${lat}, Longitude: ${lng}`);
  },
  (error) => console.error(error)
);
```

**Python:**

```python
import geocoder
g = geocoder.ip('me')
print(f"Latitude: {g.lat}, Longitude: {g.lng}")
```

**Java (Android):**

```java
LocationManager lm = (LocationManager) getSystemService(Context.LOCATION_SERVICE);
Location location = lm.getLastKnownLocation(LocationManager.GPS_PROVIDER);
double lat = location.getLatitude();
double lng = location.getLongitude();
```

**C# (.NET):**

```csharp
var locator = new Geolocator();
var position = await locator.GetGeopositionAsync();
var lat = position.Coordinate.Point.Position.Latitude;
var lng = position.Coordinate.Point.Position.Longitude;
```

**Ruby:**

```ruby
require 'geocoder'
result = Geocoder.search("your-ip-address").first
puts "Latitude: #{result.latitude}, Longitude: #{result.longitude}"
```

**Node.js:**

```javascript
const geoip = require('geoip-lite');
const ip = "your-ip-address";
const geo = geoip.lookup(ip);
console.log(`Latitude: ${geo.ll[0]}, Longitude: ${geo.ll[1]}`);
```

## How to mock GPS location details with Selenium and Appium?

**TestingBot** allows you to mock GPS location on both simulators/emulators and physical mobile devices during automated testing. This is essential for testing location-based features in your mobile applications.

**Mocking GPS with Selenium (Chrome DevTools Protocol):**

```python
# Python example with Selenium
from selenium import webdriver

driver = webdriver.Chrome()
driver.execute_cdp_cmd("Emulation.setGeolocationOverride", {
    "latitude": 51.175570,
    "longitude": 3.945113,
    "accuracy": 100
})
```

**Mocking GPS with Appium (iOS/Android):**

```python
# Python example with Appium
driver.set_location(51.175570, 3.945113, 10) # lat, lng, altitude
```

With TestingBot's real device cloud, you can:

- Test location-based app features with custom coordinates
- Simulate movement between locations for navigation testing
- Test geofencing functionality
- Verify location permissions handling

[Learn more about TestingBot's real device testing](https://testingbot.com/real-device-testing)

## Popular GPS coordinates of famous places

Here are GPS coordinates for some famous landmarks around the world:

| Location | Latitude | Longitude |
| --- | --- | --- |
| Eiffel Tower, Paris | 48.8584 | 2.2945 |
| Statue of Liberty, New York | 40.6892 | -74.0445 |
| Big Ben, London | 51.5007 | -0.1246 |
| Sydney Opera House | -33.8568 | 151.2153 |
| Christ the Redeemer, Rio | -22.9519 | -43.2105 |
| Machu Picchu, Peru | -13.1631 | -72.5450 |
| Great Wall of China | 40.4319 | 116.5704 |
| Taj Mahal, India | 27.1751 | 78.0421 |
| Colosseum, Rome | 41.8902 | 12.4922 |
| Burj Khalifa, Dubai | 25.1972 | 55.2744 |

### All Tools

#### Accessibility

- [Color Contrast Checker](https://testingbot.com/free-online-tools/color-contrast-checker)

#### Calculator

- [Test Effort Estimator](https://testingbot.com/free-online-tools/test-effort-estimator)
- [Test Coverage Calculator](https://testingbot.com/free-online-tools/test-coverage-calculator)

#### Converter

- [Unix Timestamp Converter](https://testingbot.com/free-online-tools/unix-timestamp-converter)

#### Formatter

- [Puppeteer to Playwright Converter](https://testingbot.com/free-online-tools/puppeteer-to-playwright-converter)
- [JSON Prettifier](https://testingbot.com/free-online-tools/json-prettify)
- [HTML Escaper](https://testingbot.com/free-online-tools/html-escape)
- [XML Prettifier](https://testingbot.com/free-online-tools/xml-prettify)
- [Remove Whitespace](https://testingbot.com/free-online-tools/remove-all-whitespace)
- [Text to One Line](https://testingbot.com/free-online-tools/text-to-one-line)
- [PX to REM Converter](https://testingbot.com/free-online-tools/px-to-rem-converter)
- [CSS Prettifier](https://testingbot.com/free-online-tools/css-prettify)

#### Generator

- [Random Avatar Generator](https://testingbot.com/free-online-tools/free-avatar-generator)
- [Placeholder Image Generator](https://testingbot.com/free-online-tools/placeholder-image-generator)
- [Random Address Generator](https://testingbot.com/free-online-tools/random-address-generator)
- [Credit Card Generator](https://testingbot.com/free-online-tools/credit-card-number-generator)
- [Random Number Generator](https://testingbot.com/free-online-tools/random-number-generator)
- [JWT Parser](https://testingbot.com/free-online-tools/jwt-parser)
- [Fake Person Generator](https://testingbot.com/free-online-tools/fake-person-generator)
- [Hash Text](https://testingbot.com/free-online-tools/hash-text)
- [Lorem Ipsum Generator](https://testingbot.com/free-online-tools/lorem-ipsum-generator)
- [Random IP Generator](https://testingbot.com/free-online-tools/random-ip-generator)
- [Random GUID Generator](https://testingbot.com/free-online-tools/random-guid-generator)
- [Character Count](https://testingbot.com/free-online-tools/character-count)
- [ASCII to Binary](https://testingbot.com/free-online-tools/ascii-to-binary)
- [Random Color Generator](https://testingbot.com/free-online-tools/random-color-generator)
- [Open Graph Meta Generator](https://testingbot.com/free-online-tools/og-meta-generator)
- [QR Code Generator](https://testingbot.com/free-online-tools/qr-code-generator)
- [Device Information](https://testingbot.com/free-online-tools/device-information)
- [User Agent Parser](https://testingbot.com/free-online-tools/user-agent-parser)
- [Image Extractor](https://testingbot.com/free-online-tools/image-extractor)
- [Test Plan Generator](https://testingbot.com/free-online-tools/test-plan-generator)

#### Network

- [CORS Tester](https://testingbot.com/free-online-tools/cors-tester)
- [What's My IP Address](https://testingbot.com/free-online-tools/whats-my-ip-address)
- [IP Subnet Calculator](https://testingbot.com/free-online-tools/ip-subnet-calculator)

#### Scheduler

- [Cron Expression Generator](https://testingbot.com/free-online-tools/cron-expression-generator)

#### Speed

- [Critical CSS Generator](https://testingbot.com/free-online-tools/critical-css-generator)

#### Testing

- [XPath & CSS Selector Tester](https://testingbot.com/free-online-tools/xpath-css-selector-tester)

[View all tools](https://testingbot.com/free-online-tools)
