Subtracting two LSNs with pg_wal_lsn_diff gives a distance in bytes, which is how replication lag is measured.