Cointime

Download App
iOS & Android

How to Calculate the Number of Possible Unique NFTs in a Generative NFT Set

Hint: It’s pretty simple math, but let’s take a look.

  Photo by Raghav Modi on Unsplash


Iget this question all the time: “I’m doing a generative set with 250 traits. How many possible combinations are there?” Thankfully, the answer is pretty straightforward, although we need a little more information than that question indicates.

Basically, we just need to know the number of PROPERTIES (aka ASSET CLASSES), and the number of individual TRAITS within each one. For example, let’s imagine a set of cats with the following stats:

  • PROPERTY 1: BACKGROUNDS; # of background TRAITS: 25
  • PROPERTY 2: BASE BODY; # of base body TRAITS: 30
  • PROPERTY 3: SHIRTS; # of shirt TRAITS: 40
  • PROPERTY 4: HAIR STYLE; # of hair style TRAITS: 30
  • PROPERTY 5: HATS; # of hat TRAITS: 30
  • PROPERTY 6: EYES; # of eye TRAITS: 25
  • PROPERTY 7: WHISKERS; # of whisker TRAITS: 20
  • PROPERTY 8: NECKLACE; # of necklace TRAITS: 20
  • PROPERTY 9: CAT TOYS; # of cat toy TRAITS: 30

Okay, as you can see, there are 250 traits spread out over 9 properties.

The formula here is actually pretty simple. You basically just (1) take the number of items in each property and (2) multiply them all together. In other words:

According to Google, that works out to 8.1e+12, or 8.1 x 10¹², which is 8,100,000,000,000 (or, in word form: eight trillion one hundred billion).

So, that’s clearly indicative of a set with a crazy amount of possible variety, which is a good thing.

Just keep in mind when designing generative sets that the number of properties really matters. For example, what if there were just TWO properties — backgrounds and cat bodies, each with 125 possibilities? In that case, the math would be just 125 X 125, or just 15,625 possibilities. What if there were THREE with, say, 83, 83, and 84? That’s 83 X 83 X 84, or 578,676 possible combinations.

So, it’s not just the # of traits, but the # of traits AND the number of properties. What I’ve shown above, with 9 individual properties, is fairly typical of what I see in working on sets (full-time for about a year and a half now). So if you’re just beginning to plan out your generative set artwork, the above setup would be a great starting point. :-)

Comments

All Comments

Recommended for you

  • Iranian Navy Launches 88th Wave of 'True Commitment 4' Operation

    On March 31, the Islamic Revolutionary Guard Corps (IRGC) of Iran announced that at dawn today, the IRGC Navy initiated the 88th wave of the 'True Commitment 4' operation, delivering significant strikes against multiple U.S. and Israeli targets in the Persian Gulf and surrounding areas. The announcement stated that the IRGC Navy used ballistic missiles to hit an Israeli container ship in the central waters of the Persian Gulf. In a subsequent series of coordinated strikes, a U.S. Marine Corps outpost along the UAE coast, an anti-drone system deployed by the U.S. Fifth Fleet near Bahrain's Manama Airport, and two advanced early warning radars located at a U.S. military base in Kuwait were all precisely and destructively targeted by drones. The announcement emphasized that the Strait of Hormuz is now completely under Iran's strict control, and any hostile provocation will face retaliation from missiles and drones. (CCTV International News)

  • Iran's Revolutionary Guard Claims Attack on Ship in Gulf Region

    According to Tasnim News Agency: The Iranian Revolutionary Guard stated, 'We have attacked a ship in the Gulf region.' (Jinshi)

  • Dubai Releases Regulatory Framework for Crypto Derivatives

    On March 31, the Dubai Virtual Assets Regulatory Authority (VARA) released version 2.1 of the 'Trading Platform Service Rules Manual,' which clarifies the methods for licensed crypto companies to offer crypto derivatives trading in Dubai. The framework covers requirements such as customer suitability, leverage and margin controls, asset segregation, disclosure standards, and regulatory intervention authority. This framework applies to licensed Virtual Asset Service Providers (VASP) operating in Dubai.

  • 360 Smart Agent Discovers High-Risk Vulnerability in OpenClaw, Potentially Affecting 170,000 Instances Worldwide

    On March 31, according to Guoshi Direct, it was reported by 360 Digital Security Group that its independently developed 360 multi-agent collaborative vulnerability mining system has discovered a high-risk vulnerability in the OpenClaw platform—specifically, a local file exposure vulnerability due to MEDIA protocol prompt injection bypassing tool permissions. This vulnerability has been officially confirmed by the National Information Security Vulnerability Database (CNNVD) and affects over 50 countries and regions worldwide, with more than 170,000 publicly accessible OpenClaw instances facing security risks. The core risk of this vulnerability lies in the fact that the MEDIA protocol operates at the output post-processing layer, allowing it to completely bypass platform tool policy controls. Even if agents disable all tool calls, attackers can initiate attacks solely based on basic member permissions in group chats, directly stealing sensitive information from servers, which could easily lead to subsequent cyberattacks.

  • Tehran Hit by New Wave of Attacks, Multiple Explosions Reported

    On March 31, according to CCTV News, at 5:51 AM local time on March 31, the Iranian capital Tehran was hit by a new round of airstrikes. Multiple explosions occurred in Tehran.

  • A-shares Trading Volume Exceeds 1 Trillion Yuan

    On March 31, the trading volume of the Shanghai and Shenzhen stock markets exceeded 1 trillion yuan, a decrease of over 40 billion yuan compared to the same time the previous day.

  • BTC Surpasses $68,000

    Market data shows that BTC has surpassed $68,000, currently priced at $68,028, with a 24-hour increase of 2.12%. The market is experiencing significant volatility, so please ensure proper risk management.

  • Spot Gold Rapidly Rises, Surpassing $4,570

    Spot gold has seen a short-term increase, rising by 1.3% and surpassing $4,570 per ounce.

  • Trump Willing to End Iran War Despite Closure of Strait of Hormuz

    On March 31, the Wall Street Journal reported that U.S. government officials revealed President Trump has indicated to his aides that he is willing to end military actions against Iran even if the Strait of Hormuz remains largely closed. This move could extend Tehran's firm control over the waterway and leave the complex task of reopening the strait for later. Recently, Trump and his aides assessed that reopening this crucial passage would push the conflict beyond the four to six-week timeline he has set. Trump has decided that the U.S. should achieve the primary goal of weakening Iran's navy and missile stockpiles while gradually ending current hostilities and applying diplomatic pressure on Iran to restore free trade. Officials stated that if this approach fails, Washington will pressure its European and Gulf allies to lead efforts to reopen the strait. They noted that Trump could also opt for a military solution, but this is not his current priority.

  • US Stock Index Futures Rise as Reports Suggest Trump Willing to End War Without Opening Strait

    On March 31, US media reported that Trump is willing to end the war without opening the strait, leading to a short-term rise of 1% in the three major US stock index futures, with the Nasdaq currently up 0.5%. WTI crude oil quickly erased its intraday gains and turned negative, while gold saw a slight increase, with its gains expanding to 0.7%.