Below is a simple guide for measuring for a new door.
Step 1. First measure the height of the rough opening on both sides (shown as H in the image).Step 3. You should also measure the thickness of the door which will be fitted(Aluminum door and window no need)