4.7" is the screen diagonal. The total height, including the top and bottom border is listed as 5.44". This is according to Apple. http://www.apple.com/iphone-6/specs/
EDIT: maybe you could try drawing a screen with a 5.44" height and 4.7" diagonal. Euclid will not be your friend.