The medieval royal ranking started with the king or queen who ruled the realm. Beneath them came the royal family: the queen consort, the heir and the king’s other children. These royal people ranked above every noble, though the exact titles depended on the country and the period.
The monarch
A medieval king held the highest authority in his kingdom. He granted land to his most important tenants, who owed him military service and other duties in return. Those tenants were the core of the medieval feudal hierarchy, and the monarch sat at the top of it.
A queen who ruled in her own right, called a queen regnant, was rare in medieval Europe, and her right to rule was not always accepted.
The queen consort
A queen consort was the wife of a reigning king. Her rank came from her marriage rather than from an office of her own. She usually held the title of queen, but she did not rule in her own right. Some consorts had real influence through their households, their advice and their family ties.
The heir to the throne
The heir was the next person in line to the throne. In England, the heir was given the title Prince of Wales. The title dates from 1301, when Edward I gave it to his son. It was conferred by the king rather than passing automatically. In France, the heir was called the dauphin.
Princes, princesses and other royal relatives
Other children of the king were called princes and princesses. Kings often gave their sons lands and titles, including dukedoms, to hold for the crown. A royal prince usually ranked above a duke who was not of royal blood.
Royal relatives such as uncles, cousins and brothers also held rank because of their blood. The closer a relative was to the throne, the higher they stood.
How royal rank compared with real power
Royal blood placed a person above the nobility, even when a noble was richer or more powerful. In practice, a strong noble could have more influence than a weak king, so rank on paper did not always match real power. Power rested on land and money, which is why medieval wealth mattered as much as a title. This gap is one reason the medieval English history of the later Middle Ages includes many clashes between kings and their nobles.
Summary
In short, the king or queen stood at the top, the queen consort and heir came next, and royal children ranked above the ordinary nobility. Titles varied between countries, so the order is a guide rather than a universal rule.