eDPI (effective DPI) is your mouse DPI multiplied by your in-game sensitivity. 800 DPI at 0.4 in Valorant is 320 eDPI; 400 DPI at 0.8 is also 320, and both aim the same.
eDPI only compares inside one game, because each game turns a different angle per count. 280 eDPI in Valorant is the same turn as 891 eDPI in CS2. To compare across games, use cm/360.