---
title: GeolocationCoordinates.latitude
slug: Web/API/GeolocationCoordinates/latitude
tags:
  - API
  - Geolocation API
  - GeolocationCoordinates
  - Property
  - Secure context
  - latitude
browser-compat: api.GeolocationCoordinates.latitude
---
{{securecontext_header}}{{APIRef("Geolocation API")}}

The **`GeolocationCoordinates.latitude`** read-only property is a `double` representing the latitude of the position in decimal degrees.

## Syntax

    let lat = geolocationCoordinatesinstance.latitude

### Value

A `double` representing the latitude of the position in decimal degrees.

## Specifications

{{Specifications}}

## Browser compatibility

{{Compat}}

## See also

- [Using the Geolocation API](/en-US/docs/Web/API/Geolocation_API/Using_the_Geolocation_API)
- {{domxref("GeolocationCoordinates")}}
