There are
330 mi
from Lancaster, CA to Oakley, CA
That's the driving distance. It would take 6 hours 21 mins to go from Lancaster, California to Oakley, California.
The flight distance (direct flight from Lancaster, CA to Oakley, CA) is 302.49 mi.
330 mi = 530.87 kms