My employer takes cost of living into account by multiplying your salary by the numbeo factor for where you live. Base salaries are all calculated for Cologne (HO) and then adjusted by the relative cost of living factor for your locale. (we're entirely remote)
Just like Wikipedia and many other information sources. Don't trust one source blindly, do your research and you'll be fine. It gives a good enough general indication. A comparison like this will always depend on too many factors to make it applicable to everyone in any case.
How much salary do you think should allocate to base and how much toward any location adjustments, in general?