← All Tools
𝚪

Root Page Calculator

Calculate the optimal number of root browse pages for your dataset using RIBA's square-root formula. Input your page count and bucket constraints to get the ideal tree structure.

Input

Maximum links per browse page (default 1,000)
Minimum links per browse page (default 100)

Results

Enter your page count and click Calculate.

API Access

Use this calculator programmatically via the BigDataSEO API:

curl -H "Authorization: Bearer bds_YOUR_KEY" \
  "https://bigdataseo.com/api/v1/riba-calculate?n=500000&minBucket=100&maxBucket=1000"
Python example
import requests

resp = requests.get(
    "https://bigdataseo.com/api/v1/riba-calculate",
    params={"n": 500000},
    headers={"Authorization": "Bearer bds_YOUR_KEY"}
)
data = resp.json()
print(f"Tier: {data['tier']}, Bucket: {data['bucketSize']}")
JavaScript example
const resp = await fetch(
  "https://bigdataseo.com/api/v1/riba-calculate?n=500000",
  { headers: { Authorization: "Bearer bds_YOUR_KEY" } }
);
const data = await resp.json();
console.log(`Tier: ${data.tier}, Bucket: ${data.bucketSize}`);