in the royal navy, it is junior to commander and senior to the naval rank of lieutenant. royal navy ranks are matched up with royal air force ranks. in this case the equivalent rank would be a squadron leader.