Should you measure the door or the opening?
Measure both, but trust the opening. The opening is the space inside the door lining (the timber frame the door hangs in). It tells you what will actually fit.
Your existing door is a useful guide, but it can mislead you. Doors are often trimmed at the bottom to clear a new carpet, or planed down at the sides because they stuck. If you order a new door based only on the old one, it can come out smaller than the opening needs. Measure the old door first, then check it against the opening.
If there is no door in the opening at all, measure from the inside face of one side of the lining to the other, and from the floor to the underside of the lining head.
