Global warming potential (GWP) is a measure of how much heat a greenhouse gas traps in the atmosphere over a specific time period, relative to carbon dioxide (CO2). It is expressed as a multiple of warming caused by the same mass of (CO2). Therefore, by definition CO2 has a GWP of 1. For other gases it depends on how strongly the gas absorbs thermal radiation, how quickly the gas leaves the atmosphere, and the time frame considered.
For example, methane has a GWP over 20 years (GWP-20) of 81.2 meaning that, a leak of a tonne of methane is equivalent to emitting 81.2 tonnes of carbon dioxide measured over 20 years. As methane has a much shorter atmospheric lifetime than carbon dioxide, its GWP is much less over longer time periods, with a GWP-100 of 27.9 and a GWP-500 of 7.95.