ForHosting KIT · Images

Estimate TIFF compression savings for LZW, ZIP, or none

This TIFF compression size calculator turns an uncompressed image size into a practical planning range for LZW, ZIP, or no compression.

● BetaFree · in your browser
Use it from WebAPIEmailTelegramApp soon

It reports the estimated output size alongside the likely savings in megabytes and percent. The calculation is deterministic and immediate, so it is useful when you need a storage or transfer estimate before encoding a batch. Because TIFF compression depends strongly on pixel content, the result is presented as a typical range rather than a guaranteed final size.

Start with the true uncompressed TIFF size

Enter the size the TIFF would occupy without compression, expressed in megabytes. This is the correct baseline because it represents the pixel data and TIFF structure before LZW or ZIP reduces repeated information. If you only have an already compressed file, its current size is not a reliable substitute: applying a second ratio to that value would usually understate the expected output. For a planned image, derive the baseline from pixel width, pixel height, samples per pixel, bits per sample, and the number of pages, then allow for TIFF metadata and layout overhead. For an existing workflow, the uncompressed size reported by an imaging application or encoder is usually the easiest input. The calculator accepts positive finite decimal values, so both small scans and large archival batches can be modeled. Keep the same definition of megabyte across your planning sheet and this estimate. The result is intended for capacity planning, upload forecasting, and comparison between methods, not as a byte-exact prediction of a particular encoder run.

Understand the LZW, ZIP, and none ranges

Choose the method your TIFF writer will use. LZW is modeled as producing roughly 45% to 75% of the uncompressed size, while ZIP is modeled as producing roughly 30% to 60%. Both are lossless methods, so these ranges describe storage reduction rather than a change in image quality. Selecting none returns exactly 100% of the supplied baseline and zero savings, which is useful as a control when comparing storage plans. The output gives a minimum and maximum estimated file size. It also reverses that interval into a conservative-to-optimistic savings range in both megabytes and percent. A lower output-size estimate corresponds to greater savings, while a higher output-size estimate corresponds to smaller savings. These fixed planning ratios make repeated calls reproducible and easy to audit. They do not inspect image pixels or imitate a particular TIFF library. The model therefore answers a budgeting question consistently while remaining honest about the variability of real lossless compression.

Use the estimate with the right safety margin

Treat the returned interval as a typical planning band, not a hard limit. Photographs, noisy scans, already optimized imagery, unusual bit depths, tiled layouts, multiple pages, embedded previews, color profiles, and extensive metadata can all move the final file outside the estimated range. Flat graphics, masks, diagrams, and documents with large repeated regions often compress more effectively than detailed photographic material. Encoder settings and predictor choices can also change the result even when the method name is the same. For storage procurement, use the upper end of the estimated-size range and add an operational margin for metadata, filesystem allocation, revisions, and growth. For bandwidth planning, multiply that conservative figure by the expected number of files and account for retries or replicated transfers. If exact sizing matters, encode a representative sample with the same software and settings that production will use, measure the observed ratios, and use those measurements for the final forecast. This calculator remains useful as an early, consistent comparison before such a sample exists.

Plan an archival migration

Estimate a conservative storage range before converting a large collection of uncompressed scans to lossless TIFF.

Compare encoder methods

Compare the typical LZW and ZIP ranges against an uncompressed baseline before selecting a production setting.

Forecast transfer volume

Turn per-file estimates into a bandwidth budget for uploads, replication, delivery, or backup jobs.

Is the estimated TIFF size guaranteed?

No. The result is a typical planning range because actual lossless compression depends on image content, TIFF structure, metadata, and encoder settings.

Does LZW or ZIP reduce image quality?

No. Both methods are lossless in TIFF, so decoded pixel values are preserved even though the stored file may be smaller.

What should I enter as the uncompressed size?

Use the TIFF size before compression, not the size of an existing compressed copy. Keep the megabyte convention consistent across your calculations.

Why does no compression return a range with equal values?

The none method applies a ratio of exactly 100%, so the estimated minimum and maximum both equal the supplied baseline and savings are zero.

What happens if I provide another compression method?

The request returns an invalid input error. The supported values are exactly LZW, ZIP, and none.

What does the API request cost?

Each API request costs $0.002. The same deterministic calculation can also run free in your browser.

Everything on this page is available programmatically. This section is for teams who want to wire it into their own systems; everyone else can just use the tool above.

POSThttps://api.kit.forhosting.com/image/tiff-compression-estimate

Prefer to automate it? One authenticated POST creates the task; the result comes back by webhook or a signed link. The same capability also runs here on the web, by email and from Telegram — and soon from our app too.

curl -X POST https://api.kit.forhosting.com/image/tiff-compression-estimate \
  -H "Authorization: Bearer $KIT_KEY" \
  -H "Content-Type: application/json" \
  -d '{"uncompressed_size_mb":250,"compression":"LZW"}'
{
  "uncompressed_size_mb": 250,
  "compression": "LZW"
}
{
  "task_id": "tsk_a1b2c3d4e5f6a1b2c3d4e5f6",
  "type": "image.tiff_compression_estimate",
  "status": "queued",
  "_links": {
    "result": "/tasks/tsk_…/result"
  }
}

The API is asynchronous: the call returns a task_id immediately and the result arrives by webhook. Polling is capped at 1 req/s per task.

Per request$0.002

Published price — no tokens, no invented credits. A failed task is never charged.

max_mb15
max_megapixels12
HTTPCodeMeaning
401unauthorizedMissing or invalid API key.
402insufficient_balanceYour balance doesn't cover the task price.
404unknown_typeThat task type doesn't exist.
429rate_limitedToo many requests. Use the webhook instead of polling.

Read the full KIT documentation →