For outside the frame – on the wall: the idea here is usually to cover the window completely. Measure 2-5” out from each side of the window trim. The total curtain rod length should be about 12” longer than your window width.