Lots of great info already posted in this thread, but here is an explanation of how the value is calculated. I feel like it is posted in other locations as well, but this is the best one I could currently find.
I think it is easiest to use the calculator that was created for & by the community and plug it into whatever platform you are using.