This exact computation runs on every read in SQLite (pager page lookup), PostgreSQL (8 KiB page addressing), and the Linux page cache (4 KiB pages). SSD firmware performs it in the flash translation layer for every I/O, and getting alignment right from it is why databases direct-IO in block multiples.