Plan on a straight, clear run along the fence line about one and a half times the opening. The tail is about half the opening, so a 20 foot opening takes a 30 foot gate that rolls back about 30 feet.