Log storage

Type bytes per entry, count, compression, and days. 200, 100000, 100 and 7 give 133,51 MB. 500, 100000, 20 and 30 give 286,10 MB. 50, 10000, 100 and 1 give 0,48 MB. An estimate, not live logs.

Input data

Wolumen logów
Additional options (optional)

Results

Enter data and click Calculate.

A size estimate from four fields. Compression 100 means no compression (100% remains). The GB price sits on cloud storage cost.

How it works

Log storage in this calculator multiplies an entry by count and days. 200 B, 100000, compression 100 and 7 days give 133,51 MB (Szac. w okresie (7 dni)). 500 B, 100000, 20 and 30 give 286,10 MB (Szac. w okresie (30 dni)). 50 B, 10000, 100 and 1 give 0,48 MB (Szac. w okresie (1 dni)). This is not live logs.

Fields: log-size, log-count, log-compression-pct, log-retention-days. Daily = (B × count) / 1024² × (compression/100). Then times days. 100 means 100% of bytes remain. 20 means 20% remain. No replicas and no indexes.

133,51 MB does not come from Elasticsearch. 286,10 MB is not a Loki volume. 0,48 MB is not a file from logrotate. You type four numbers. The calculator does not read /var/log.

Cloud storage cost next door multiplies GB by a price. Compression ratio divides before by after. Here 200 B and 7 days stay 133,51 MB, the estimate alone.

Type 200, 100000, 100 and 7, then Calculate. The period result is 133,51 MB (Szac. w okresie (7 dni)). A comma in 200,5 works. Zero count zeroes MB. This is not a log agent.

200, 100000, 100 and 7 give 133,51 MB. 500, 20 and 30 give 286,10 MB. 50, 10000 and 1 day give 0,48 MB. Another retention at 200 changes 133,51 MB.

Formula

MB/day = (B × count) / 1024² × (compression/100); period = daily × days. 100 = no compression. An estimate, not live logs.

How to use

  1. Type 200 B, 100000 entries, compression 100, and 7 days.
  2. Click Calculate. The period is 133,51 MB (Szac. w okresie (7 dni)).
  3. 500, 20% and 30 days give 286,10 MB. 50, 10000 and 1 day give 0,48 MB.
  4. A size estimate, not live logs.
  5. Price those GB on cloud storage cost.

200 B, 100000 and 7 days = 133,51 MB

An estimate from four fields. 200 B, 100000 and 7 days give 133,51 MB. This is not live logs.

Log
Typed B and count. 200 B over 7 days leaves 133,51 MB. Not /var/log.
storage
The period result. 500 B, 20% and 30 days give 286,10 MB.
estimate
B times count times days. 50 B and 1 day leave 0,48 MB. Not an agent.

Examples

Example 1

  • 200 B
  • 100000 / day
  • compression 100
  • 7 days

133,51 MB (Szac. w okresie (7 dni))

How much space at 200 B, 100000 and 7 days? 133,51 MB (Szac. w okresie (7 dni)). An estimate, not live logs.

Example 2

  • 500 B
  • 100000 / day
  • compression 20
  • 30 days

286,10 MB (Szac. w okresie (30 dni))

What about 500 B, 20% and 30 days? 286,10 MB (Szac. w okresie (30 dni)).

Example 3

  • 50 B
  • 10000 / day
  • compression 100
  • 1 day

0,48 MB (Szac. w okresie (1 dni))

What about 50 B, 10000 and 1 day? 0,48 MB (Szac. w okresie (1 dni)).

Common questions

What about 200 B, 100000 and 7 days?

133,51 MB (Szac. w okresie (7 dni)). A size estimate, not live logs.

What about 500 B, 20% and 30 days?

286,10 MB (Szac. w okresie (30 dni)). 20% of bytes remain.

What about 50 B, 10000 and 1 day?

0,48 MB (Szac. w okresie (1 dni)).

Is 100 strong compression?

No. 100 means 100% of bytes remain, so no compression.

Does the calculator read /var/log?

No. Four fields you type. No agent and no Loki.

Do replicas enter 133,51 MB?

No. The formula does not multiply by replicas or indexes.

Does a comma in 200,5 work?

Yes. 200,5 B at the same count gives a different MB.

Where do I price those GB?

On cloud storage cost. Here the MB estimate stays.

Does zero entries count?

Yes as 0 MB. A blank field is a number error.

Knowledge sources

The calculator counts bits, bytes or throughput from your numbers. Below are SI and bit definitions (NIST).

Page updated in 2026.