Captain is a senior officer rank of the Royal Navy. It ranks above commander and below commodore and has a NATO ranking code of OF-5. The rank is equivalent to a colonel in the British Army and Royal Marines, and to a group captain in the Royal Air Force. There are similarly named equivalent ranks in the navies of many other countries.