This browser has javascript turned off

This program will not work until Javascript has been enabled

Carabus Carabus is a genus of small ground beetles. Carabus violaceus is commonly found in the U.K. It's about an inch long, and is black with a violet sheen. I hope these calculators are useful to you. Please get in touch if you have any comments or improvements.

Rogers Javascript Programs for Amateur Radio

These programs are written in Javascript, and should work on most modern browsers released since 2000. If you have any problem, please let me know exactly which browser and OS you are using. The Javascript code is all bog standard so should not have any undesired effects on your computer.

If you can see the interface and enter data, but nothing happens, then it's possible that you have disabled Javascript on your computer. My programs might even tell you this! You can save the programs to your PC easily - just right-click in the window and select "Save Source" in most cases. Save as html code.

If there are any problems or suggestions, please contact me: Roger GØHZK


Distance Calculator

This is just a simple page to calculate distance and bearing between two IARU locators. Simply type them into the two locator fields, and click on the calculate button.

IARU locators were designed by radio amateurs as a simple, brief way of pinpointing their stations. A six-character locator refers to a unique area of 2.5 minutes of latitude and 5 minutes of longitude. The locator consists of two letters, two numbers, and another two letters, for example JN23RG. Eight and ten character locators may also be used, e.g. JN23RG39 and JN23RG39AW. These seldom used locators represent more precisely defined locations.

The Great Circle results are normally of interest to radio amateurs, the Rhumb Line is of interest to navigators.


Locator Calculator

Fill in any of the fields for NGR, Locator or Latitude-Longitude, and click on the appropriate button. If you enter NGR easting and northing, set the grid also. All the other fields, where appropriate, will be calculated.

NGRs can be for GB, Ireland, or the Channel Islands. They are transformed from the local datum to WGS84 before conversion to geographic and locator display. Similarly if a locator or WGS84 geographics are entered, the entry is transformed to the appropriate local datum before calculation of NGR data.

For full details of usage, please click here.


UTM Calculator

This is a simple tool to calculate between UTM, geographics, and IARU locator.

Fill in the appropriate fields, and click on the adjacent calculate button. Make sure you specify the name of the reference ellipsoid used when entering latitude and longitude or UTM.

All calculations based on a locator will result in answers based on the WGS84 ellipsoid, regardless of any selected ellipsoid. This is because the locator system is based on WGS84.

For more details on the use of this calculator, please click here.

Calculators Version 4.12 November 9, 2008. Line 899 corrected Jan 29 2014. V 4.13. Line 1108 corrected Jan 10th 2022