SEO

Ranking: Mathematical Definitions and SEO Principles

Understand ranking through data collection and ordinal conversion. Explore tie-handling methods and search engine signals like PageRank and HITS.

368.0k
ranking
Monthly Search Volume
Keyword Research

Ranking orders items by their relative standing, creating a hierarchy where any two items compare as higher, lower, or equal. In SEO and marketing, this determines the visibility of web pages, keywords, and competitors within ordered lists. Your ranking position controls whether target audiences find your content before they find alternatives.

What is Ranking?

Mathematically, ranking is a weak order or total preorder, a relationship where items are arranged such that each is either "ranked higher than", "ranked lower than", or "ranked equal to" another. It is not necessarily a total order because two distinct objects can share the same ranking, creating ties. By reducing detailed measures to ordinal numbers, rankings make it possible to evaluate complex information according to specific criteria. In search applications, an Internet search engine may rank the pages it finds according to an estimation of their relevance, making it possible for the user quickly to select the pages they are likely to want to see.

Why Ranking matters

  • Visibility allocation: Search engines rank pages by estimated relevance to help users quickly select results, meaning your position determines if you capture attention or lose it to competitors.
  • Competitive intelligence: Business league tables rank companies by revenue, earnings, and key performance indicators such as market share, enabling rapid analysis of significant data without examining raw financial statements.
  • Statistical analysis: Ranked data commonly requires non-parametric statistics, allowing analysis of complex datasets when underlying distributions are unknown or irregular.
  • Operational scale: Modern SEO operates at massive scale, with SE Ranking maintaining a database of 5.4 billion keywords and 2.2 billion domain profiles across 188 country databases. Ranking systems reduce this complexity to actionable hierarchies.
  • Risk assessment: In finance, ranking indicates seniority in capital structure, determining payout priority during liquidation and informing investment decisions.

How Ranking works

The process follows a standard sequence:

  1. Data collection: Gather the set of items to be ordered (web pages, keywords, or business entities).
  2. Criteria application: Assign scores based on measurable attributes (hardness, relevance, revenue).
  3. Ordinal conversion: Transform scores into rank numbers (1st, 2nd, 3rd).
  4. Tie resolution: Apply specific strategies when items compare equal.

For search engines specifically, ranking operates through two distinct methodological approaches:

Query-independent ranking measures the estimated importance of a page independent of specific search terms. This relies on link analysis methods such as PageRank, the HITS algorithm, and TrustRank.

Query-dependent ranking measures the degree to which a page matches a specific query. This uses heuristics considering the number and locations of matches of query words on the page itself, in the URL, or in any anchor text referring to the page.

Types of Ranking

Tie-handling strategies

When two or more items compare equal, you must adopt a specific strategy for assigning rankings:

Standard competition ranking ("1224"): Items that compare equal receive the same ranking number, then a gap is left in the ranking numbers. The number of ranking numbers left out is one less than the number of items that compared equal. Thus if A ranks ahead of B and C (which compare equal), which are both ranked ahead of D, then A gets ranking number 1, B gets ranking number 2, C also gets ranking number 2, and D gets ranking number 4. This method is called "Low" by IBM SPSS and "min" by the R programming language.

Modified competition ranking ("1334"): The gap is left before the sets of equal-ranking items rather than after them. Each item's ranking number equals the number of items ranked equal to it or above it. In the same scenario, A gets 1, B and C get ranking number 3, and D gets 4, leaving position 2 empty. This method is called "High" by IBM SPSS and "max" by the R programming language.

Dense ranking ("1223"): Items that compare equally receive the same ranking number, and the next items receive the immediately following ranking number with no gaps. In the scenario, A gets 1, B and C get 2, and D gets 3. This method is called "Sequential" by IBM SPSS and "dense" by the R programming language.

Ordinal ranking ("1234"): All items receive distinct ordinal numbers, including items that compare equal. The assignment can be arbitrary but consistent (such as alphabetical ordering) to ensure stable results if the ranking is done multiple times. In computer data processing, this is also referred to as "row numbering".

Fractional ranking ("1 2.5 2.5 4"): Items that compare equal receive the same ranking number, which is the mean of what they would have under ordinal rankings. In the scenario, A gets 1, B and C each get 2.5, and D gets 4. This strategy has the property that the sum of the ranking numbers is the same as under ordinal ranking, making it useful for computing Borda counts and statistical tests. This method is called "Mean" by IBM SPSS and "average" by the R programming language.

Search engine ranking types

Query-independent ranking evaluates intrinsic page importance through link analysis.

Query-dependent ranking evaluates specific relevance to user queries through content matching.

Best practices

Use consistent tie-breaking rules. When applying ordinal ranking to tied items, incorporate consistent arbitrary attributes (such as alphabetical ordering of URLs or domain names). This ensures stable results if you regenerate rankings multiple times.

Balance query-independent and query-dependent optimization. Analyze both link authority signals (PageRank, TrustRank) and content relevance signals (anchor text, URL structure, on-page keyword matches). Focusing exclusively on one category leaves vulnerabilities in the other.

Group similar items meaningfully. When reporting to stakeholders, use tier lists or dense ranking systems to group similarly performing pages or keywords. This prevents over-interpretation of minor ordinal differences that may represent statistical ties rather than true performance gaps.

Account for subjectivity in composite indices. When using ranking methodologies based on multiple indices (like business league tables), acknowledge that adopted parameters may produce discrepancies with empirical observations, creating potential biases or paradoxes.

Common mistakes

Mistake: Assuming ranking is a total order. You treat all items as strictly ordered, ignoring that ties exist in weak order systems, leading to incorrect statistical analysis. Fix: Recognize that ranking allows for equivalence. Use non-parametric statistics designed for tied data.

Mistake: Random tie resolution without consistency. You assign distinct ordinal numbers to tied items differently across reporting periods. Fix: Implement arbitrary but consistent tie-breaking rules (e.g., alphabetical by domain) to enable valid time-series comparisons.

Mistake: Ignoring query-independent factors. You optimize only for query-dependent content matching while neglecting link analysis signals like PageRank and HITS. Fix: Dedicate resources to off-page authority building alongside on-page content optimization.

Mistake: Misinterpreting skipped numbers in reports. You see standard competition ranking numbers (1, 2, 2, 4) and assume a position is missing from the dataset rather than understanding the mathematical gap indicates ties. Fix: Verify which tie-handling strategy your analytics tool uses before drawing conclusions about competitive positioning.

Examples

Example scenario: A marketing team tracks 50 target keywords. Three URLs tie for what appears to be position 2. Using standard competition ranking, the positions record as 1, 2, 2, 4. Using fractional ranking for statistical analysis, the tied positions receive rank 2.5 each. The team uses fractional ranking when calculating Borda counts for content prioritization, ensuring the sum of ranks remains mathematically consistent.

Search engine mechanism: A page ranks highly because query-independent link analysis shows high authority via PageRank, while a competitor ranks well due to query-dependent heuristics matching anchor text and URL keywords to the specific search term.

Business intelligence: A consulting firm monitors industry competitors using league tables published by magazines, ranking firms by quarterly revenue and market share. This enables quick identification of market leaders without analyzing raw financial statements.

Content categorization: Content strategists use tier lists to categorize blog posts into tiers (S-tier, A-tier, B-tier) based on engagement metrics. This groups similarly ranked content for resource allocation decisions rather than maintaining strict ordinal lists of hundreds of articles.

FAQ

What is the difference between ranking and rating? Ranking establishes relative order between items (higher, lower, or equal), creating a hierarchy based on comparison. Rating assigns absolute values on a scale independent of other items. Ranking requires at least two items to establish position, while rating can exist in isolation.

How should I handle ties in rank tracking reports? Choose your tie-handling strategy based on your analytical needs. Use standard competition ranking ("1224") if you need to show true performance gaps behind ties. Use dense ranking ("1223") for continuous competitive sets where you want consecutive numbering. Use fractional ranking when you require the sum of ranks to equal ordinal ranking totals for statistical testing.

What makes search engine rankings change? Search engines use both query-independent methods (link analysis like PageRank, HITS, and TrustRank) and query-dependent methods (heuristics matching query words to page content, URLs, and anchor text). Changes in your backlink profile, alterations to your content, or modifications to how search engines weight these signals can shift your position.

Is a tier list the same as a ranking? A tier list is a specific type of ranking system that groups items into named tiers (such as S, A, B, C) rather than assigning unique ordinal numbers. It functions as a ranking by ordering tiers from best to worst, but allows quick grouping of similarly ranked items within each tier.

Why do some ranking systems skip numbers? Standard competition ranking leaves gaps after ties (1224), while modified competition ranking leaves gaps before ties (1334). These systems preserve specific mathematical properties: standard ranking ensures a competitor comes second if exactly one item scores better, while modified ranking ensures they come second if they score higher than all but one opponent.

Can two websites have the same Google ranking? Mathematically, ranking is a weak order that allows ties. While search result displays may use tie-breaking heuristics to determine which URL appears first, the underlying ranking algorithm can assign identical scores to multiple pages. Your analytics should account for the possibility of ties when measuring competitive position.

Start Your SEO Research in Seconds

5 free searches/day • No credit card needed • Access all features