Gematria is the practice of coding letters into numbers. There are many ciphers in gematria. There are four simple base ciphers that are most commonly used.
The first base cipher is called English Ordinal. In this cipher, A=1, B=2, all the way up to Z=26.
The second base cipher is called Full Reduction. In this cipher, A=1, all the way to I=9. Since J is the tenth letter, it is reduced to 1. This continues until the last letter Z.
The third base cipher is called Reverse Ordinal. This cipher is like English Ordinal but it is reversed. So Z=1, Y=2, all the way down to A=26.
The last base cipher is called Reverse Reduction. This cipher is like Full Reduction but it is reversed and reduced into a single digit.
These ciphers are not all the ciphers of gematria. There are many more that are used in sports, news, media, our lives, including the four base ciphers.