Determining altitude on a smartphone Android may be needed by tourists, athletes, drone pilots or simply curious users. Modern devices are equipped with sensors that allow you to obtain this data with varying degrees of accuracy - from approximate values โ€‹โ€‹to professional measurements with an error of less than 1 meter. But how exactly does it work? And why do different applications show different numbers in the same place?

In this article we will analyze 7 proven methods height measurements - from built-in tools Android to specialized applications with support GPS, GLONASS i barometric sensors. You will learn which method is the most accurate, how to minimize errors and what to do if your smartphone shows clearly incorrect data. And at the end - answers to frequently asked questions and life hacks for extreme conditions (mountains, flying, scuba diving).

Spoiler: if you need maximum accuracy, you will have to combine several methods. But for most tasks, standard tools are sufficient Android โ€”the main thing is to know where to look for them.

1. Built-in GPS: fast, but with errors

The most obvious way is to use data GPS/GLONASSthat the smartphone receives from satellites. This method does not require additional applications, but has a significant drawback: the error can reach 10โ€“50 meters depending on conditions.

To see the altitude through standard means:

  1. Open the application Google Maps.
  2. Click on the blue dot of your location.
  3. In the window that appears, scroll up - there will be a line Height: ~X m.

Alternate path: go to Settings โ†’ Security and location โ†’ Location โ†’ Last coordinates (path may vary depending on model). The height is also displayed here, but often without rounding.

โš ๏ธ Attention: In densely populated areas with tall buildings, the GPS signal is reflected from the walls (urban canyon effect), which increases the error to 100+ meters. In the mountains or in open areas, the accuracy is higher.

If you need raw satellite data, use the engineering menu:

##4636## โ†’ Information about the phone โ†’ GPS status

The coordinates and altitude in meters above sea level are displayed here according to the standard WGS84 (used in aviation and geodesy).

๐Ÿ“Š Why do you need altitude above sea level?
For tourism/hiking
For sports (running, cycling)
For drones/quadcopters
Out of curiosity
Other

2. Barometric sensor: accuracy up to 1 meter

Most modern smartphones (starting from Samsung Galaxy S5, Google Pixel 2, Xiaomi Mi 8 and newer) are equipped barometric sensor, which measures atmospheric pressure. Since pressure changes with altitude, it can be calculated with high accuracy - up to ยฑ1 meter in ideal conditions.

To check if your device has a barometer:

  1. Install application AIDA64 or CPU-Z.
  2. Go to section Sensors.
  3. Look for the line Barometer or Pressure sensor.

If sensor yes, use applications like Barometer & Altimeter (from Bubble Level Apps) or Altimeter GPS (from Droid49). They are automatically calibrated using data from weather stations and show altitude in real time.

โš ๏ธ Attention: The barometer is sensitive to weather changes. If there is a sharp drop in atmospheric pressure (for example, before a thunderstorm), altitude readings may โ€œfloatโ€ by ยฑ5โ€“10 meters. For accurate measurements, calibrate the sensor manually by indicating the current pressure from the nearest weather station.

Calibration example in Barometer & Altimeter:

  1. Open the application and wait until the readings stabilize.
  2. Press Menu โ†’ Calibration.
  3. Enter the current pressure for your region (can be taken from the website rp5.ru or windy.com).
  4. Indicate the known height (for example, if you are on the 3rd floor, add ~10 meters to the height of the ground).
๐Ÿ’ก

