How do we calculate the flat values?

We already know that there is already a conversion system when looking at character's base stats. But how about things like masteries, and other character abilities with flat values? I will need a formula to work out the percentage of these things.
0