It is around 150km from Hue to Hoi An it means you will spend around 3 hours for this trip without stop. But the beautiful views on its way are the reason you should spend more time.
One of example is: Lap An lagoon will be the first stop driver will offer you to stop. In some lucky moments, you can capture the stunning view of the lagoon with white clouds lay on mount.