Depending on your occupancies, and if a building is sprinklered, the maximum travel distance varies. This quick guide will help you determine the maximum allowable travel distance for your use.
You can find examples of all the occupancies here: Part 3 - Appendix A