A little over 250 miles. About a 4 hour trip with average traffic getting out OC and onto I-15. Once you're past Barstow, the traffic really cooks. Any speed less than 80 will get you driven off the road.
Definitely a worthy side trip. It's really an amazingly beautiful place.