psutil's virtual_memory().used counts only active+wired on macOS, while .percent is defined as (total - available) / total. Showing one next to the other produced readings like 10.1/24GB (68%). Derive the used figure from total - available so both describe the same thing; it also lines up with Activity Monitor's Memory Used.