There are
798 mi
from Layton, UT to Farmersville, CA
That's the driving distance. It would take 14 hours 9 mins to go from Layton, Utah to Farmersville, California.
The flight distance (direct flight from Layton, UT to Farmersville, CA) is 510.17 mi.
798 mi = 1,284.09 kms