If you often travel to the mountains, save the page of the nearest weather station in your browser bookmarks (for example, yr.noThis will speed up the calibration of the barometer in the field.

3. Applications with support for A-GPS and differential. corrections

For tasks that require increased accuracy (for example, piloting drones or geodetic work), standard GPS is not enough. Applications that use A-GPS (accelerated GPS) and data differential correction (SBAS, such as WAAS in the USA or EGNOS in Europe) will help here.

Top 3 applications for precise measurements:

  • ๐Ÿ“ฑ GPS Status & Toolbox โ€”shows altitude with SBAS correction, supports track recording.
  • ๐ŸŒ Locus Map โ€”professional solution with support for offline maps and manual reference to reference points.
  • โœˆ๏ธ Aviator Altimeter โ€”specialized altimeter for pilots, taking into account the standard atmospheric pressure QNH.

In these applications, you can enable the option Use SBAS (usually in the GPS settings). This reduces the error to 3โ€“5 meters due to corrective signals from stations on the ground.

Example of settings in GPS Status:

  1. Open the application and wait for the satellites to fix (at least 8).
  2. Go to Settings โ†’ Accuracy โ†’ Enable SBAS.
  3. Select a region (for example, Europe (EGNOS)).
  4. Wait for the data to update - the altitude will be displayed in the section Altimeter.
Method Accuracy Internet required Energy consumption
Standard GPS (Google Maps) ยฑ10โ€“50 m No Average
Barometric sensor ยฑ1โ€“3 m No (but requires calibration) Low
GPS with SBAS (GPS Status) ยฑ3โ€“5 m Yes (for correction) High
Offline maps (Locus Map) ยฑ5โ€“10 m No Low

4. Offline maps and geoids: when there is no Internet

If you are on a hike without a connection, but need altitude data, offline mapping applications like Osmand or Maps.me save not only maps, but also relief models (DEM), which allow you to determine the height with an error 5โ€“10 meters.

How to download offline maps with relief in Osmand:

  1. Open the application and go to Maps โ†’ Download maps.
  2. Select a region and download:
    • ๐Ÿ—บ๏ธ Main map (for example, Russia (Osmand)).
    • ๐Ÿ”๏ธ Relief map (SRTM or ASTER).
    • ๐Ÿ“Š Contour lines (Contour lines).
  • After loading, turn on the display of height in the layer settings.
  • The algorithm is simpler: just download a map of the region, and the smartphone will show the altitude when you click on your location. However, there is no barometer support, so the data is taken only from GPS. Maps.me The algorithm is simpler: just download a map of the region, and the smartphone will show the altitude when you click on your location. However, there is no barometer support, so data is taken only from GPS.

    โš ๏ธ Attention: Offline maps use average relief data, which may not take into account local features (for example, cliffs or hills less than 10 meters high). meters). For mountaineering or speleology, it is better to combine them with a barometer.

    Download offline maps with relief|Check the operation of the barometer|Record the altitude of key points on the route|Take a spare battery (GPS drains the battery quickly)-->

    5. Professional solutions: for geodesy and aviation

    If you need legally significant accuracy (for example, for cadastral work or airfield certification), standard tools Android will not be enough. In such cases, use:

    • ๐Ÿ“ก GNSS receivers (for example, Garmin GLO 2 or Bad Elf GPS), connected via Bluetooth. They support RTKcorrection (accuracy up to 1 cm!).
    • ๐Ÿ›ฉ๏ธ Aviation altimeters (for example, Stratux for pilots), which take into account standard pressure QNE (1013.25 hPa).
    • ๐Ÿ“ก Satellite systems like Trimble R1that work with differential correction bases.

    To connect an external GNSS receiver to Android:

    1. Turn on Bluetooth on your smartphone.
    2. Connect the receiver (for example, Bad Elf GPS Pro+).
    3. Install the application GNSS Viewer or GPS Test.
    4. B in the application settings, select an external signal source.

    The cost of such solutions starts from 20,000 rubles, but they are indispensable for professionals. For example, drones DJI Matrice 300 RTK use similar technologies for precise positioning.

    What is RTK and why do you need it?

    RTK (Real-Time Kinematic) is a satellite navigation method that uses two antennas: a base one (with known coordinates) and a mobile one. The system compares the phases of signals and calculates the position with an accuracy of centimeters. In geodesy, RTK is used for land surveying, in agriculture for autopiloting equipment, and in aviation. landing drones in automatic mode.

    6. Alternative methods: without sensors and GPS

    If your smartphone is older than 2015 and is not equipped with a barometer or GPS does not work well, you can try indirect methods:

    Method 1: Online services for coordinates

    • ๐ŸŒ Open gps-coordinates.net.
    • Enter your coordinates (can be taken from Google Maps).
    • The service will show the altitude based on the base SRTM (error ยฑ10 m).

    Method 2: Mobile towers

    Some applications (for example, Cell Tower Locator) determine the height using data from nearby cell towers. The accuracy is low (ยฑ50โ€“100 m), but the method works even without GPS.

    Method 3: Roulette + mathematics

    If you in the city and you know the height of the floor (standard - 3 meters), you can approximately calculate the height using the formula:

    Height = (floor ร— 3) + height of the ground above sea level

    Check the height of the ground at Google Maps (click on the building and see the data in the wiki card).

    โš ๏ธ Attention: In some countries (for example, the USA), the altitude above sea level is indicated relative to the local datum (for example, NAVD88), which may differ from global WGS84 by 1โ€“2 meters. In Russia and Europe it is used Baltic altitude systemwhich is lower WGS84 by ~20โ€“30 cm.

    7. Common errors and how to avoid them

    Even with modern sensors, users often encounter inaccurate data. Here are some errors and their solutions:

    • ๐Ÿ“ต Weak GPS signal โ†’ Go out into the open, turn off battery saving for applications. navigation.
    • ๐ŸŒง๏ธ The barometer is lying due to the weather โ†’ Calibrate the sensor every 2-3 hours using data from weather sites.
    • ๐Ÿ™๏ธ In the city, the height "jumps" โ†’ Turn off Wi-Fi and mobile data - the smartphone can use networks for approximate positioning.
    • ๐Ÿ”‹ Battery drains quickly โ†’ Use the mode Energy saving in the GPS settings or an external battery.

    If the altitude is clearly incorrect (for example, it shows โˆ’100 meters at sea level), check:

    1. Date and time settings (should be automatic).
    2. Updating AGPS data (in GPS Status click A-GPS Management โ†’ Reset and download).
    3. Integrity of the GPS antenna (if the smartphone fell, it could move away).
    ๐Ÿ’ก

    For maximum accuracy, combine GPS + barometer + offline maps. For example, in the mountains, use a barometer for relative height (ascent/descent), and GPS for absolute reference to the map.

    FAQ: Answers to frequently asked questions

    Is it possible to measure altitude without Internet?

    Yes, if your smartphone has a barometer or you downloaded offline maps with relief in advance. GPS also works without the Internet, but to speed up the search for satellites (A-GPS), you need access to the network when you first turn it on.

    Why are there different altitudes in the same place on iPhone and Android?

    This is due to different data sources:

    • iPhone uses a barometer + altitude base Apple Maps (often more accurate).
    • Android can take data from GPS or Google Maps, where the error is higher.

    For unification, install one on both devices application, for example GPS Status.

    How to measure altitude on an airplane?

    In flight, GPS on the smartphone is usually disabled (according to airline rules), but the barometer will continue to work. Use the application Aviator Altimeter, having previously specified the pressure QNE (1013.25 hPa). In the cabin, the pressure is artificially maintained at ~2,400 m, so the readings will be underestimated.

    Can a smartphone be used as an altimeter for a paraglider?

    Technically yes, but only as a backup deviceProfessional altimeters (for example, Flymaster or Skytraxx) update data 10+ times per second and are certified. The smartphone may freeze or exhibit an error due to pressure drop. For safety, combine with a remote barometer.

    Why is the altitude on Google and Yandex maps different?

    Services use different data sources:

    • Google Maps โ€”relief model SRTM (error ยฑ6 m).
    • Yandex Maps - data Rosreestr (more accurate in Russia, but updated less frequently).

    For for critical tasks, check with topographic maps (General Staff or OpenTopoMap).