Worked example
Example: Illustrative 16 channels at 100 S/s. The inputs, in the units selected above:
| Input | Value |
|---|---|
| Channels | 16.000 - |
| Samples per second per channel | 100.00 Hz |
| Bytes per sample | 4.0000 - |
| Overhead (timestamps, headers) as a share of the data | 25.000 % |
| Logging period | 30.000 d |
| Storage capacity (GB) | 32.000 - |
Applying the formula below gives:
| Result | Value |
|---|---|
| Data rate (kB/s) | 8.0000 |
| Data per day (MB) | 691.20 |
| Data for the logging period (GB) | 20.736 |
| Time to fill the storage | 46.296 d |
Open this example in the calculator and change any input.
Formula
\(R = n_c f_s b (1 + k_o), \quad D = R\,t, \quad t_{full} = \frac{C}{R}\)
Variables
| Symbol | Meaning | SI unit |
|---|---|---|
| \(n_c\) | Channels | - |
| \(f_s\) | Samples per second per channel | 1/s |
| \(b\) | Bytes per sample | - |
| \(k_o\) | Overhead (timestamps, headers) as a share of the data | - |
| \(t\) | Logging period | s |
| \(C\) | Storage capacity (GB) | - |
| \(R\) | Data rate (kB/s) | - |
| \(D_{day}\) | Data per day (MB) | - |
| \(D\) | Data for the logging period (GB) | - |
| \(t_{full}\) | Time to fill the storage | s |
Method and standards
Data logging.
Where it is used
- Sizing loggers, historians and condition-monitoring storage.
- Choosing sampling rates for long campaigns.
Common mistakes
- Mixing bits and bytes.
- Ignoring overhead for many small files.
Assumptions and limits
- Constant sampling; no compression.
References
- Data volume arithmetic
Questions and answers
How long will 32 GB last?
For 16 channels at 100 samples/s with 4-byte samples and 25 % overhead, about 46 days.
Does a 32 GB card hold 32 × 2³⁰ bytes?
No, card makers use 10⁹ bytes per GB, and the file system takes a little more.
What do the defaults represent?
An illustrative logger with 16 channels at 100 samples/s, 4 bytes each, 25 % overhead, on a 32 GB card for 30 days.
Method and article reviewed by FireCAD engineering on 17 November 2026. Every result is checked against an independent calculation on each release: how we verify our calculators.