Database Index Size Estimator
Estimate how much storage your database index will consume by selecting column types, row count, and index type.
Index Configuration
10% (fewer splits)
100% (compact)
Configure your index and click Estimate Index Size to see results.
Total Index Size
—
Size per Row
—
Breakdown
| Component | Bytes / Row | Total |
|---|
Copied!
Summary
Estimate how much storage your database index will consume by selecting column types, row count, and index type.
How it works
- Select your database engine (PostgreSQL, MySQL InnoDB, or SQL Server).
- Add one or more indexed columns and choose their data types.
- Enter the expected number of rows in the table.
- Choose the index type and fill factor.
- Click Estimate to see the projected index size with a breakdown.
Use cases
- Capacity planning before deploying a new index on a large table.
- Comparing B-tree vs. Hash index storage cost for a given column.
- Estimating disk requirements for a new database schema.
- Justifying index consolidation or removal based on storage cost.
- Teaching database internals and explaining index overhead.
- Benchmarking storage impact of composite vs. single-column indexes.
Frequently Asked Questions
Last updated: 2026-06-11 ·
Reviewed by Nham Vu