Consider the width of the gate, posts, or wall plates and a 10mm space between each position and the gate when determining the gate size.