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

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