Home  /  Calculators  /  Locator and azimuth

Calculators · QTH locator

locator and azimuth calculator

Give me two Maidenhead locators and I’ll calculate the distance and azimuth — which way to turn your beam and how far the other station is. I’ll show a compass rose, the short and long path, and convert locator to coordinates and back.

distance + azimuth compass rose short / long path locator ↔ coordinates
Map with SQ5CBA’s QTH marked
my QTH: KO02ME · Warsaw

Two locators

// enter locators (4, 6 or 8 characters) — the rest is automatic

 
 
Azimuth · antenna direction
— 
from KO02ME to IO91  ·  distance — km

Coordinates → locator

// got a position from GPS/map? convert it to a locator

—
8-character locator (most precise). Copy as many characters as you need — usually 6 is enough.
!

Azimuth is a true bearing (to true north), not magnetic. If you aim the antenna with a compass, add the magnetic declination (in Poland about +6–7°E in 2026). For omnidirectional antennas and working through repeaters azimuth doesn’t matter — it matters for directional (Yagi) antennas and DX.

Under the bonnet

How I calculate it

I convert the locator to coordinates, then use spherical geometry formulae — the same ones that navigation uses.

Equations

  • Maidenhead locator → coordinates: the first letter pair is the field (20° longitude × 10° latitude), the digit pair is the square (2° × 1°), the second letter pair is the subsquare (5′ × 2.5′). I take the centre of the cell.
  • Distance (orthodrome): the haversine formula on a sphere of radius R = 6371 km — the shortest route over the Earth’s surface (great circle).
  • Initial azimuth: θ = atan2( sin Δλ · cos φ₂ , cos φ₁ · sin φ₂ − sin φ₁ · cos φ₂ · cos Δλ ), normalised to 0–360°. That’s the direction your antenna points at the start of the path.
  • Back azimuth I compute separately from the other point (on a sphere it is not simply +180°).
  • Long path: the opposite way round the globe — azimuth +180°, distance = 40,030 km − short path. Sometimes propagation goes the “long way round”.
QTH map — illustration for the technical section the locator is a shorthand for coordinates — 6 characters ≈ a 9 × 5 km square
✓

What azimuth is for in practice: you point a Yagi at a DX, aim at an EME window (Moon-bounce), track a satellite or simply check where your signal “went”. Distance is handy for awards, contests and judging whether a contact counts as DX.

Related calculators

You know the direction — build and hook up the antenna

Calculate the antenna dimensions for your chosen band and see how much power the coax will eat.

Antenna dimensions → Cable calculator