Back to calculator Use calculator
Medical ImagingGenerated accuracy model review: 2026-05-06
X-Ray Study Storage Calculator accuracy and testing
This page documents how Calwarden builds trust for this calculator: source notes, regression-style default tests, limitations, assumptions, unit handling, rounding, and visible change history.
Formula source
- Stored GB = images * rows * columns * bits / 8 / 1024^3 * (1 + overhead percent / 100) / compression ratio.
Test cases
Default input regression check
Generated from the checked-in default inputs and calculate function.
Inputs
- Images / Frames: 3
- Rows: 3,000
- Columns: 2,500
- Bit Depth: 16 bits
- Compression Ratio: 2.5 :1
- Metadata Overhead: 3%
Expected outputs
- Study Size: 0.02 GB
- Study Size: 17.68 MB
- Uncompressed Size: 0.04 GB
- Compression Savings: 0.03 GB
Known limitations
- This page documents the checked-in calculator logic and does not certify results for every real-world edge case.
- Use the result as a planning estimate unless the calculator page states a stricter purpose.
Assumptions
- Pixel data dominates storage size.
- Compression is modeled as one effective ratio.
- This calculator does not inspect actual DICOM files and stores no imaging data.
Unit handling
- Images / Frames accepts numeric values.
- Rows accepts numeric values.
- Columns accepts numeric values.
- Bit Depth accepts values in bits.
- Compression Ratio accepts values in :1.
- Metadata Overhead accepts values in %.
- Study Size is displayed in GB.
- Study Size is displayed in MB.
- Uncompressed Size is displayed in GB.
- Compression Savings is displayed in GB.
Rounding rules
- Number displays use up to 2 decimal places in the calculator UI.
- Input precision follows configured step values where provided.
Version history
1.0.0 - 2026-05-06
Generated accuracy and testing page from the current x-ray-study-storage-calculator calculator definition.
Change log
2026-05-06
Published default regression test documentation and metadata fallbacks for X-Ray Study Storage Calculator.
Calculator transparency
Accuracy pages are generated from checked-in calculator definitions and can be upgraded with curated review metadata over time.