Language 
~ Size 
Date 
Author 
Description 
Excel Spreadsheet 
322 KB 
Revised April 13th 2015 
Noah Hassler 
Excel implementation. Does not require .dll or outside software, calculations done entirely in Microsoft Excel. 
DLL 
117 KB 
Revised April 13th 2015 
Steven M. Shope 
DLL implementation. Uses the IGRF12 rather than the WMM. 
Java 
16 KB 
Revised January 15th 2015 
John St. Ledger 
Java implementation. 
Visual Studio C++ 
467 KB 
Revised January 2010 
Garry Petrie 
GeoMag 3.0, the Geographic Magnetic Calculator, is a tool to determine UTM Coordinates and the
Magnetic Declination that correspond to a longitude/latitude location. 
C++ 
2 MB  Revised January 10th 2012 
Charles Karney 
GeographicLib is a C++ library of geographic routines. The MagneticModel class reports the magnetic field for a given time and a position. The class currently supports WMM2010, EMM2010 and IGRF11. Provided by Charles Karney. 
Visual Basic 
190 KB  Revised November 15th 2011 
Fred Neudecker 
Visual Basic class version of GeoMag 7.0 (IGRF) for desktop applications. This class was written in Visual Studio 5.0. 
Python 
197 KB  Revised January 14th 2010 
Christopher Weiss 
A python version of the WMM algorithm 
Java Script 
 Revised April 6th 2012 
Christopher Weiss 
The WMM algorithm in Javascript. 
Java 
 Revised May 15th 2012 
Orekit 
Orekit is a free lowlevel space dynamics library. The GeoMagneticField class calculates the magnetic field for a given time and position. The class currently supports WMM and IGRF. 
Objective C
  Revised January 10th 2013 
Stephen Trainor 
A simple ObjectiveC wrapper for the WMM. Allow the model to be easily used in iOS. 
Matlab
 92.6 KB  Revised April 24th 2014 
David F. Crouse 
A matlab implementation of a spherical harmonic calculator. 




