calc user commission by rate