Peerage of England
The ranks of the English peerage are, in descending order, Duke, Marquess, Earl, Viscount, and Baron. While most newer English peerages descend only in the male line, many of the older ones (particularly older baronies) can descend through females. Under English inheritance law all daughters are co-heirs, so many older English peerage titles have fallen into abeyance between various female co-heirs.
Peerages in the United Kingdom
The place of a peer in the order for gentlemen is taken by his wife in the order for ladies, except that a Dowager peeress of a particular title precedes the present holder of the same title. Children of peers (and "suo jure" peeresses) also obtain a special precedence. The following algorithm may be used to determine their ranks:
Over time, however, various offices were inserted at different points in the order, thereby varying it.