Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
LABS
Glossary

Rarity Score

A Rarity Score is a numerical value assigned to an NFT, calculated based on the statistical scarcity of its combined trait attributes compared to the entire collection.
Chainscore © 2026
definition
BLOCKCHAIN METRICS

What is Rarity Score?

A quantitative metric used to assess the uniqueness and scarcity of individual items within a non-fungible token (NFT) collection.

A Rarity Score is a numerical value assigned to an NFT that quantifies its relative scarcity and uniqueness compared to other tokens in the same collection. It is calculated by analyzing the traits and attributes of the NFT, such as background color, clothing, accessories, or special features. The core principle is that traits with lower occurrence rates across the collection are considered rarer and contribute more to an item's overall score. This provides an objective, data-driven method to rank NFTs beyond subjective aesthetic appeal.

The calculation typically involves statistical methods like trait rarity and trait weighting. For a given trait (e.g., 'Hat: Crown'), its rarity is the inverse of its frequency: 1 / (Number of NFTs with that trait). An NFT's total Rarity Score is the sum of the rarity scores for all its individual traits. More advanced models may apply information content weighting or use Jaccard Distance to measure overall uniqueness. Platforms like Rarity Tools and Rarity Sniper have popularized these scoring methodologies, creating standardized leaderboards for major collections like Bored Ape Yacht Club and CryptoPunks.

Rarity Scores serve several key functions in the NFT ecosystem. For collectors and traders, they provide a primary metric for valuation, investment decisions, and portfolio management, often correlating with higher secondary market prices. For developers and analysts, these scores enable the creation of indices, derivatives, and lending protocols where NFTs are used as collateral. However, critics note that a high Rarity Score does not guarantee demand, as cultural significance, utility, and community perception also heavily influence an NFT's market value.

how-it-works
NFT METRICS

How is a Rarity Score Calculated?

A Rarity Score is a quantitative metric that ranks the uniqueness of an NFT within a collection, typically calculated by analyzing the statistical scarcity of its individual traits.

A Rarity Score is calculated by first identifying all the traits (attributes) and their corresponding rarities within an NFT collection's metadata. Each trait, such as 'Background: Galaxy' or 'Eyes: Laser', has a specific occurrence count. The rarity of a single trait is commonly expressed as its trait rarity, calculated as 1 / (Trait Occurrence / Total NFTs). For example, if only 10 out of 10,000 NFTs have 'Laser Eyes', that trait's rarity is 1 / (10/10000) = 1000. This value represents how many times rarer that trait is than a common one.

The overall Rarity Score for an NFT is then derived by aggregating the rarities of all its traits. The most prevalent method is the trait rarity sum model, where the score is the sum of the individual trait rarities: Score = Σ(Trait Rarity for each attribute). An NFT with multiple rare traits will have a significantly higher score. Alternative calculation models include the geometric mean or harmonic mean of trait rarities, which can mitigate score inflation from a single ultra-rare trait and provide a more balanced assessment of overall uniqueness.

Beyond basic summation, advanced calculations account for trait normalization and information content. Normalization adjusts scores so collections with different numbers of traits can be compared. The information content method, rooted in information theory, calculates score as -log2(Trait Frequency), measuring the 'surprise' or information value of each trait. A trait appearing in 1% of the collection contributes -log2(0.01) ≈ 6.64 to the score. This method is favored for its mathematical rigor in representing true statistical scarcity.

It is crucial to understand that a Rarity Score is a relative metric only meaningful within its specific collection, as each project's trait structure is unique. Furthermore, scores from different platforms (like Rarity Tools, Rarity Sniper, or Trait Sniper) may vary due to differences in their underlying calculation models, trait categorization, or handling of null values for missing attributes. Always verify the methodology used by the ranking platform you are consulting.

key-features
MECHANICS & UTILITY

Key Features of Rarity Scores

A Rarity Score is a quantitative metric that ranks NFTs within a collection based on the scarcity and desirability of their attributes. These scores are calculated using specific mathematical models to provide a standardized measure of uniqueness.

01

Trait Rarity Calculation

The foundation of a Rarity Score is the trait rarity of each attribute. This is calculated as 1 / (Trait Occurrence / Total NFTs). For example, if only 10 out of 10,000 NFTs have a "Laser Eyes" trait, its rarity value is 1 / (10/10000) = 1000. Rarer traits contribute more to the final score.

02

Aggregation Models

Individual trait scores are combined using a mathematical model. Common methods include:

  • Trait Rarity Summation: Simple sum of all trait rarity values.
  • Statistical Rarity (Rarity Score): Uses -log2(Trait Occurrence / Total NFTs) for each trait, then sums them. This model, popularized by platforms like Rarity.tools, emphasizes extreme rarity.
  • Average Rarity: Mean of trait scores, normalizing for NFT attribute count.
03

Normalization & Ranking

Raw scores are often normalized to create a more intuitive ranking. This can involve scaling scores to a 0-100 range or calculating a percentile rank. The final output is an ordinal ranking (e.g., #1, #2), allowing for direct comparison of NFTs within the same collection based on objective rarity.

04

Utility in Pricing & Discovery

Rarity Scores provide a data-driven heuristic for price discovery and collection exploration. They are a key input for:

  • Valuation Models: Often correlated with floor price premiums.
  • Trait Sniping: Identifying undervalued NFTs with rare, high-scoring traits.
  • Collection Curation: Filtering and sorting large collections to find rare items efficiently.
05

Limitations & Criticisms

While useful, Rarity Scores have notable limitations:

  • Trait Weighting: Models treat all traits equally, ignoring subjective desirability (e.g., a rare background may be less valuable than a rare character type).
  • Collection-Specific: Scores are only valid for comparison within a single collection's metadata schema.
  • Market Dynamics: They do not account for market sentiment, historical sales, or community trends, which are significant price drivers.
common-calculation-methods
RARITY SCORE

Common Rarity Calculation Methods

A Rarity Score is a numerical metric used to rank NFTs within a collection based on the scarcity of their attributes. Different mathematical models are used to calculate this score, each with distinct advantages and trade-offs.

01

Trait Rarity Ranking (Rarity Score)

The most common method, popularized by platforms like Rarity Tools. It calculates a score for each NFT by summing the rarity of its individual traits. The rarity of a single trait is calculated as 1 / (Trait Occurrence / Total NFTs). For example, if 10 out of 10,000 NFTs have a "Gold Background," its trait rarity is 1 / (10/10000) = 1000. The sum of all trait rarities is the NFT's final score.

02

Statistical Rarity (Jaccard Distance)

This method, used by platforms like OpenRarity, evaluates an NFT's overall uniqueness by comparing its set of traits to every other NFT in the collection. It calculates the Jaccard Distance, which measures dissimilarity. An NFT with a completely unique combination of traits will have a high distance score, even if its individual traits are not the rarest. This approach better captures the holistic uniqueness of an item.

03

Information Content (Trait Normalization)

This advanced method, sometimes called Trait Normalization, addresses a flaw in simple trait summing. It weights each trait's contribution to the final score based on the information content it provides. A trait that appears on 50% of NFTs provides little information (low weight), while a trait on 1% provides high information (high weight). This prevents common traits from inflating scores and provides a more statistically sound ranking.

04

Average & Harmonic Mean Rarity

Alternative aggregation methods to simple summation.

  • Average Rarity: Calculates the mean rarity of all traits (Sum of Trait Rarities / Number of Traits). This prevents NFTs with many common traits from ranking highly.
  • Harmonic Mean Rarity: Uses the harmonic mean of trait rarities, which is more sensitive to extremely low (rare) values. It strongly penalizes NFTs that have even one very common trait, emphasizing overall consistency of rarity.
05

Trait Count & Weighting

Some models incorporate the number of traits or apply custom weights.

  • Trait Count: A simple model where an NFT with more traits is considered rarer, though this is easily gamed by collections.
  • Weighted Traits: Collection creators or marketplaces can assign manual weight multipliers to certain trait categories (e.g., making "Background" worth 2x a "Hat"). This introduces subjectivity but allows for curated rarity based on community or artistic value.
COMPARISON

Rarity Score Platforms & Methodologies

A comparison of leading platforms and their core methodologies for calculating NFT rarity scores.

Feature / MetricRarity Sniper (Trait-Based)Rarity.Tools (Statistical Rarity)OpenRarity (Open Standard)

Core Methodology

Trait rarity summation

Statistical rarity (trait & overall)

Information theory (Jaccard Distance)

Open Source

Real-time Updates

Calculation Speed

< 1 sec per collection

< 2 sec per collection

< 5 sec per collection

Primary Metric

Rarity Score

Rarity Score

Rarity Score

Considers Overall Rarity

Standardized Across Platforms

API Access Tier

Paid

Paid

Free

limitations-caveats
UNDERSTANDING THE BOUNDARIES

Limitations and Important Caveats

While a powerful analytical tool, a Rarity Score is a synthetic metric with inherent limitations that users must understand to avoid misinterpretation and flawed decision-making.

A Rarity Score is a calculated metric, not an intrinsic property, meaning its value is entirely dependent on the underlying rarity model and the quality of the metadata it analyzes. Different platforms and tools (e.g., Trait Sniper, Rarity Tools) often employ distinct algorithms—weighting traits differently or using alternative statistical methods—which can produce conflicting scores for the same NFT. This lack of standardization means a score is only meaningful within the context of the specific model that generated it. Users should never treat a score as an absolute, universal truth.

The score's accuracy is fundamentally limited by its data inputs. Projects with sparse, incorrect, or intentionally manipulated metadata will produce unreliable scores. Furthermore, most models analyze traits in isolation, failing to account for desirable trait combinations or subjective aesthetic appeal that the market may value highly. A visually cohesive or historically significant NFT might have a middling algorithmic score but command a premium price, highlighting the gap between quantitative scoring and qualitative, community-driven value.

A critical caveat is that a high Rarity Score does not guarantee liquidity or market success. Market dynamics are driven by broader factors: overall collection floor price, community strength, utility, roadmap execution, and macro NFT trends. A highly rare item in a failing or abandoned project may have little to no demand. Therefore, a Rarity Score should be just one input in a broader investment analysis, not the sole deciding factor. It is a lens for viewing a collection's internal structure, not a crystal ball for its financial future.

Finally, scores can be gamed or become obsolete. Projects can introduce new traits or items post-mint, altering the rarity distribution and invalidating prior scores. Understanding these limitations is crucial for developers building on this data, analysts making recommendations, and collectors assessing value. The most effective use of a Rarity Score is as a comparative filter within a single collection under a consistent model, always paired with deeper, fundamental research into the asset and its ecosystem.

ecosystem-usage
RARITY SCORE

Ecosystem Usage and Applications

A Rarity Score is a quantitative metric that ranks the uniqueness of an NFT within a collection, typically calculated by analyzing the distribution of its traits. Its primary applications extend far beyond simple ranking, driving core functionalities in marketplaces, DeFi, and gaming.

03

Gaming & Metaverse Utility

In blockchain games and virtual worlds, an NFT's Rarity Score can directly translate to in-game power or access.

  • Enhanced Attributes: A character or item with rare traits (and thus a high score) may have superior stats, abilities, or speed.
  • Governance & Access: Rare assets often function as keys, granting entry to exclusive areas, special events, or increased voting power in DAOs governing the game world.
04

Trait Analysis & Collection Strategy

For collectors and analysts, Rarity Scores are a fundamental tool for portfolio management and investment strategy.

  • Trait Saturation Analysis: Identifying which traits are truly rare versus common within a collection.
  • 'Diamond Hand' Hunting: Finding undervalued NFTs with high rarity that the market may have overlooked.
  • Trend Spotting: Monitoring how the rarity premium for specific traits evolves over time across different market cycles.
06

Provenance & Authenticity Signals

While not a direct proof, a historically consistent Rarity Score can serve as a secondary signal of authenticity.

  • Forgery Detection: A counterfeit NFT minted outside the original contract will not have a verifiable, consensus-based Rarity Score from established providers like Rarity Sniper or Trait Sniper.
  • Historical Record: The score provides a permanent, on-chain-verifiable benchmark for an asset's attributes at the time of calculation.
DEBUNKED

Common Misconceptions About Rarity Scores

Rarity scores are a fundamental metric in NFT analysis, but their calculation and interpretation are often misunderstood. This section clarifies the most frequent points of confusion.

A rarity score is a quantitative metric that attempts to rank the relative scarcity of an NFT within its collection by algorithmically weighting the rarity of its individual traits. It is calculated by summing the inverse frequency of each trait, where a trait's rarity is typically defined as 1 / (Trait Occurrence / Total Supply). For example, if a "Gold Background" appears in 10 out of 10,000 NFTs, its contribution to an NFT's score would be 1 / (10/10000) = 1000. Trait normalization and weighting schemes (like trait rarity or information content) are then applied to prevent common traits from dominating the score.

RARITY SCORE

Frequently Asked Questions (FAQ)

Essential questions and answers about the Chainscore Rarity Score, a fundamental metric for evaluating the uniqueness and value of NFTs within a collection.

A Rarity Score is a numerical metric that quantifies the uniqueness of a Non-Fungible Token (NFT) within its collection based on the scarcity of its attributes. It works by analyzing the metadata of every NFT in a collection, calculating the rarity of each individual trait (e.g., 'Gold Background' or 'Laser Eyes'), and then summing these trait rarities using a specific mathematical model, such as the trait rarity model (1 / trait rarity) or statistical models. A higher score indicates a more statistically unique NFT. For example, an NFT with a '1 of 1' trait contributes a much larger value to its total score than an NFT with common traits possessed by 50% of the collection.

ENQUIRY

Get In Touch
today.

Our experts will offer a free quote and a 30min call to discuss your project.

NDA Protected
24h Response
Directly to Engineering Team
10+
Protocols Shipped
$20M+
TVL Overall
NDA Protected Directly to Engineering Team
Rarity Score: Definition & Calculation for NFTs | ChainScore Glossary