UpdatelyUpdately
Free developer tool

CUID2 collision calculator

Shorter IDs are nicer in URLs, until two collide. Set the length and how many IDs you expect, and see the odds of a duplicate.

2 to 32; the default is 24

Every id you'll ever create in that table

Distinct IDs

1.62 × 1037

50% chance of a duplicate at

4.74 × 1018 IDs

Your chance of a duplicate

1 in 3.24 × 1025

Under one in a million: safe.

Chance of any duplicate, by length

Length10 thousand IDs1 million IDs100 million IDs10 billion IDs
81 in 40,75421.76% (1 in 5)100.0%100.0%
101 in 5.28 × 1071 in 5,28284.9%100.0%
121 in 6.85 × 10101 in 6.84 × 1060.15% (1 in 685)100.0%
161 in 1.15 × 10171 in 1.15 × 10131 in 1.15 × 1091 in 114,959
201 in 1.93 × 10231 in 1.93 × 10191 in 1.93 × 10151 in 1.93 × 1011
241 in 3.24 × 10291 in 3.24 × 10251 in 3.24 × 10211 in 3.24 × 1017
321 in 9.15 × 10411 in 9.15 × 10371 in 9.15 × 10331 in 9.15 × 1029

How to use it

  1. Set the CUID2 length you use (24 is the default; createId({ length }) changes it).
  2. Enter how many IDs you’ll ever create.
  3. Read the probability, and check the table for the shortest safe length.

Questions

How is it calculated?+

A CUID2 starts with a letter (26 options) followed by base-36 characters, so a length-L ID has 26 × 36^(L−1) values. The birthday bound gives the chance of any duplicate among n IDs: 1 − e^(−n(n−1)/2N).

What probability is safe?+

A common bar is under one in a million over the table’s lifetime. If a collision would be costly, keep a unique index so a duplicate fails loudly.

Social listening

Every mention on LinkedIn, X and Reddit, for $49 a month.

Track your brand, competitors and category across LinkedIn, X/Twitter, Reddit, Bluesky and Hacker News. AI scores each post for relevance and sentiment, and the ones worth acting on reach Slack, Discord or email.

Watch: Social listening walkthrough

The cheapest LinkedIn + X + Reddit monitoring with AI scoring and Slack alerts

Updately$49/mo
KWatch.io$79/mo
Octolens$199/mo
Brandwatch$800+/mo
  • 10-day free trial
  • Paid plans: 10-day free trial · $39/mo billed annually

Run it from Claude

Add Updately as a custom connector in Claude (or ChatGPT, Cursor, any MCP client) and work in plain English. MCP setup guide

https://api.updately.ai/mcp

You ask Claude

“What did people say about our competitors on Reddit and X this week? Draft replies to the three best threads.”

“Updately gave us control of what we were doing as opposed to giving the keys and letting them go. But most importantly, the reason why we joined Updately was because it was a third of the price of the agency that we were using to do a similar type of outreach.”
SZSam ZSales Lead, 10X Management
“If you don't have an active, engaged LinkedIn pipeline and you have a clearly defined ICP and persona, you need to add Updately to your tech stack immediately to supplement your sales.”
JRJordan RichardsFounder @ Kaster
“I found myself looking at some of the messages that it's created and thinking like, wow, where did it find this? This went really deep to find information that you could never do in just a cursory search.”
TOTim O'NeilCRO, VP Sales & BizDev