Skip to section navigationSkip to content

Open Source Software

Contact Us:

NASA's Goddard Space
Flight Center

Code 102
8800 Greenbelt Road
Greenbelt, MD 20771


OSI Certified

The Technology Transfer and Partnerships Office
General Mission Analysis Tool (GMAT)

The General Mission Analysis Tool (GMAT) is a space trajectory optimization and mission analysis system developed by NASA and private industry in the spirit of the NASA Vision. GMAT contains new technology and is a testbed for future technology development.

General Mission Analysis Tool (GMAT) Goals

GMAT is an open source, platform independent trajectory optimization and design system designed to model and optimize spacecraft trajectories in flight regimes ranging from low Earth orbit to lunar applications, interplanetary trajectories, and other deep space missions. The system supports constrained and unconstrained trajectory optimization and built-in features make defining cost and constraint functions trivial so analysts can determine how their inclusion or exclusion affects solutions.
The system also contains initial value solvers (propagation) and boundary value solvers and efficiently propagates spacecraft either singly or coupled. GMAT's propagators naturally synchronize the epochs of multiple vehicles and shorten run times by avoiding fixed step integration or interpolation to synchronize epochs of spacecraft.
A user can interact with GMAT using either a graphical user interface (GUI) or script language that has a syntax similar to the MathWorks' MATLAB® system. All of the system elements can be expressed through either interface and users can configure elements in the GUI and then view the corresponding script, or write script and load it into GMAT.
Analysts model space missions in GMAT by first creating resources such as spacecraft, propagators, and optimizers to name a few. These resources can be configured to meet the needs of specific applications and missions. After the resources are configured they are used in the mission sequence to model the motion of spacecraft and simulate events in a mission's time evolution. The mission sequence supports commands such as Nonlinear Constraint, Minimize, Propagate, Function Calls, Inline Math, and Script Events among others.
The system can display trajectories in space, plot parameters against one another, and save parameters to files for later processing. The trajectory and plot capabilities are fully interactive, plotting data as a mission is run and allowing users to zoom into regions of interest. Trajectories and data can be viewed in any coordinate system defined in GMAT, and GMAT allows users to rotate the view and set the focus to any object in the display. The trajectory view can be animated so users can watch the evolution of the trajectory over time.

Project Goals

The goal of the GMAT project is to develop new space trajectory optimization and mission design technology by working inclusively with ordinary people, universities, businesses, and other government organizations, and to share that technology in an open and unhindered way. GMAT is a free and open source software system: free for anyone to use in development of new mission concepts or to improve current missions, freely available in source code form for enhancement or further technology development.

Functional Goals


Evolvability Goals


Software Packages

This software is released under the terms and conditions of the NASA Open Source Agreement (NOSA) Version 1.1 or later.
General Mission Analysis Tool (GMAT) NOSA

GMAT Software Package

NASA logo - link to
  • Page Last Updated: October 24, 2019
  • Page Editor: Adil Anis
  • NASA Official: Darryl Mitchell