percentage, rate and base formula