This paper reports a method for converting version 5 of the GTAP database into a global SAM that is stored in GAMS data exchange (GDX) format or in a Header Array (HAR) format. The focus of attention is on the generation of a SAM representation of the GTAP database that is fully consistent with the GTAP model; as such the resultant SAM can be readily used to calibrate a version of the GTAP model that had been coded in GAMS. The GAMS code used to generate the SAM representation of the GTAP database is provided as a GAMS model library – this code has been tested with versions 5.0 and 5.3 of the GTAP database