A commander in the Royal Navy is above the rank of Lieutenant-Commander , below the rank of Captain .
In the Russian Navy the equivalent rank to commander is `` captain of the second rank '' .