Here you can do this by some matematically formula..!
You can do this by 20 divided by 100 and then multiplay by 50, you can get the exact percentage.
Although try this cost split through which you can easily calculate the all cost splitting among the giving number of people.
Good Luck!!!