Percentage conversion and calculation