How to work out how much you should charge when you're freelancing

I’ve heard a lot of different theories, but this one seems to be the most succinct