PG
Ceph PG Calculator Placement Group Sizing Tool
ceph osd pool create ...
Ceph Docs →

Ceph PG Calculator

Stop guessing at placement group counts. Enter your OSD topology and get mathematically correct pg_num and pgp_num values for every pool — with the exact CLI commands to create them.

Nova / OpenStack
Replicated + EC
CRUSH Aware
Multi-pool
Capacity Planning
Free · No Login
Cluster Topology
OSD Count // total in cluster
Planned Pools // total
Replication / Protection // default for pools
size=2
size=3
size=4
Erasure Code

Target PGs per OSD // Ceph recommends 100–200
Total Data (TB) // expected
OSD Capacity (TB) // each
CRUSH Failure Domain
host
rack
datacenter
osd
Pool Names & Weights // name · weight · type
PG Sizing Rules
Formula:(OSDs × target_pgs_osd) / rep_factor
Round:Always round UP to next power of 2
Per pool:Total PGs × pool_weight_fraction
Minimum:8 PGs min; 32 recommended per pool
pgp_num:Always set equal to pg_num
Sweet spot:100–200 PGs per OSD total
EC overhead:(k+m)/k × raw storage consumed
Memory:~10 MB RAM per OSD per 100 PGs
Documentation
Calculation Results
configure your cluster topology on the left
and click CALCULATE PG COUNTS
to generate pool sizing and CLI commands