return rect in percentages