Under ideal driving conditions, a driver should maintain a minimum following distance of:

To help you maintain a safe following distance, you should follow the Three-Second-Plus rule. If the vehicle in front of you passes an object three seconds before your vehicle reaches the same object, you are likely driving with a safe following distance. Extend your following distance any time conditions are less than ideal.
DMV Writen Test