According to code, what is the maximum length above grade that deck may be built without requiring a guard rail?

According to code, what is the maximum length above grade that deck may be built without requiring a guard rail?