Lets say i have a collection named testsize, using below command will give me > db.testsize.totalSize() 200 total size in bytes of the data in the collection plus the size of every indexes on the collection. For more information read official mongodb doc here.