Log volume & cost calculator
How many gigabytes do your logs come to, what does a per-GB vendor charge for them, and how much disk would the same data take on your own server? Change any number and the answer follows.
How the numbers are worked out
Events a day is events per second × 86,400. Volume is events × average size, in decimal gigabytes (109 bytes) because that is the unit vendors bill in. A month is 30 days.
The SaaS bill follows the model most log vendors use: a price per gigabyte ingested, plus a price per million events kept searchable for a retention period. The defaults are Datadog's published list price for Log Management as checked on 9 October 2026 — $0.10 per ingested GB, and $1.70 per million events indexed with 15-day retention, billed annually ($2.55 on demand). Longer retention, other tiers and negotiated discounts change it; put in your own contract's numbers.
The self-hosted figure is disk, not money: the raw volume you would hold at any one time, divided by the compression ratio. Logs compress very well in a columnar store, because a column of timestamps, severities or service names is mostly repetition. Five to fifteen times is common; the real figure depends on how varied your messages are.
How to measure your own inputs
For the rate, count a day of lines and divide by 86,400 — wc -l over a day's log file is
enough. For the size, divide that file's bytes by its lines: wc -c then wc -l.
If you already run ClickHouse, it will tell you the compression ratio of a table outright:
SELECT
formatReadableSize(sum(data_uncompressed_bytes)) AS raw,
formatReadableSize(sum(data_compressed_bytes)) AS on_disk,
round(sum(data_uncompressed_bytes) / sum(data_compressed_bytes), 1) AS ratio
FROM system.columns
WHERE table = 'otel_logs'
Why the two answers grow differently
A per-GB bill grows in a straight line with every log line you add, which is why teams end up sampling, dropping debug logs or shortening retention to keep the invoice down. Disk grows too, but at a tenth of the rate and in steps you buy once. That difference is the reason Bilis exists: OpenTelemetry logs, traces and metrics on your own box, with no per-gigabyte line on any bill.
More free tools
- Log levels, mapped Syslog, PSR-3, Python, Log4j, slog, pino, .NET and Ruby levels side by side, on the OpenTelemetry severity scale.
- Traceparent decoder Decode, validate or generate a W3C Trace Context traceparent header.
- Timestamp converter Unix seconds, milliseconds, microseconds and nanoseconds to dates and back — OTLP and ClickHouse formats included.
These tools are made by Bilis: self-hosted logs, traces and metrics that you and your coding agent read alike, stored on your own box in OpenTelemetry's formats. See what it does or read the docs.