When stopped behind a motorcycle, drivers should allow the rider a distance of at least:

Stop a safe distance behind motorcyclists at intersections, signals, or crossings. A full vehicle length is recommended to help prevent impact with the motorcycle should your vehicle be hit from the rear. In dry conditions, motorcycles can stop more quickly than cars, so being aware and alert at all times can help prevent a collision.
DMV Writen Test