When to use this calculator
Plan log payload storage from event rate, event size and retention. Indexes, replicas, metadata, rate peaks and reserved capacity are not included.
Explore the storage & compression calculators for other questions in this topic. For a related calculation, use the Storage Saving Percentage Calculator: Find the percentage of original data size saved after compression.
Understand the log retention storage result
Plan log payload storage from event rate, event size and retention. For the example inputs Log event rate (events/s) = 100, Average event payload (bytes) = 500, Retention days = 30, Compression ratio = 1, the result is 129.6 GB decimal. Indexes, replicas, metadata, rate peaks and reserved capacity are not included.
PUTTING IT INTO PRACTICE
Log Retention Storage: a worked example
The values below are an illustrative example, not a recommendation. Replace them with measurements or assumptions that match your question.
| Input | Example value |
|---|---|
| Log event rate (events/s) | 100 |
| Average event payload (bytes) | 500 |
| Retention days | 30 |
| Compression ratio | 1 |
| Result | 129.6 GB decimal |
- Check the input labels and enter the example values above.
- Apply the relationship: retained payload GB = events/s × bytes/event × days ×86400/compression ratio.
- The result is 129.6 GB decimal, rounded for display.
How to interpret your result
Indexes, replicas, metadata, rate peaks and reserved capacity are not included. Capacity arithmetic uses the labelled units and ideal layout. Filesystem metadata, reserved space and actual device behavior may reduce usable capacity.
The result is expressed in GB decimal. Indexes, replicas, metadata, rate peaks and reserved capacity are not included.
Frequently asked questions
Which assumptions matter for log retention storage?
Indexes, replicas, metadata, rate peaks and reserved capacity are not included. Capacity arithmetic uses the labelled units and ideal layout. Filesystem metadata, reserved space and actual device behavior may reduce usable capacity.
When is the log retention storage calculator useful?
Plan log payload storage from event rate, event size and retention. Indexes, replicas, metadata, rate peaks and reserved capacity are not included.
How do I use the log retention storage calculator?
Enter log event rate (events/s), average event payload (bytes), retention days, compression ratio. The result updates automatically. Use the units shown beside each input; the example values illustrate the method.
Which formula does this calculator use?
retained payload GB = events/s × bytes/event × days ×86400/compression ratio.
What should I check before using the result?
Indexes, replicas, metadata, rate peaks and reserved capacity are not included. Capacity arithmetic uses the labelled units and ideal layout. Filesystem metadata, reserved space and actual device behavior may reduce usable capacity.
How are results rounded?
Scalar numbers display up to six decimal places, with scientific notation for very large or small values. Text, fraction, date and schedule outputs use the format described on the tool. Intermediate calculations use JavaScript floating-point arithmetic. Keep sensible precision for your measurements.
Further reading
For background on this topic, see RFC Editor: base encodings and storage arithmetic ↗. This is a topic reference, not an external review or endorsement of this tool.
Calculators Map editorial process · Updated · Methods and limitations