Calculation involving percentages for a given amount.