my previous post was for the whole window, frame and all. If you're just replacing the windown units themselves (like on a double hung) you measure to the outsides of the wood.
Topic History: