Standard closet door size?

Because there are no building codes governing closet sizes, there is no such thing as a standard size closet door. There isn't even a standard style. Some are prehung, others are sliding doors and still others are bi-fold doors. Some common sizes for bi-fold style doors are 24 inches by 80 inches and 30 inches by 80 inches.