Around the equator we have 360 longitudinal lines, and from the north to the south pole we have 180 latitudinal lines. Together this gives us 64800 segments or tiles covering earth. The form of the squares becomes more rectangular the longer north we come. At the poles they are not square or even rectangular at all, but end up in elongated triangles.
Each degree square is designated by a full reference to the main degree square. S01E010 is a reference to a square in Tanzania. S means the square is south of equator, and E means it is East of the zero meridian. The numbers refer to longitudinal and latitudinal degree.
A square with no sublevel reference is also called QDGC level 0. This is square based on a full degree longitude by a full degree latitude. The QDGC level 0 squares are themselves divided into four.
A  B 
C  D 
To get smaller squares the above squares are again divided in four  giving us a total of 16 squares within a degree square. The names for the new level of squares are named the same way. The full reference of a square could then be:
The number of squares for each QDGC level can be calculated with this formula:
number of squares = (2^{d})^{2}
(where d is QDGC level)
Table showing level, number of squares and an example reference:
Level  Squares  Example 
0  1  S01E010 
1  4  S01E010A 
2  16  S01E010AD 
3  64  S01E010ADC 
4  256  S01E010ADCB 
5  1024  S01E010ADCBD 
6  4096  S01E010ADCDBA 
To decide which name a specific longitude latitude value belongs to it is possible to use the code provided on this Github project:
Download shapefiles datasets here:

