CGAffineTransform t = CGAffineTransformMakeScale(1.0 / parentRect.size.width,1.0 / parentRect.size.height); CGRect unitRect = CGRectApplyAffineTransform(rect,t);