Width measurement for a single swing gate:
How to calculate the size of a required single swing gate?
Measure the width between the gate posts at the top and at the bottom, take the smaller value of the two measurements and this will be your available clearance width (mm).
Clearance width (mm) - 40