This isn’t really a fair comparison considering that there’s only a certain type of vinyl graded for use in fence construction, but there are various wood species that vary considerably in price which can be used to construct a fence. It intends entirely on the application, and your budget, of course.