Formula to calculate percent of unit to assing resources