Database Size

Calculate Database Size instantly with the exact formula and a worked example.

Database Size

Number of rows
Average row sizebytes
Index overhead%
Row growth per month
Database size
6.0536GB
1 GB = 1024³ bytes; excluding logs (WAL) and backupsCalculate Database Size instantly with the exact formula and a worked example.
Data without indexes
4.657GB
Indexes
1.397GB
In 12 months
9.686GB

More about: Database Size

What it calculates

The “Database Size” calculator computes Database size in GB from 4 parameters: number of rows, average row size (bytes), index overhead (%), row growth per month.

A converter between units of measure, currencies, and sizes.

Example calculation

With parameters Number of rows = 10,000,000, Average row size = 500 bytes, Index overhead = 30 %, Row growth per month = 500,000 the result is 6.05 GB (1 GB = 1024³ bytes; excluding logs (WAL) and backups).

How to use

  1. Enter number of rows, average row size, index overhead and row growth per month — each field above is adjustable with a slider.
  2. Database size (GB) is calculated automatically as you type.
  3. Check the worked example below to see the formula applied to real numbers.
  4. Copy the result or bookmark this calculator.

Related calculators

FAQ

How is Database Size calculated?
The Database Size calculator computes Database size (in GB) from number of rows, average row size, index overhead, row growth per month. Enter your values above and the exact formula is applied instantly; a worked example with real numbers is shown below.
Is the Database Size calculator free?
Yes. It is completely free, needs no signup, runs entirely in your browser, and sends no data to any server.

More calculators in this category

Explore related free tools

PSI to kPa ConverterATM to Bar ConverterHP to kW ConverterkW to HP ConverterWatts to kW ConverterKcal to kJ ConverterkJ to Kcal ConverterkWh to kJ ConverterMinutes to Seconds ConverterHours to Minutes ConverterDays to Hours ConverterDegrees to Radians Converter