Skip to main content

Description

Extracts the latitude from a given IPv4 string (dot-decimal notation).

Syntax

LatitudeFromIP(ipaddress)

Examples

LatitudeFromIP('128.193.8.81') returns 44.5928

Notes

  • Negative latitude values are south of the equator (0°).
  • The function uses GeoLite2 data created by MaxMind, available from https://www.maxmind.com

Return value datatype

Float

Impact of null value

If input is null, returns null.
Last modified on October 5, 2026