Page Table Calculator (v0.4.0): x86 32-bit paging x86 paging uses a 2-level page table. The page is indexed by 12 bits, which results in a page-size of 4096 bytes. Each page table is indexed by 10 bits and has 2^10 == 1024 entries. Each page-table entry is 32-bit in size. Hence, a page table occupies the size of a page. Huge pages have a size of 2^22 == 4 MiB. address : 0xdeadbeef (user input truncated to 32-bit) address (bits): 0b11011110101011011011111011101111 level 2 bits : 0b11011110100000000000000000000000 level 1 bits : 0b00000000001011011011000000000000 level 2 entry index : 890 (number of entry) level 2 entry offset: 0x0de8 (offset into the page table for that entry) level 1 entry index : 731 level 1 entry offset: 0x0b6c