How to price a fence job: takeoff, labor hours, margin

A contractor's method for pricing fence work: build the takeoff, cost labor by hours, apply overhead and margin, then present the bid.