PHP calculate percentages
04:47 21 Mar 2015

I need some help. It's a simple code, but I don't have idea how to write in down. I have the numbers:

$NumberOne = 500;
$NumberTwo = 430;
$NumberThree = 150;
$NumberFour = 30; 

At all this is:

$Everything = 1110; // all added

Now I want to show what percentage is for example $NumberFour of everything or what percentage is $NumberTwo of $Everything. So the "market share".

php percentage