---
title: "How to compute the size of a site?"
url: "https://academy.jahia.com/sites/academy/contents/knowledge-base/2025/how-to-compute-the-size-of-a-site.html"
last_updated: 2026-10-01
---

# How to compute the size of a site?

Developer Jahia 8.2

## Question

How to compute the size of a site? Do you have a Groovy script that can calculate the weight of a Jahia site?

## Answer

A community module, [JCR Statistics](https://store.jahia.com/contents/modules-repository/org/jahia/community/jcr-stats.html), will allow you to obtain a flamegraph displaying the size in bytes of the binaries.

In case you need to obtain also the number of nodes of a site, you can also execute a request like this one in the JCR Query Tool (**JAHIA_URL/modules/tools/jcrQuery.jsp**):

```
select count as [rep:count()] from [nt:base] as n WHERE ISDESCENDANTNODE(n, '/sites/digitall')
```
