You measure the opening of the window and then add 15"(40cm) which is the rule of thumb. This also depends on the fullness you want your curtain to have.