Notes N9SSA's Miles Per Watt Calculator

http://www.qsl.net/n9ssa/mpwcalc.html

Popularized by my friends at:

QRP Amateur Radio Club International
QST, June 2000 issue, Page 31
The Grid Locator and Field Hunting newsgroup

Usage -

Note: This webpage uses JavaScript. Your browser must have JavaScript active to run this calculator.

Enter the longitude and latitude of two points in the standard +- format. For example: Chicago is Latitude: 41.880833, Longitude: -87.62785. Optionally, you can enter the gridsquare (2 4 or 6 characters) and the calculator will automatically convert to Latitude and Longitude. Values for South and West are to be negative. Enter your power out in watts, and press the button!

If you want to see a map of your two points, press the Show Map button.

You can get coordinates for any site on earth through MapBlast! or coordinates of a callsign via BuckMaster. These, and other useful links are in the Tools section of the calculator. For ease of use with the calculator, I suggest you open tools with a RIGHT mouse-click, and "Open in New window", that way you can copy and paste back to the calculator window.

If you are really desperate to find a location, try: NIMA They have a database of tons of towns across the whole world.

Notes on Great Circle Distances -

The problem of determining the great circle distance on a sphere has been around for hundreds of years, as have both the Law of Cosines solution (not recommended) and the Haversine Formula:

Haversine Formula (from R.W. Sinnott, "Virtues of the Haversine", Sky and Telescope, vol. 68, no. 2, 1984, p. 159):

R = 6367000
dlon = lon2 - lon1
dlat = lat2 - lat1
a = (sin(dlat/2))^2 + cos(lat1) * cos(lat2) * (sin(dlon/2))^2
c = 2 * atan2( sqrt(a), sqrt(1-a) )
d = R * c

Where R is the radius of the earth. I used earthradius=6367000 meters. The earth actually varies from 6336 km to 6399 km.
This will give mathematically and computationally exact results. The intermediate result c is the great circle distance in radians. The great circle distance d will be in meters.

I based my distance calculator on the above formula. While not exact, it should give you results that will be within a couple of miles.

For further discussion, refer to http://www.census.gov/cgi-bin/geo/gisfaq?Q5.1.

Notes on Gridsquare Conversion -

This program will break down a gridsquare entry and convert it to Latitude and Longtitude. You can enter 2, 4 or 6 characters, and the calculator will select the center point of the grid (two chars), subgrid (4 chars), or sub-sub grid (6 characters).

Note that this program will takes lat/lon input literally. That is 52 degrees, 20 minutes is 52.3334. 52.3333 will resolve a different gridsquare than 52.3334. (No biggie). To experment, try 52.3333lat by 5lon and 52.3334lat by 5lon. Note how they come up with J022mh and J022mi respectively.

For further information on this, check out:
http://www.arrl.org/locate/gridinfo.html

Maps -

I found two sources for maps:
http://mapweb.parc.xerox.com/map (but has gone defunct in 2002)
http://tiger.census.gov

If you know of any other mapping sites that let you send coordinates, plus marks, let me know!

Version History -


1.0 - Original release, including gridsquare to lat/lon conversion, MPW calculation, and map button.
1.1 - Added tool bar. Added Lat/Long to gridsquare converstion.
1.2 - Added input error checking, clean up code.
1.3 - Fixed remote broken links, including parc.xerox.com mapping

A special note of thanks...


Thanks to all my ham buddies that helped out with ideas, code, comments, suggestions and testing: Darrell Kindred of Indio, W2IOL, N0IT, WB0JNR, W8EL, N4EUK, W9IP and N1BWT

Please direct comments to N9SSA@arrl.net.
Last update 3.Oct.02

Home