Rear admiral is a flag officer rank used by English-speaking navies. In most European navies, the equivalent rank is called counter admiral.
Rear admiral is usually immediately senior to commodore and immediately below vice admiral. It is usually equivalent to the rank of major general in armies. In the U.S. Navy and some other navies, there are two rear admiral ranks.
The term originated in the days of naval sailing squadrons and can trace its origins to the Royal Navy.