The width of a gate is measured between the two pillars. For a car to pass, allow at least 3 metres in general, and rather 3.50 to 4 metres if the drive has a bend or if wider vehicles visit. A gate that is too narrow makes every manoeuvre harder, so it is better to plan a little wider from the start.
The height depends on the privacy you want and your town's planning rules, often set out in the local urban plan. It must also stay consistent with the fence. The pillars must be solid and plumb, because they carry the full weight of the gate. Finally, ground sloping inwards can stop a swing gate from opening, so the design must be adapted or a sliding gate chosen.
That is why we always take the measurements ourselves, on site. A few centimetres out is enough to spoil the fit.
Precise measurements guarantee a gate that opens and closes perfectly for years.
Think about the future when setting the dimensions. A larger vehicle, a trailer or a camper van may one day need to pass through your entrance. Adding fifty centimetres of width at the manufacturing stage is simple, whereas widening an existing opening means rebuilding the pillars. A well-sized gate stays practical for decades.