SB-11 – VOR/DME Navigation for Aviation

Copyright: © 2026 by Steffen Beyer

Version: 1.1.1

License: GNU General Public License (GPL) or GNU Lesser General Public License (LGPL), version at your discretion (as usual).

Description:

Calculate an aircraft's current geographical latitude and longitude (sometimes also called a fix) from the known position of a VOR/DME station, the station's magnetic declination, the aircraft's magnetic radial FROM that station, and its DME distance. Optionally, enter the aircraft's height above the station to correct the DME slant range to horizontal distance.

Disclaimer:

This program is designed for experimental navigation calculations over distances and at altitudes typical of general aviation (GA). It uses an approximate planar model of the Earth's surface, with corrections for the convergence of meridians towards the poles, rather than full spherical or ellipsoidal geometry.

This approximation introduces systematic position errors that can become substantial over long distances. The magnitude of these errors depends on the geographical configuration and generally increases with distance. Consequently, the program is not suitable for the extended navigation distances typical of high-altitude airline operations.

⚠️ For educational and flight-simulation use only. Not suitable as a primary or safety-critical navigation aid in real aircraft. ⚠️

Operating conditions:

Usage:

To initialize for a new VOR/DME station, press 2nd E'. Enter the station data, followed by the aircraft's radial, DME distance and optionally height:

KeyInput / OutputFormat / Unit
2nd A'VOR/DME station latitudeDDDMM.mmmmm
2nd B'VOR/DME station longitudeDDDMM.mmmmm
2nd C'Station magnetic declinationDDD.ddddddd
AMagnetic radial FROM the VOR/DMEDDD.ddddddd
BDME slant rangenautical miles
CHeight above the VOR/DME station (optional)feet

Press E to calculate the aircraft's current position. The aircraft's latitude appears on the display; its longitude is placed in the test register t. After calculation, 2nd A', 2nd B', 2nd C', A, B and C retrieve their stored values instead of accepting new ones.

To change the radial, DME or height without clearing their current values, press D; then enter only the values you want to change. To clear all three measurement inputs, press 2nd D'. To change to a different VOR/DME station and clear all station and measurement inputs, press 2nd E'.

Function keys:

KeyInput / OutputFormat / Unit
2nd A'Enter or retrieve VOR/DME station latitudeDDDMM.mmmmm
2nd B'Enter or retrieve VOR/DME station longitudeDDDMM.mmmmm
2nd C'Enter or retrieve VOR/DME station magnetic declinationDDD.ddddddd
2nd D'Clear radial, DME and height; switch A, B and C to input mode 
2nd E'Clear all station and measurement inputs; switch all six input/output keys to input mode 
AEnter or retrieve magnetic radial FROM the VOR/DMEDDD.ddddddd
BEnter or retrieve DME slant rangenm
CEnter or retrieve height above the VOR/DME station (optional)ft
DSwitch A, B and C to input mode without changing their stored values 
ECalculate the aircraft's current position; switch all six input/output keys to output mode 

Subroutines:

KeysExplanationLocationFormat / Unit
SBR .Converts cockpit format DDDMM.mmmmm to decimal degrees DDD.dddddddDisplay (x) and Register 00DDD.ddddddd
SBR +/-Converts decimal degrees DDD.ddddddd to cockpit format DDDMM.mmmmmDisplay (x) and Register 00DDDMM.mmmmm

Output:

LocationValueFormat / Unit
Display (x):Aircraft latitudeDDDMM.mmmmm
Register t:Aircraft longitudeDDDMM.mmmmm
Register 07:Aircraft latitudeDDD.ddddddd
Register 08:Aircraft longitudeDDD.ddddddd
Register 09:Corrected true radialDDD.ddddddd

Good to know:

The program does not interrupt ongoing calculations. Its functions and subroutines do not use CLR or = internally, so ongoing arithmetic operations are not prematurely cleared or evaluated.

The program uses a planar approximation to calculate latitude and longitude. If the optional height is supplied, it first converts the DME slant range to horizontal distance, which can increase accuracy.

Registers used:

RegisterPurposeFormat / Unit
00Coordinate conversion resultDDDMM.mmmmm, DDD.ddddddd
01VOR/DME latitudeDDDMM.mmmmm
02VOR/DME longitudeDDDMM.mmmmm
03VOR/DME magnetic declinationDDD.ddddddd
04Magnetic radialDDD.ddddddd
05DME distancenautical miles
06Height above VOR/DME stationfeet
07Aircraft latitude in decimal degrees; also intermediate latitude differenceDDD.ddddddd
08Aircraft longitude in decimal degrees; also intermediate longitude differenceDDD.ddddddd
09Corrected radial (magnetic to true)DDD.ddddddd
10Scratchpad for coordinate conversionsn/a
tAircraft longitude in cockpit format after calculation; also used internallyDDDMM.mmmmm
Flag 0Controls input/output mode for station data0 = input, 1 = output
Flag 1Controls input/output mode for radial, DME and height0 = input, 1 = output

Glossary:

AbbreviationMeaningExplanation
ADFAutomatic Direction FinderA marine and aircraft radio-navigation instrument that automatically and continuously displays the relative bearing of the aircraft to a ground-based radio transmitter (such as a Non-Directional Beacon or NDB)
AGL, heightAbove Ground LevelThe vertical distance of an aircraft measured directly above a specific ground surface, airfield or VOR/DME station
AMAmplitude ModulationA method of broadcasting radio signals where the amplitude (strength) of the carrier wave is varied to embed audio information
AMSLAbove Mean Sea LevelRefers to the altitude of an aircraft or geographic feature measured relative to the average level of the ocean's surface
ATCAir Traffic ControlA ground-based service that manages aircraft on the ground and in the air to prevent collisions and keep traffic moving safely
BRGBearingDirection from one geographical point to another on a compass rose
CDICourse Deviation IndicatorA needle inside an OBI that shows a pilot whether an aircraft is to the left, right, or directly on the center of an intended magnetic course to or from a VOR station, selected with the OBS knob
DECLMagnetic DeclinationDifference between magnetic and true (geographic) north, same as magnetic variation
DMEDistance Measuring EquipmentA radio navigation system that measures the direct slant-range distance between an aircraft and a ground-based transponder station
DVORDoppler VHF Omnidirectional Range A ground-based radio navigation system that uses the Doppler effect to give pilots accurate bearing and direction information to or from the DVOR station
EHFExtremely High Frequency (30 - 300 GHz)Used in cutting-edge, high-resolution airport surface movement radars and advanced military satellite nets
FLFlight LevelRefers to an aircraft's altitude expressed in hundreds of feet above a standard atmospheric pressure setting of 1013.25 hPa (or 29.92 inHg)
FMFrequency ModulationA method where the frequency of the radio carrier wave is varied instead of its amplitude, offering clearer audio and greater resistance to static or electrical interference
GAGeneral AviationRefers to all civilian aircraft operations such as private flying, flight training, business jets, and aerial work, other than scheduled commercial airline or military flights
HFHigh Frequency (3 - 30 MHz)HF radio waves reflect off the Earth's ionosphere to provide ultra-long-range communication, making them essential for transoceanic and remote arctic flights
LFLow Frequency (30 - 300 kHz)Drives Non-Directional Beacons (NDBs) utilized for legacy automatic direction finding (ADF) navigation
MBMagnetic BearingBearing referenced to magnetic north
MFMedium Frequency (300 kHz - 3 MHz)Houses commercial AM broadcasting (which pilots can use for crude navigation) and some legacy maritime/aviation distress frequencies
MHMagnetic HeadingAircraft heading relative to magnetic north
MSLMean Sea LevelMeasures an aircraft's altitude above the average level of the ocean, providing a fixed and consistent reference point for navigation and air traffic control regardless of the terrain below
NDBNon-Directional BeaconA ground-based radio transmitter that broadcasts signals in all directions, allowing an aircraft's Automatic Direction Finder (ADF) to determine the bearing to the station for navigation
OBIOmni Bearing IndicatorA cockpit instrument that displays a pilot's aircraft position relative to a VOR (VHF Omnidirectional Range) navigation beacon
OBSOmni-Bearing Selector A rotatable cockpit control knob on an OBI that pilots use to select a specific magnetic course to or from a VOR station
RADRadialThe magnetic bearing FROM a VOR station
RBRelative BearingThe angle indicated by an ADF relative to the aircraft's nose
SHFSuper High Frequency (3 - 30 GHz)Crucial for modern weather radar, precision Microwave Landing Systems (MLS), and satellite data communications (SATCOM)
SRSlant RangeSlant range is the direct, diagonal line-of-sight distance between an aircraft and a ground station or radar, forming the hypotenuse of a right triangle created by the aircraft's altitude and its horizontal ground distance
TACANTactical Air NavigationA military radio navigation system that provides a pilot with both the direction (bearing) and distance (slant range) to a ground- or ship-based station
TBTrue BearingBearing referenced to true (geographic) north
THTrue HeadingAircraft heading relative to true (geographic) north
UHFUltra High Frequency (300 MHz - 3 GHz)UHF frequencies are primarily reserved for military aviation communications and advanced tactical systems due to their high data-carrying capacity and smaller antenna requirements
VARMagnetic VariationDifference between magnetic and true (geographic) north, same as magnetic declination
VHFVery High Frequency (30 - 300 MHz)VHF is the primary frequency band for civil aviation, utilizing line-of-sight propagation for crystal-clear short-to-medium-range voice communication with Air Traffic Control (ATC)
VLFVery Low Frequency (3 - 30 kHz)Historically used for backup global navigation (Omega system) and subterranean tracking
VORVHF Omnidirectional RangeA ground-based radio navigation system that sends out signals in all directions so pilots can find their exact magnetic bearing to or from a station
VOR/DMEVOR with DMECombined bearing and distance navigation facility
VORTACVOR+TACANPhysically combines a civilian VOR and a military TACAN transmitter into a single ground station that serves both civilian and military aircraft simultaneously
[TI-5x Emulator Screenshot]