Comparative ranks and insignia of Star Trek are hierarchical titles and badges of office which appear in the science fiction universe of Star Trek presented here in a comparative manner. The ranks and insignia of Starfleet are based on the historic titles used by the United States Navy.