Calculate Cosmos DB RU throughput requirements with per-container workload estimates, autoscale settings, and indexing policies.
Output will appear here...Estimates Cosmos DB RU/s needs from document size, point-read/write rates, and indexing policy, using the documented baseline that a 1KB point read costs roughly 1 RU while a 1KB point write costs roughly 5 RU, scaling roughly linearly with document size beyond that. The indexing policy choice materially changes write cost: switching from the default consistent indexing to none removes per-write indexing overhead entirely (at the cost of losing the ability to query on anything but ID), which is the single most impactful lever in this calculator for a write-heavy workload that only ever does point reads/writes and never queries by non-ID fields.
The calculator computes readRUPerOp as roughly 1 RU times the document size in KB (rounded up), and writeRUPerOp as roughly 5 RU times size times an indexing-policy-dependent multiplier (consistent indexing adds the most overhead, none adds none), multiplies each by the given ops/second, sums to a total RU/s, then computes both a provisioned cost (rounded up to the nearest 100 RU/s, billed monthly) and a serverless cost (billed per RU consumed) to recommend whichever pricing model comes out cheaper for the given workload profile, flagging when the result falls under the 400 RU/s provisioned minimum or over roughly 1M RU/s where partitioning strategy needs review.
None indexing policy is a real cost lever but only safe for containers genuinely queried exclusively by ID, verify your actual query patterns before switching, a container that later needs to add even one filtered query breaks under none indexing.
The RU-per-KB baseline this calculator uses is for simple point operations, any workload doing cross-partition queries, joins, or stored procedures will see meaningfully higher real-world RU consumption than this estimate predicts, treat the output as a floor, not a ceiling.
The 400 RU/s provisioned minimum applies per container (or per database if using database-level shared throughput), a calculated estimate well under 400 RU/s is a strong signal to seriously evaluate serverless pricing instead of assuming the provisioned minimum is a rounding error.
Was this tool helpful?
Disclaimer: This tool runs entirely in your browser. No data is sent to our servers. Always verify outputs before using them in production. AWS, Azure, and GCP are trademarks of their respective owners.